]>
Commit | Line | Data |
---|---|---|
ae943c3e AM |
1 | Summary: SAR, MPSTAT and IOSTAT for Linux |
2 | Summary(pl): SAR, MPSTAT and IOSTAT dla Linuxa | |
3 | Name: sysstat | |
df309865 | 4 | Version: 3.3.5 |
ae943c3e AM |
5 | Release: 1 |
6 | License: GPL | |
7b0005ef | 7 | Group: Applications/System |
8 | Group(de): Applikationen/System | |
9 | Group(pl): Aplikacje/System | |
ae943c3e | 10 | Source0: http://www.ibiblio.org/pub/Linux/system/status/%{name}-%{version}.tar.gz |
7b0005ef | 11 | Patch0: %{name}-opt.patch |
ae943c3e AM |
12 | URL: http://perso.wanadoo.fr/sebastien.godard/ |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: sh-utils | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
7b0005ef | 18 | SAR, MPSTAT and IOSTAT for Linux. |
ae943c3e AM |
19 | |
20 | %description -l pl | |
7b0005ef | 21 | SAR, MPSTAT and IOSTAT dla Linuxa. |
ae943c3e AM |
22 | |
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | ||
27 | %build | |
28 | echo "%{_prefix} | |
29 | y | |
30 | n | |
31 | `id -gn` | |
32 | n" | /bin/sh build/Configure.sh | |
33 | ||
34 | OPT_FLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} install | |
40 | ||
41 | gzip -9nf CHANGES CREDITS README *.sample TODO | |
42 | ||
43 | %find_lang %{name} | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files -f %{name}.lang | |
49 | %defattr(644,root,root,755) | |
50 | %doc *.gz | |
51 | %attr(755,root,root) %{_bindir}/* | |
52 | %{_libdir}/sa | |
53 | %{_mandir}/man*/* |