8 Group(pl): Na¿êdzia systemowe
9 Source0: %name-distr.001
10 Source1: %name-distr.002
11 Source2: %name-distr.003
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 'di' is a disk information utility, displaying everything (and more) that
20 your 'df' command does. It features the ability to display your disk usage
21 in whatever format you desire/prefer/are used to.
23 It is designed to be portable across many platforms.
26 'di' jest narzêdziem udostêpniaj±cym informacje o dyskach istniej±cych
27 w systemie. Podobnie jak 'df' lecz w bardziej przystêpnej formie.
30 rm -fr $RPM_BUILD_DIR/%name-%version
31 install -d $RPM_BUILD_DIR/%name-%version
33 if [ $STATUS -ne 0 ]; then
36 cd $RPM_BUILD_DIR/%name-%version
38 if [ $STATUS -ne 0 ]; then
45 if [ $STATUS -ne 0 ]; then
50 cd $RPM_BUILD_DIR/%name-%version
51 ./configure --prefix=%{_prefix}
52 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
55 cd $RPM_BUILD_DIR/%name-%version
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
58 make PREFIX=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
60 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* MANIFEST README
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc README.gz MANIFEST.gz
68 %attr(755,root,root) %{_bindir}/di
69 %attr(644,root,root) %{_mandir}/man1/di.*