]> git.pld-linux.org Git - packages/canto.git/blob - canto.spec
- 0.7.4
[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.7.4
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Networking
8 Source0:        http://codezen.org/static/%{name}-%{version}.tar.gz
9 # Source0-md5:  dc011bdc1047585d4ebb97243ba3e631
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. 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.
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 doc/*
60 %attr(755,root,root) %{_bindir}/%{name}
61 %attr(755,root,root) %{_bindir}/%{name}-fetch
62 %attr(755,root,root) %{_bindir}/%{name}-inspect
63 %{_mandir}/man1/%{name}.1*
64 %{_mandir}/man1/%{name}-fetch.1*
65 %{py_sitedir}/Canto-*.egg-info
66 %dir %{py_sitedir}/canto
67 %{py_sitedir}/canto/cfg
68 %attr(755,root,root) %{py_sitedir}/canto/widecurse.so
69 %{py_sitedir}/canto/*.py[co]
This page took 0.092792 seconds and 3 git commands to generate.