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: 375e6b1d4245ab02a8ca67ae118fbe5f
10 Patch0: %{name}-Makefile.patch
11 URL: http://www.gentoo.com/di/
12 BuildRequires: gettext-devel
13 BuildRequires: sed >= 4.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 'di' is a disk information utility, displaying everything (and more)
18 that your 'df' command does. It features the ability to display your
19 disk usage in whatever format you desire/prefer/are used to.
21 It is designed to be portable across many platforms.
23 %description -l pl.UTF-8
24 'di' jest narzędziem udostępniającym informacje o dyskach
25 istniejących w systemie - podobnie jak 'df', lecz w bardziej
26 przystępnej formie. Ma możliwość wyświetlania wykorzystania dysku
27 w dowolnie wybranym formacie.
29 Jest zaprojektowane w sposób przenośny na wiele platform.
34 %{__sed} -e 's@ sed@ /bin/sed@g' -i features/cflags.sh
40 CFLAGS="%{rpmcflags}" \
41 OPTFLAGS="%{rpmldflags}"
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
48 prefix=$RPM_BUILD_ROOT%{_prefix} \
49 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
51 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,de}
56 rm -rf $RPM_BUILD_ROOT
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc README MANIFEST LICENSE*
61 %attr(755,root,root) %{_bindir}/di
62 %attr(755,root,root) %{_bindir}/mi