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