]> git.pld-linux.org Git - packages/canto.git/blob - canto.spec
088066ff82726d4aa1cda0216af761e7e18d5504
[packages/canto.git] / canto.spec
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
4 Version:        0.6.7
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Networking
8 Source0:        http://codezen.org/static/%{name}-%{version}.tar.gz
9 # Source0-md5:  fc8e6d9c788270363814534baa193e55
10 URL:            http://www.codezen.org/canto
11 BuildRequires:  ncurses-devel
12 BuildRequires:  python-devel >= 2.4.0
13 BuildRequires:  rpmbuild(macros) >= 1.219
14 Requires:       python-chardet
15 Requires:       python-feedparser
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
38 %{__python} setup.py build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
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
53
54 %clean
55 #rm -rf $RPM_BUILD_ROOT
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*
64 %{py_sitedir}/Canto-*.egg-info
65 %dir %{py_sitedir}/canto
66 %attr(755,root,root) %{py_sitedir}/canto/widecurse.so
67 %{py_sitedir}/canto/*.py[co]
This page took 0.050151 seconds and 2 git commands to generate.