]> git.pld-linux.org Git - packages/discus.git/blob - discus.spec
- tabs in preamble
[packages/discus.git] / discus.spec
1 Summary:        Pretty version of df(1) command
2 Summary(pl.UTF-8):      Ładna wersja polecenia df(1)
3 Name:           discus
4 Version:        0.2.9
5 Release:        2
6 License:        GPL
7 Group:          Applications/Console
8 Source0:        http://www.raincrazy.com/software/discus/%{name}-%{version}.tar.gz
9 # Source0-md5:  bcc4a08d03a0952b0b744655c45b04b8
10 Patch0:         %{name}-config.patch
11 URL:            http://www.raincrazy.com/software/discus/
12 Requires:       python-modules
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Discus aims to make df prettier, with features such as color, graphs,
18 and smart formatting of numbers (automatically choosing the most
19 suitable size from kilobytes, megabytes, gigabytes, or terabytes). If
20 you don't want Discus deciding the best sizes, you can also choose
21 your own increments, along with specifying the number of decimal
22 places you'd like to see.
23
24 %description -l pl.UTF-8
25 Discus zamierza uczynić df piękniejszym, poprzez kolor, wykresy i
26 eleganckie formatowanie liczb (automatycznie wybierając najbardziej
27 odpowiednią wielkość z kilobajtów, megabajtów, gigabajtów lub
28 terabajtów). Jeżeli nie chcemy, żeby Discus decydował o najlepszej
29 wielkości, można też wybrać własne przyrosty, poprzez podanie liczby
30 pożądanych miejsc dziesiętnych.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
39
40 install %{name}         $RPM_BUILD_ROOT%{_bindir}
41 install %{name}rc       $RPM_BUILD_ROOT%{_sysconfdir}
42 install %{name}.1       $RPM_BUILD_ROOT%{_mandir}/man1
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS BUGS changelog README TODO
50 %attr(755,root,root) %{_bindir}/*
51 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}rc
52 %{_mandir}/man1/*
This page took 0.079435 seconds and 3 git commands to generate.