]> git.pld-linux.org Git - packages/di.git/blob - di.spec
e16c9c753da6658ff11c87ea064cc2456de0b728
[packages/di.git] / di.spec
1 Summary:        Disk Info
2 Summary(pl):    Disk Info
3 Name:           di
4 Version:        3.9
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://www.gentoo.com/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  59c840955175ffaf051417c5d0c702d3
10 URL:            http://www.gentoo.com/di/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 'di' is a disk information utility, displaying everything (and more)
15 that your 'df' command does. It features the ability to display your
16 disk usage in whatever format you desire/prefer/are used to.
17
18 It is designed to be portable across many platforms.
19
20 %description -l pl
21 'di' jest narzêdziem udostêpniaj±cym informacje o dyskach istniej±cych
22 w systemie. Podobnie jak 'df' lecz w bardziej przystêpnej formie.
23
24 %prep
25 %setup -q
26
27 %build
28 ./configure --prefix=%{_prefix}
29 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
34
35 %{__make} install \
36         PREFIX=$RPM_BUILD_ROOT%{_prefix} \
37         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README MANIFEST
45 %attr(755,root,root) %{_bindir}/di
46 %{_mandir}/man1/di.*
This page took 0.051433 seconds and 2 git commands to generate.