]> git.pld-linux.org Git - packages/discus.git/blob - discus.spec
ea09edfcc9ad4a557412c459d7274f756e567d03
[packages/discus.git] / discus.spec
1 Summary:        Pretty version of df(1) command
2 Summary(pl):    £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
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 chcesz, ¿eby Discus decydowa³ o najlepszej
29 wielko¶ci, mo¿esz te¿ wybraæ w³asne przyrosty, po przez podanie
30 liczby miejsc dziesiêtnych, które chcia³by¶ widzieæ.
31
32 %prep
33 %setup -q
34 %patch -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 size mtime md5) %{_sysconfdir}/%{name}rc
52 %{_mandir}/man1/*
This page took 0.251575 seconds and 3 git commands to generate.