]>
Commit | Line | Data |
---|---|---|
6f39a73c | 1 | Summary: Pretty version of df(1) command |
2c7ca029 | 2 | Summary(pl.UTF-8): Ładna wersja polecenia df(1) |
6f39a73c | 3 | Name: discus |
4 | Version: 0.2.9 | |
78d1fd5e | 5 | Release: 2 |
6f39a73c | 6 | License: GPL |
7 | Group: Applications/Console | |
8 | Source0: http://www.raincrazy.com/software/discus/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: bcc4a08d03a0952b0b744655c45b04b8 | |
78d1fd5e | 10 | Patch0: %{name}-config.patch |
6f39a73c | 11 | URL: http://www.raincrazy.com/software/discus/ |
96561964 | 12 | Requires: python-modules |
6f39a73c | 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 | ||
1b2549db JR |
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. | |
6f39a73c | 31 | |
32 | %prep | |
77fb3536 | 33 | %setup -q |
7c4bd391 | 34 | %patch0 -p1 |
6f39a73c | 35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
77fb3536 JB |
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 | |
6f39a73c | 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}/* | |
ce1681ae | 51 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}rc |
6f39a73c | 52 | %{_mandir}/man1/* |