1 Summary: Pretty version of df(1) command
2 Summary(pl.UTF-8): Ładna wersja polecenia df(1)
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
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
40 install %{name} $RPM_BUILD_ROOT%{_bindir}
41 install %{name}rc $RPM_BUILD_ROOT%{_sysconfdir}
42 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
45 rm -rf $RPM_BUILD_ROOT
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