]>
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 | |
f49ba826 | 4 | Version: 0.5.3 |
4e8de174 | 5 | Release: 2 |
03dd4639 ZU |
6 | License: GPL v2 |
7 | Group: Applications/Networking | |
8 | Source0: http://codezen.org/static/%{name}-%{version}.tar.gz | |
f49ba826 | 9 | # Source0-md5: 75dff6e151a08221ca0f8a3f8bdb3792 |
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 | |
28 | Canto egy Atom/RSS olvasó konzolra, azaz gyors, tömör és színes. | |
29 | Egy nagyon egyszerű felüleletet biztosít. Nincsenek menük, | |
30 | nincsenek sűrű képernyőrészek olvashatatlan fehér szöveggel. | |
31 | Egy interfész, amely majdnem a végtelenségig beállítható és | |
32 | bővíthető a Python programozási nyelv segítségével. | |
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) | |
59 | %doc ChangeLog INSTALL README | |
60 | %attr(755,root,root) %{_bindir}/%{name} | |
61 | %attr(755,root,root) %{_bindir}/%{name}-fetch | |
62 | %{_mandir}/man1/%{name}.1* | |
63 | %{_mandir}/man1/%{name}-fetch.1* | |
f49ba826 | 64 | %{py_sitedir}/Canto-*.egg-info |
03dd4639 | 65 | %dir %{py_sitedir}/canto |
f49ba826 MB |
66 | %attr(755,root,root) %{py_sitedir}/canto/widecurse.so |
67 | %{py_sitedir}/canto/*.py[co] |