]> git.pld-linux.org Git - packages/canto.git/commitdiff
- updated to 0.5.3 auto/th/canto-0_5_3-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 18 Oct 2008 18:19:35 +0000 (18:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    canto.spec -> 1.3

canto.spec

index 30a8b671a64486368c02c0a7ff3f65197771e5b7..998ac064694259ea9f5b9739b6c723e2390e580f 100644 (file)
@@ -1,15 +1,18 @@
 Summary:       Canto is an Atom/RSS feed reader for the console
 Summary(hu.UTF-8):     Canto egy Atom/RSS hírolvasó konzolra
 Name:          canto
-Version:       0.4.7
-Release:       0.1
+Version:       0.5.3
+Release:       1
 License:       GPL v2
 Group:         Applications/Networking
 Source0:       http://codezen.org/static/%{name}-%{version}.tar.gz
-# Source0-md5: 86b879baf73b1e041d4a73a64116a2e7
+# Source0-md5: 75dff6e151a08221ca0f8a3f8bdb3792
 URL:           http://www.codezen.org/canto
 BuildRequires: ncurses-devel
 BuildRequires: python-devel >= 2.4.0
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-chardet
+Requires:      python-feedparser
 Obsoletes:     nrss
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,13 +35,24 @@ bővíthető a Python programozási nyelv segítségével.
 %setup -q
 
 %build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-./setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+       --prefix=%{_prefix} \
+       --root=$RPM_BUILD_ROOT
+
+# Hack to set correctly VERSION_TUPLE
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/canto/*.py{c,o}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}/canto
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/canto
+
+%py_postclean
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+#rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
@@ -47,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/%{name}-fetch
 %{_mandir}/man1/%{name}.1*
 %{_mandir}/man1/%{name}-fetch.1*
+%{py_sitedir}/Canto-*.egg-info
 %dir %{py_sitedir}/canto
-%dir %{py_sitedir}/canto_fetch
-%{py_sitedir}/canto/*
-%{py_sitedir}/canto_fetch/*
+%attr(755,root,root) %{py_sitedir}/canto/widecurse.so
+%{py_sitedir}/canto/*.py[co]
This page took 0.072152 seconds and 4 git commands to generate.