diff --git a/.gitignore b/.gitignore index e69de29..5b53cfc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ioping-0.8.tar.gz diff --git a/ioping.spec b/ioping.spec new file mode 100644 index 0000000..f1f2171 --- /dev/null +++ b/ioping.spec @@ -0,0 +1,37 @@ +Name: ioping +Version: 0.8 +Release: 2%{?dist} +Summary: Simple disk I/O latency monitoring tool +License: GPLv3+ +URL: https://code.google.com/p/ioping +Source0: https://ioping.googlecode.com/files/%{name}-%{version}.tar.gz + +%description +This tool lets you monitor I/O latency in real time. It shows disk latency in +the same way as ping shows network latency. + +%prep +%setup -q +# Do not strip debuginfo symbols. +sed -i 's|install -s |install |g' Makefile + +%build +make CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %{?_smp_mflags} + +%install +make install PREFIX=%{_prefix} DESTDIR=%{buildroot} + +%files +%doc changelog README +%{_bindir}/ioping +%{_mandir}/man1/ioping.1* + +%changelog +* Fri Jan 03 2014 Christopher Meng - 0.8-2 +- Do not strip debug symbols. + +* Tue Dec 31 2013 Christopher Meng - 0.8-1 +- Update to 0.8 + +* Fri Nov 09 2012 Christopher Meng - 0.6-1 +- Initial Package. diff --git a/sources b/sources index e69de29..f4bb884 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7c91be09eef8c91199d7abfd1f4e673c ioping-0.8.tar.gz