]> git.pld-linux.org Git - packages/di.git/blob - di.spec
b442e44c72ca817c2b2c4040ec6d6ec7a997ab33
[packages/di.git] / di.spec
1 Summary:        Disk Info
2 Summary(pl):    Disk Info
3 Name:           di
4 Version:        3.10
5 Release:        2
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://www.gentoo.com/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  25f92d2d2b4478178541cfaa5b5fc72b
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 %attr(755,root,root) %{_bindir}/mi
47 %{_mandir}/man1/di.*
This page took 0.048745 seconds and 2 git commands to generate.