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