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