[python-fmn-consumer] Initial import (#1037898)
Ralph Bean
ralph at fedoraproject.org
Thu Jan 23 14:35:04 UTC 2014
commit affcd67a158609cd8275010f0de8d6a2510e93ef
Author: Ralph Bean <rbean at redhat.com>
Date: Thu Jan 23 09:35:19 2014 -0500
Initial import (#1037898)
.gitignore | 1 +
python-fmn-consumer.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..33f5aa7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fmn.consumer-0.2.0.tar.gz
diff --git a/python-fmn-consumer.spec b/python-fmn-consumer.spec
new file mode 100644
index 0000000..43214b3
--- /dev/null
+++ b/python-fmn-consumer.spec
@@ -0,0 +1,64 @@
+%global modname fmn.consumer
+
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 %{__python}}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+Name: python-fmn-consumer
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Backend worker daemon for Fedora Notifications
+
+Group: Development/Libraries
+License: LGPLv2+
+URL: http://pypi.python.org/pypi/fmn.consumer
+Source0: http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-nose
+
+BuildRequires: fedmsg
+BuildRequires: python-fmn-lib
+BuildRequires: python-requests
+
+Requires: fedmsg
+Requires: python-fmn-lib
+Requires: python-requests
+
+%description
+fmn is a family of systems to manage end-user notifications triggered by
+fedmsg, the Fedora FEDerated MESsage bus.
+
+This module contains the backend worker daemon for Fedora Notifications.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{modname}.egg-info
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%check
+%{__python2} setup.py test
+
+%files
+%doc README.rst COPYING COPYING.LESSER CHANGELOG.rst
+%{python2_sitelib}/fmn/consumer/
+%{python2_sitelib}/%{modname}-%{version}*
+
+%changelog
+* Wed Jan 22 2014 Ralph Bean <rbean at redhat.com> - 0.2.0-1
+- Upstream release
+
+* Tue Dec 03 2013 Ralph Bean <rbean at redhat.com> - 0.1.3-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..023b94c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+afd39faba2ea183d38c67be6355de08d fmn.consumer-0.2.0.tar.gz
More information about the scm-commits
mailing list