1 Summary: SAR, MPSTAT and IOSTAT for Linux
2 Summary(pl): SAR, MPSTAT and IOSTAT dla Linuxa
7 Group: Applications/System
8 Group(de): Applikationen/System
9 Group(pl): Aplikacje/System
10 Source0: http://perso.wanadoo.fr/sebastien.godard/%{name}-%{version}.tar.bz2
11 Source1: %{name}.crond
13 Patch0: %{name}-opt.patch
14 URL: http://perso.wanadoo.fr/sebastien.godard/
17 BuildRequires: gettext-devel
18 BuildRequires: sh-utils
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 SAR, MPSTAT and IOSTAT for Linux.
25 SAR, MPSTAT and IOSTAT dla Linuxa.
38 n" | /bin/sh build/Configure.sh
40 OPT_FLAGS="%{rpmcflags}" %{__make}
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{/etc/{cron.d,rc.d/init.d},/var/log/sa}
48 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/sysstat
49 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/sysstat
51 gzip -9nf CHANGES CREDITS README *.sample TODO
56 rm -rf $RPM_BUILD_ROOT
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
62 %attr(750,root,root)%{_libdir}/sa*
63 %attr(755,root,root) %dir /var/log/sa
64 %attr(640,root,root) /etc/cron.d/sysstat
65 %attr(754,root,root) /etc/rc.d/init.d/sysstat