1 Summary: Disk Info - disk information utility
2 Summary(pl.UTF-8): Disk Info - informacje o dyskach
6 License: custom (see LICENSE* files)
7 Group: Applications/System
8 Source0: http://www.gentoo.com/di/%{name}-%{version}.tar.gz
9 # Source0-md5: 7f774bf1d044c28136373fdd06489cb1
10 Patch0: %{name}-Makefile.patch
11 URL: http://www.gentoo.com/di/
12 BuildRequires: gettext-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 'di' is a disk information utility, displaying everything (and more)
17 that your 'df' command does. It features the ability to display your
18 disk usage in whatever format you desire/prefer/are used to.
20 It is designed to be portable across many platforms.
22 %description -l pl.UTF-8
23 'di' jest narzędziem udostępniającym informacje o dyskach istniejących
24 w systemie - podobnie jak 'df', lecz w bardziej przystępnej formie. Ma
25 możliwość wyświetlania wykorzystania dysku w dowolnie wybranym
28 Jest zaprojektowane w sposób przenośny na wiele platform.
33 sed -e 's@ sed@ /bin/sed@g' -i features/cflags.sh
39 CFLAGS="%{rpmcflags}" \
40 OPTFLAGS="%{rpmldflags}"
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
47 prefix=$RPM_BUILD_ROOT%{_prefix} \
48 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
50 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,de}
55 rm -rf $RPM_BUILD_ROOT
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc README MANIFEST LICENSE*
60 %attr(755,root,root) %{_bindir}/di
61 %attr(755,root,root) %{_bindir}/mi