summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <icon@fedoraproject.org>2006-01-07 05:19:24 +0000
committerKonstantin Ryabitsev <icon@fedoraproject.org>2006-01-07 05:19:24 +0000
commite3cdc8345f5a7589c22374872c8db5b9cc48b3d9 (patch)
tree9ecd8dd68b13684e635303ee3d238c53c1aa131c
parent808402519410108741c48d36aefb5bdf3693dec4 (diff)
downloadpython-feedparser-e3cdc8345f5a7589c22374872c8db5b9cc48b3d9.zip
python-feedparser-e3cdc8345f5a7589c22374872c8db5b9cc48b3d9.tar.gz
python-feedparser-e3cdc8345f5a7589c22374872c8db5b9cc48b3d9.tar.xz
auto-import python-feedparser-4.0.2-2 on branch devel frompython-feedparser-4_0_2-2_fc5python-feedparser-4_0_2-2FC-4-split
python-feedparser-4.0.2-2.src.rpm
-rw-r--r--.cvsignore1
-rw-r--r--python-feedparser.spec57
-rw-r--r--sources1
3 files changed, 59 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..2dc03b6 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+feedparser-4.0.2.zip
diff --git a/python-feedparser.spec b/python-feedparser.spec
new file mode 100644
index 0000000..5737bff
--- /dev/null
+++ b/python-feedparser.spec
@@ -0,0 +1,57 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name: python-feedparser
+Version: 4.0.2
+Release: 2%{?dist}
+Summary: Parse RSS and Atom feeds in Python
+
+Group: Development/Languages
+License: BSD-ish
+URL: http://feedparser.org/
+Source0: http://download.sourceforge.net/feedparser/feedparser-%{version}.zip
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: python-devel
+Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
+
+%description
+Universal Feed Parser is a Python module for downloading and parsing
+syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91,
+Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0,
+Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension
+modules, including Dublin Core and Apple's iTunes extensions.
+
+
+%prep
+%setup -q -c
+
+
+%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
+cp -a docs html
+chmod 0644 LICENSE README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README html
+%{python_sitelib}/*.py
+%{python_sitelib}/*.pyc
+%ghost %{python_sitelib}/*.pyo
+
+
+%changelog
+* Sat Jan 07 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.0.2-2
+- Set sane permissions on doc files.
+
+* Wed Jan 04 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 4.0.2-1
+- Initial build.
diff --git a/sources b/sources
index e69de29..20c5c1d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+85cc43faf40f8aefdb5885bdabc1a94c feedparser-4.0.2.zip