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