rpms/planet/devel planet-1.0-no-shebang.patch, NONE, 1.1 planet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Richard Dawe (richdawe) fedora-extras-commits at redhat.com
Thu Mar 2 05:52:59 UTC 2006


Author: richdawe

Update of /cvs/extras/rpms/planet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21431/devel

Modified Files:
	.cvsignore sources 
Added Files:
	planet-1.0-no-shebang.patch planet.spec 
Log Message:
auto-import planet-1.0-0.5.20060218pre on branch devel from planet-1.0-0.5.20060218pre.src.rpm

planet-1.0-no-shebang.patch:

--- NEW FILE planet-1.0-no-shebang.patch ---
diff -pur planet-1.0~pre1.orig/planet/cache.py planet-1.0~pre1/planet/cache.py
--- planet-1.0~pre1.orig/planet/cache.py	2005-11-15 09:35:07.000000000 +0000
+++ planet-1.0~pre1/planet/cache.py	2005-11-16 18:50:41.000000000 +0000
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 """Item cache.
 
Only in planet-1.0~pre1/planet: cache.py~
diff -pur planet-1.0~pre1.orig/planet/feedparser.py planet-1.0~pre1/planet/feedparser.py
--- planet-1.0~pre1.orig/planet/feedparser.py	2005-11-15 09:35:11.000000000 +0000
+++ planet-1.0~pre1/planet/feedparser.py	2005-11-16 18:50:39.000000000 +0000
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 """Universal feed parser
 
 Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom feeds
Only in planet-1.0~pre1/planet: feedparser.py~
diff -pur planet-1.0~pre1.orig/planet/__init__.py planet-1.0~pre1/planet/__init__.py
--- planet-1.0~pre1.orig/planet/__init__.py	2005-11-15 09:35:13.000000000 +0000
+++ planet-1.0~pre1/planet/__init__.py	2005-11-16 18:50:36.000000000 +0000
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 """Planet aggregator library.
 
Only in planet-1.0~pre1/planet: __init__.py~


--- NEW FILE planet.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define tarname planet-1.0-20060218pre
%define bazver planet--devel--1.0--patch-20

Name: planet
Version: 1.0
Release: 0.5.20060218pre
Summary: Flexible RDF/RSS/Atom feed aggregator

Group: Applications/Internet
License: Python Software Foundation License
URL: http://www.planetplanet.org/
Source0: %{tarname}.tar.gz
Patch1: planet-1.0-no-shebang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch: noarch


%description
Planet is a flexible feed aggregator, this means that it downloads feeds
and aggregates their content together into a single combined feed with
the latest news first.

It uses Mark Pilgrim's Ultra-liberal feed parser so can read from RDF, RSS
and Atom feeds and Tomas Styblo's template library to output static files
in unlimited formats based on a series of templates.


%prep
%setup -n %{bazver}
%patch1 -p1

# Fix line endings.
%{__sed} -i 's/\r//' LICENCE


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

# Remove .py from install scripts, e.g. planet.py -> planet.
REGEXP='s:%{_bindir}/\(.*\).py:%{_bindir}/\1:'

for i in $RPM_BUILD_ROOT%{_bindir}/*.py; do
  mv -v $i $(echo $i | sed -e $REGEXP)
done


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS INSTALL LICENCE NEWS THANKS README examples
%{_bindir}/*
%dir %{python_sitelib}/planet
%{python_sitelib}/planet/*.py
%{python_sitelib}/planet/*.pyc
%ghost %{python_sitelib}/planet/*.pyo
%dir %{python_sitelib}/planet/compat_logging
%{python_sitelib}/planet/compat_logging/*.py
%{python_sitelib}/planet/compat_logging/*.pyc
%ghost %{python_sitelib}/planet/compat_logging/*.pyo


%changelog
* Sat Feb 18 2006 Richard Dawe <rich at phekda.gotadsl.co.uk> - 1.0-0.5.20060218pre
- Update to planet--devel--1.0--patch-20. This is no different
  than the previous release. This is purely to use a known,
  source-controlled version.

* Sun Feb 06 2006 Richard Dawe <rich at phekda.gotadsl.co.uk> - 1.0-0.4.20060206pre
- Update to the nearly-final 1.0 release on 20060206.

* Fri Dec 09 2005 Richard Dawe <rich at phekda.gotadsl.co.uk> - 1.0-0.3.20051115arch
- Rename to planet from planetplanet.
- Include INSTALL document.
- Own planet Python sitelib subdirectories.

* Wed Nov 16 2005 Richard Dawe <rich at phekda.gotadsl.co.uk> - 1.0-0.2.20051115arch
- Correct License tag.
- Remove shebang lines from planet module code.
- Bring spec in line with Fedora's Python spec template.

* Wed Nov 16 2005 Richard Dawe <rich at phekda.gotadsl.co.uk> - 1.0-0.1.20051115arch
- Initial packaging.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/planet/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Mar 2006 05:51:37 -0000	1.1
+++ .cvsignore	2 Mar 2006 05:52:59 -0000	1.2
@@ -0,0 +1 @@
+planet-1.0-20060218pre.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/planet/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Mar 2006 05:51:37 -0000	1.1
+++ sources	2 Mar 2006 05:52:59 -0000	1.2
@@ -0,0 +1 @@
+c5b59fe0023554ce31d2f2e32559d6c5  planet-1.0-20060218pre.tar.gz




More information about the fedora-extras-commits mailing list