]> git.pld-linux.org Git - packages/di.git/blame - di.spec
- up to 4.14
[packages/di.git] / di.spec
CommitLineData
faf10230 1Summary: Disk Info - disk information utility
d4379d48 2Summary(pl.UTF-8): Disk Info - informacje o dyskach
b5e65f5c 3Name: di
42c1dbf7 4Version: 4.14
90a455a7 5Release: 1
5125f1bd 6License: custom (see LICENSE* files)
95d6634b 7Group: Applications/System
faf10230 8Source0: http://www.gentoo.com/di/%{name}-%{version}.tar.gz
42c1dbf7 9# Source0-md5: 375e6b1d4245ab02a8ca67ae118fbe5f
9f478f67 10Patch0: %{name}-Makefile.patch
527c0eeb 11URL: http://www.gentoo.com/di/
db48ca71 12BuildRequires: gettext-devel
42c1dbf7 13BuildRequires: sed >= 4.0
e10bf121 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b5e65f5c 15
b5e65f5c 16%description
830d72d5 17'di' is a disk information utility, displaying everything (and more)
18that your 'df' command does. It features the ability to display your
19disk usage in whatever format you desire/prefer/are used to.
b5e65f5c 20
21It is designed to be portable across many platforms.
22
7ea44af1 23%description -l pl.UTF-8
42c1dbf7 24'di' jest narzędziem udostępniającym informacje o dyskach
25istniejących w systemie - podobnie jak 'df', lecz w bardziej
26przystępnej formie. Ma możliwość wyświetlania wykorzystania dysku
27w dowolnie wybranym formacie.
92866e68 28
7ea44af1 29Jest zaprojektowane w sposób przenośny na wiele platform.
b5e65f5c 30
b5e65f5c 31%prep
5bbb837c 32%setup -q
9f478f67 33%patch0 -p1
42c1dbf7 34%{__sed} -e 's@ sed@ /bin/sed@g' -i features/cflags.sh
b5e65f5c 35
36%build
5125f1bd 37%{__make} \
38 prefix=%{_prefix} \
39 CC="%{__cc}" \
9f478f67 40 CFLAGS="%{rpmcflags}" \
41 OPTFLAGS="%{rpmldflags}"
b5e65f5c 42
43%install
830d72d5 44rm -rf $RPM_BUILD_ROOT
392dd63d 45install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
9f97f2f8
JB
46
47%{__make} install \
5125f1bd 48 prefix=$RPM_BUILD_ROOT%{_prefix} \
9f97f2f8 49 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
814c29eb 50
5125f1bd 51mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,de}
b5e65f5c 52
e154a07d 53%find_lang %{name}
54
b5e65f5c 55%clean
56rm -rf $RPM_BUILD_ROOT
57
e154a07d 58%files -f %{name}.lang
b5e65f5c 59%defattr(644,root,root,755)
5125f1bd 60%doc README MANIFEST LICENSE*
b5e65f5c 61%attr(755,root,root) %{_bindir}/di
1584bce1 62%attr(755,root,root) %{_bindir}/mi
42c1dbf7 63%{_mandir}/man1/di.1*
This page took 0.050734 seconds and 4 git commands to generate.