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