]> git.pld-linux.org Git - packages/di.git/blob - di.spec
- pass optflags in working way; enhanced pl desc
[packages/di.git] / di.spec
1 Summary:        Disk Info - disk information utility
2 Summary(pl):    Disk Info - informacje o dyskach 
3 Name:           di
4 Version:        3.11
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://www.gentoo.com/di/%{name}-%{version}.tar.gz
9 # Source0-md5:  13f5c38bde30091ae53fb8483426ce34
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. Ma
23 mo¿liwo¶æ wy¶wietlania wykorzystania dysku w dowolnie wybranym
24 formacie.
25
26 Jest zaprojektowane w sposób przeno¶ny na wiele platform.
27
28 %prep
29 %setup -q
30
31 %build
32 ./Configure -ds -e \
33         -Dprefix=%{prefix} \
34         -Dcc="%{__cc}" \
35         -Doptimize="%{rpmcflags}"
36
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
42
43 %{__make} install \
44         PREFIX=$RPM_BUILD_ROOT%{_prefix} \
45         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README MANIFEST
53 %attr(755,root,root) %{_bindir}/di
54 %attr(755,root,root) %{_bindir}/mi
55 %{_mandir}/man1/di.*
This page took 0.060125 seconds and 3 git commands to generate.