]> git.pld-linux.org Git - packages/pydf.git/blob - pydf.spec
- adapterized, removed gzipping of man pages
[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 License:        Public Domain
7 Group:          Applications/System
8 Group(de):      Applikationen/System
9 Group(pl):      Aplikacje/System
10 Source0:        http://melkor.dnp.fmph.uniba.sk/~garabik/pydf/%{name}_%{version}.tar.gz
11 URL:            http://melkor.dnp.fmph.uniba.sk/~garabik/pydf/
12 Requires:       python >= 1.5.2
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sysconfdir     /etc
16
17 %description
18 pydf displays the amount of used and available space on your
19 filesystems, just like df, but in colours. The output format is
20 completely customizable.
21
22 %description -l pl
23 pydf wy¶wietla ilo¶æ wykorzystanego i dostêpnego miejsca na systemach
24 plików, tak jak df, ale w kolorach. Format wyj¶ciowy jest w pe³ni
25 konfigurowalny.
26
27 %prep
28 %setup -q
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 README
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README.gz
46 %attr(755,root,root) %{_bindir}/pydf
47 %config %{_sysconfdir}/pydfrc
48
49 %{_mandir}/man1/pydf.1*
This page took 0.039643 seconds and 4 git commands to generate.