]>
Commit | Line | Data |
---|---|---|
03dd4639 ZU |
1 | Summary: Canto is an Atom/RSS feed reader for the console |
2 | Summary(hu.UTF-8): Canto egy Atom/RSS hírolvasó konzolra | |
3 | Name: canto | |
80350cfa | 4 | Version: 0.7.4 |
3108c327 | 5 | Release: 1 |
03dd4639 ZU |
6 | License: GPL v2 |
7 | Group: Applications/Networking | |
8 | Source0: http://codezen.org/static/%{name}-%{version}.tar.gz | |
80350cfa | 9 | # Source0-md5: dc011bdc1047585d4ebb97243ba3e631 |
03dd4639 ZU |
10 | URL: http://www.codezen.org/canto |
11 | BuildRequires: ncurses-devel | |
12 | BuildRequires: python-devel >= 2.4.0 | |
f49ba826 MB |
13 | BuildRequires: rpmbuild(macros) >= 1.219 |
14 | Requires: python-chardet | |
15 | Requires: python-feedparser | |
03dd4639 ZU |
16 | Obsoletes: nrss |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Canto is an Atom/RSS feed reader for the console that is meant to be | |
21 | quick, concise, and colorful. It's meant to allow you to crank through | |
22 | feeds like you've never cranked before by providing a minimal, yet | |
23 | information packed interface. No navigating menus. No dense blocks of | |
24 | unreadable white text. An interface with almost infinite customization | |
25 | and extensibility using the excellent Python programming language. | |
26 | ||
27 | %description -l hu.UTF-8 | |
80350cfa ZU |
28 | Canto egy Atom/RSS olvasó konzolra, azaz gyors, tömör és színes. Egy |
29 | nagyon egyszerű felüleletet biztosít. Nincsenek menük, nincsenek sűrű | |
30 | képernyőrészek olvashatatlan fehér szöveggel. Egy interfész, amely | |
31 | majdnem a végtelenségig beállítható és bővíthető a Python programozási | |
32 | nyelv segítségével. | |
03dd4639 ZU |
33 | |
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
f49ba826 | 38 | %{__python} setup.py build |
03dd4639 ZU |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
f49ba826 MB |
42 | |
43 | %{__python} setup.py install \ | |
44 | --prefix=%{_prefix} \ | |
45 | --root=$RPM_BUILD_ROOT | |
46 | ||
47 | # Hack to set correctly VERSION_TUPLE | |
48 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/canto/*.py{c,o} | |
49 | %py_comp $RPM_BUILD_ROOT%{py_sitedir}/canto | |
50 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/canto | |
51 | ||
52 | %py_postclean | |
03dd4639 ZU |
53 | |
54 | %clean | |
f49ba826 | 55 | #rm -rf $RPM_BUILD_ROOT |
03dd4639 ZU |
56 | |
57 | %files | |
58 | %defattr(644,root,root,755) | |
80350cfa | 59 | %doc ChangeLog INSTALL README doc/* |
03dd4639 ZU |
60 | %attr(755,root,root) %{_bindir}/%{name} |
61 | %attr(755,root,root) %{_bindir}/%{name}-fetch | |
80350cfa | 62 | %attr(755,root,root) %{_bindir}/%{name}-inspect |
03dd4639 ZU |
63 | %{_mandir}/man1/%{name}.1* |
64 | %{_mandir}/man1/%{name}-fetch.1* | |
f49ba826 | 65 | %{py_sitedir}/Canto-*.egg-info |
03dd4639 | 66 | %dir %{py_sitedir}/canto |
80350cfa | 67 | %{py_sitedir}/canto/cfg |
f49ba826 MB |
68 | %attr(755,root,root) %{py_sitedir}/canto/widecurse.so |
69 | %{py_sitedir}/canto/*.py[co] |