8 Group(pl): Na¿êdzia systemowe
9 Source0: %name-distr.001
10 Source1: %name-distr.002
11 Source2: %name-distr.003
14 Buildroot: /tmp/%{name}-%{version}-root
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.
31 rm -fr $RPM_BUILD_DIR/%name-%version
32 install -d $RPM_BUILD_DIR/%name-%version
34 if [ $STATUS -ne 0 ]; then
37 cd $RPM_BUILD_DIR/%name-%version
39 if [ $STATUS -ne 0 ]; then
46 if [ $STATUS -ne 0 ]; then
51 cd $RPM_BUILD_DIR/%name-%version
52 ./configure --prefix=%{_prefix}
53 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
56 cd $RPM_BUILD_DIR/%name-%version
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}}
59 make PREFIX=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir} install
61 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* MANIFEST README
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc README.gz MANIFEST.gz
69 %attr(755,root,root) %{_bindir}/di
70 %attr(644,root,root) %{_mandir}/man1/di.*