]> git.pld-linux.org Git - packages/pydf.git/blob - pydf.spec
- spec adapterized.
[packages/pydf.git] / pydf.spec
1 Summary:        Fully colourised df clone written in python
2 Summary(pl):    Kolorowy klon df napisany w pythonie
3 Name:           pydf
4 Version:        0.9.1
5 Release:        1
6 Group:          Utilities/System
7 Group(pl):      Narzêdzia/System
8 Copyright:      Public Domain
9 Source0:        http://melkor.dnp.fmph.uniba.sk/~garabik/pydf/%{name}_%{version}.tar.gz
10 URL:            http://melkor.dnp.fmph.uniba.sk/~garabik/pydf/
11 Requires:       python >= 1.5.2
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _sysconfdir     /etc
15
16 %description
17 pydf displays the amount of used and available space on your
18 filesystems, just like df, but in colours. The output format is
19 completely customizable.
20
21 %description -l pl
22 pydf wy¶wietla ilo¶æ wykorzystanego i dostêpnego miejsca na systemach
23 plików, tak jak df, ale w kolorach. Format wyj¶ciowy jest w pe³ni
24 konfigurowalny.
25
26 %prep
27 %setup -q
28 %build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
33
34 install pydf   $RPM_BUILD_ROOT%{_bindir}
35 install pydfrc $RPM_BUILD_ROOT%{_sysconfdir}
36 install pydf.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/pydf.1 \
39         README
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README.gz
47 %attr(755,root,root) %{_bindir}/pydf
48 %config %{_sysconfdir}/pydfrc
49
50 %{_mandir}/man1/pydf.1.gz
This page took 0.110523 seconds and 4 git commands to generate.