SPECS: canto.spec - updated to 0.5.3
megabajt
megabajt at pld-linux.org
Sat Oct 18 20:19:40 CEST 2008
Author: megabajt Date: Sat Oct 18 18:19:40 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.5.3
---- Files affected:
SPECS:
canto.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/canto.spec
diff -u SPECS/canto.spec:1.2 SPECS/canto.spec:1.3
--- SPECS/canto.spec:1.2 Mon Aug 25 23:04:26 2008
+++ SPECS/canto.spec Sat Oct 18 20:19:35 2008
@@ -2,15 +2,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)
@@ -33,13 +36,24 @@
%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)
@@ -48,10 +62,10 @@
%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]
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -59,6 +73,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/10/18 18:19:35 megabajt
+- updated to 0.5.3
+
Revision 1.2 2008/08/25 21:04:26 uzsolt
- up to 0.4.7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/canto.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list