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