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