]> git.pld-linux.org Git - packages/di.git/blob - di.spec
5a8453d301469e901f2410c76776db00b78e43cd
[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.31
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:  f324ec49888c6c642c998ee8c3a8ce21
10 URL:            http://www.gentoo.com/di/
11 BuildRequires:  gettext-tools
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         CC="%{__cc}" \
35         CFLAGS="%{rpmcflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
40
41 %{__make} install \
42         prefix=$RPM_BUILD_ROOT%{_prefix} \
43         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
44
45 %find_lang %{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)
52 %doc README MANIFEST LICENSE*
53 %attr(755,root,root) %{_bindir}/di
54 %attr(755,root,root) %{_bindir}/mi
55 %{_mandir}/man1/di.1*
This page took 0.146367 seconds and 3 git commands to generate.