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