]> git.pld-linux.org Git - packages/canto.git/blob - canto.spec
BR: rpmbuild(macros) >= 1.710
[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.10
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Networking
8 Source0:        http://codezen.org/static/%{name}-%{version}.tar.gz
9 # Source0-md5:  541d1770496866a5d513305e118b2ab5
10 URL:            http://www.codezen.org/canto
11 BuildRequires:  ncurses-devel
12 BuildRequires:  python-devel >= 2.4.0
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.710
15 Requires:       python-chardet
16 Requires:       python-feedparser
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
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.
34
35 %prep
36 %setup -q
37
38 %build
39 %py_build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %py_install \
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
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc ChangeLog INSTALL README doc/*
61 %attr(755,root,root) %{_bindir}/%{name}
62 %attr(755,root,root) %{_bindir}/%{name}-fetch
63 %attr(755,root,root) %{_bindir}/%{name}-inspect
64 %{_mandir}/man1/%{name}.1*
65 %{_mandir}/man1/%{name}-fetch.1*
66 %{py_sitedir}/Canto-*.egg-info
67 %dir %{py_sitedir}/canto
68 %{py_sitedir}/canto/cfg
69 %attr(755,root,root) %{py_sitedir}/canto/widecurse.so
70 %{py_sitedir}/canto/*.py[co]
This page took 0.075122 seconds and 4 git commands to generate.