[feedstail] initial import in fedora
Matthias Runge
mrunge at fedoraproject.org
Thu Jun 28 06:17:28 UTC 2012
commit f02cc1a5b5514e5dacf0124f47ace83f009d2cac
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Thu Jun 28 08:17:13 2012 +0200
initial import in fedora
.gitignore | 1 +
feedstail-doc.patch | 11 ++++++++
feedstail.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e22eb24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/feedstail-0.4.0.tar.gz
diff --git a/feedstail-doc.patch b/feedstail-doc.patch
new file mode 100644
index 0000000..6da917a
--- /dev/null
+++ b/feedstail-doc.patch
@@ -0,0 +1,11 @@
+diff -up feedstail-0.4.0/setup.py.orig feedstail-0.4.0/setup.py
+--- feedstail-0.4.0/setup.py.orig 2012-06-05 11:09:27.591560475 +0200
++++ feedstail-0.4.0/setup.py 2012-06-05 11:09:36.678560498 +0200
+@@ -14,7 +14,6 @@ setup( name = "feedstail"
+ , version = '0.4.0'
+ , scripts = ['bin/feedstail']
+ , packages = ['feedstail']
+- , data_files = [('', ['README.rst', 'LICENSE.txt'])]
+ , install_requires = ['argparse', 'FeedParser']
+
+ , classifiers =
diff --git a/feedstail.spec b/feedstail.spec
new file mode 100644
index 0000000..2c85023
--- /dev/null
+++ b/feedstail.spec
@@ -0,0 +1,66 @@
+Name: feedstail
+Version: 0.4.0
+Release: 3%{?dist}
+Summary: A tail-f-like utility for feeds
+
+# everything is GPLv3+ except feeedstail/utils.py, which is
+# (partly) taken from webpy/utils.py
+License: GPLv3+ and Public Domain
+URL: http://pypi.python.org/pypi/%{name}/0.4.0
+Source0: http://pypi.python.org/packages/source/f/%{name}/%{name}-%{version}.tar.gz
+
+# this simple patch makes setup install not to install docs under /usr
+# upstream is informed, but doesn't have a (public) bug tracker
+Patch0: feedstail-doc.patch
+
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+Requires: python-argparse
+Requires: python-feedparser
+
+%description
+Feedstail is a tail-f-like utility for feeds. It monitors a
+feed and emits new entries.
+
+Feedstail aims to be simple, hackable and compatible
+with rsstail, its C brother.
+
+%prep
+%setup -q
+
+# patch setup.py not to install docs in /usr
+%patch0 -p1
+# Remove bundled egg-info
+rm -rf %{name}.egg-info
+
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc README.rst LICENSE.txt
+%{python_sitelib}/%{name}
+%{python_sitelib}/%{name}-%{version}-py?.?.egg-info
+%{_bindir}/%{name}
+
+%changelog
+* Thu Jun 28 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.4.0-3
+- add a comment to license to specify which file is Public Domain
+
+* Thu Jun 21 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.4.0-2
+- correct license
+- add a comment regarding patch
+- correct requirement python-feedparser
+- correct description
+
+* Tue Jun 05 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.4.0-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..346dd52 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5b44af1b294e5c6a9aec70dc2ac158e2 feedstail-0.4.0.tar.gz
More information about the scm-commits
mailing list