[github2fedmsg] Initial import (#1078327)
Ralph Bean
ralph at fedoraproject.org
Tue Jul 1 12:48:21 UTC 2014
commit 55ce35d5326d6d84e6adb1b95f551e0eec12b61a
Author: Ralph Bean <rbean at redhat.com>
Date: Tue Jul 1 08:46:09 2014 -0400
Initial import (#1078327)
.gitignore | 1 +
github2fedmsg.spec | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 120 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e777c38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/github2fedmsg-0.3.1.tar.gz
diff --git a/github2fedmsg.spec b/github2fedmsg.spec
new file mode 100644
index 0000000..2ae5426
--- /dev/null
+++ b/github2fedmsg.spec
@@ -0,0 +1,118 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+Name: github2fedmsg
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: Pubsubhubbub app that rebroadcasts GH events over fedmsg
+
+Group: System Environment/Daemons
+License: AGPLv3+
+URL: http://pypi.python.org/pypi/github2fedmsg
+Source0: http://pypi.python.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-pyramid
+BuildRequires: python-transaction
+BuildRequires: python-pyramid-tm
+BuildRequires: python-pyramid-mako
+BuildRequires: python-zope-sqlalchemy
+BuildRequires: python-weberror
+BuildRequires: python-velruse
+BuildRequires: python-tw2-core
+BuildRequires: fedmsg
+
+Requires: python-setuptools
+Requires: python-pyramid
+Requires: python-transaction
+Requires: python-pyramid-tm
+Requires: python-pyramid-mako
+Requires: python-zope-sqlalchemy
+Requires: python-weberror
+Requires: python-velruse
+Requires: python-tw2-core
+Requires: fedmsg
+
+%if %{?rhel}%{!?rhel:0} >= 6
+BuildRequires: python-sqlalchemy0.7
+Requires: python-sqlalchemy0.7
+%else
+BuildRequires: python-sqlalchemy >= 0.7
+Requires: python-sqlalchemy >= 0.7
+%endif
+
+%if 0%{?fedora}
+# Not yet branched for el6
+BuildRequires: glyphicons-halflings-fonts
+Requires: glyphicons-halflings-fonts
+%endif
+
+%description
+It is a web application that monitors GitHub repositories you subscribe it to.
+When new actions (commits, pull-request, tickets) are made, it broadcasts a
+message on the fedmsg message bus.
+
+It is written in Python on the Pyramid framework, and uses velruse to talk with
+GitHub. It adds a webhook callback back to itself on repositories you ask it
+to monitor. When one of those callbacks fire, github2fedmsg republishes the
+message it receives to the fedmsg bus.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{name}.egg-info
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
+
+# Unbundle the glyphicons
+%if 0%{?fedora}
+rm -rf \
+ %{buildroot}%{python2_sitelib}/github2fedmsg/static/bootstrap-3.1.1-fedora/fonts
+ln -s \
+ /usr/share/fonts/glyphicons-halflings \
+ %{buildroot}%{python2_sitelib}/github2fedmsg/static/bootstrap-3.1.1-fedora/fonts
+%endif
+
+%files
+%doc README.rst LICENSE CHANGELOG.rst
+%{python2_sitelib}/%{name}/
+%{python2_sitelib}/%{name}-%{version}*
+%{_bindir}/initialize_github2fedmsg_db
+
+%changelog
+* Wed Jun 18 2014 Ralph Bean <rbean at redhat.com> - 0.3.1-1
+- Bugfix to webhooks receipt.
+
+* Wed Jun 18 2014 Ralph Bean <rbean at redhat.com> - 0.3.0-1
+- Latest upstream.
+- Replaces pubsubhubbub subscription with 'webhooks'.
+- Allows for users to commit to a reduced oauth scope.
+
+* Tue Jun 17 2014 Ralph Bean <rbean at redhat.com> - 0.2.7-1
+- Latest upstream, fix links to work behind a proxy.
+
+* Tue Jun 17 2014 Ralph Bean <rbean at redhat.com> - 0.2.6-1
+- Latest upstream, includes templates.
+
+* Mon May 12 2014 Ralph Bean <rbean at redhat.com> - 0.2.4-1
+- Updates from review https://github.com/fedora-infra/github2fedmsg/pull/7
+- AGPL headers.
+- Fixed grammar and style in description.
+- Unbundle glyphicons-halflings-fonts.
+- Updated bootstrap fedora to 3.1.1.
+
+* Wed Mar 19 2014 Ralph Bean <rbean at redhat.com> - 0.2.2-1
+- Initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..839f954 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d9386ba8ae0e813be22832814d026feb github2fedmsg-0.3.1.tar.gz
More information about the scm-commits
mailing list