summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miƛkiewicz2005-10-02 15:25:55 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit8ae41c3d573b922f5bc51383bc1316241452aa31 (patch)
treeafb4c689947fb03bbd3491c0aee5b802db288d65
parent8dd93674562ab7fe85c73725419810cf974376b2 (diff)
downloadionice-8ae41c3d573b922f5bc51383bc1316241452aa31.zip
ionice-8ae41c3d573b922f5bc51383bc1316241452aa31.tar.gz
- tool for setting I/O nice levels in kernels >= 2.6.13
Changed files: ionice.spec -> 1.1
-rw-r--r--ionice.spec32
1 files changed, 32 insertions, 0 deletions
diff --git a/ionice.spec b/ionice.spec
new file mode 100644
index 0000000..91713a2
--- /dev/null
+++ b/ionice.spec
@@ -0,0 +1,32 @@
+Summary: I/O priorites manager
+Name: ionice
+Version: 0.1
+Release: 0.20051002.1
+License: GPL
+Group: Applications
+Source0: http://ck.kolivas.org/apps/%{name}.c
+# Source0-md5: 4342fadac30504c86c8db7beefe01995
+URL: http://sammy.net/~sammy/hacks/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+I/O priorites manager.
+
+%prep
+%setup -q -c -T
+
+%build
+%{__cc} %{rpmcflags} %{rpmldflags} %{SOURCE0} -o %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*