pingou pushed to pagure (f22). "Initial import, version 0.1.3"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed May 20 10:00:03 UTC 2015
From 8d0478a7385297e2ee3339d04324087800200a70 Mon Sep 17 00:00:00 2001
From: Pierre-Yves Chibon <pingou at pingoured.fr>
Date: Wed, 13 May 2015 12:33:18 +0200
Subject: Initial import, version 0.1.3
diff --git a/.gitignore b/.gitignore
index e69de29..1546423 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pagure-0.1.3.tar.gz
diff --git a/pagure.spec b/pagure.spec
new file mode 100644
index 0000000..3fdaeba
--- /dev/null
+++ b/pagure.spec
@@ -0,0 +1,200 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
+%distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+
+Name: pagure
+Version: 0.1.3
+Release: 1%{?dist}
+Summary: A git-centered forge
+
+License: GPLv2+
+URL: http://fedorahosted.org/pagure/
+Source0: https://fedorahosted.org/releases/p/a/pagure/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-nose
+
+BuildRequires: python-alembic
+BuildRequires: python-arrow
+BuildRequires: python-blinker
+BuildRequires: python-chardet
+BuildRequires: python-docutils
+BuildRequires: python-flask
+BuildRequires: python-flask-wtf
+BuildRequires: python-markdown
+BuildRequires: python-psutil
+BuildRequires: python-pygit2 >= 0.20.1
+BuildRequires: python-pygments
+BuildRequires: python-fedora
+BuildRequires: python-openid
+BuildRequires: python-openid-cla
+BuildRequires: python-openid-teams
+BuildRequires: python-straight-plugin
+BuildRequires: python-wtforms
+BuildRequires: python-munch
+
+# EPEL6
+%if ( 0%{?rhel} && 0%{?rhel} == 6 )
+BuildRequires: python-sqlalchemy0.8
+Requires: python-sqlalchemy0.8
+%else
+BuildRequires: python-sqlalchemy > 0.8
+Requires: python-sqlalchemy > 0.8
+%endif
+
+Requires: python-alembic
+Requires: python-arrow
+Requires: python-blinker
+Requires: python-chardet
+Requires: python-docutils
+Requires: python-flask
+Requires: python-flask-wtf
+Requires: python-markdown
+Requires: python-psutil
+Requires: python-pygit2 >= 0.20.1
+Requires: python-pygments
+Requires: python-fedora
+Requires: python-openid
+Requires: python-openid-cla
+Requires: python-openid-teams
+Requires: python-straight-plugin
+Requires: python-wtforms
+Requires: python-munch
+Requires: mod_wsgi
+
+# No dependency of the app per se, but required to make it working.
+Requires: gitolite3
+
+
+%description
+Pagure is a light-weight git-centered forge based on pygit2.
+
+Currently, Pagure offers a web-interface for git repositories, a ticket
+system and possibilities to create new projects, fork existing ones and
+create/merge pull-requests across or within projects.
+
+%package milters
+Summary: Milter to integrate pagure with emails
+BuildArch: noarch
+BuildRequires: python-pymilter
+BuildRequires: systemd-devel
+Requires: python-pymilter
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+# It would work with sendmail but we configure things (like the tempfile)
+# to work with postfix
+Requires: postfix
+
+
+%description milters
+Milters (Mail filters) allowing the integration of pagure and emails.
+This is useful for example to allow commenting on a ticket by email.
+
+
+%prep
+%setup -q
+
+
+%build
+%{__python2} setup.py build
+
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# Install apache configuration file
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/
+install -m 644 files/pagure.conf $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/pagure.conf
+
+# Install configuration file
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pagure
+install -m 644 files/pagure.cfg.sample $RPM_BUILD_ROOT/%{_sysconfdir}/pagure/pagure.cfg
+
+# Install WSGI file
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pagure
+install -m 644 files/pagure.wsgi $RPM_BUILD_ROOT/%{_datadir}/pagure/pagure.wsgi
+
+# Install the createdb script
+install -m 644 createdb.py $RPM_BUILD_ROOT/%{_datadir}/pagure/pagure_createdb.py
+
+
+# Install the milter files
+mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/run/pagure
+mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
+mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
+install -m 0644 milters/milter_tempfile.conf \
+ $RPM_BUILD_ROOT/%{_tmpfilesdir}/%{name}-milter.conf
+install -m 644 milters/pagure_milter.service \
+ $RPM_BUILD_ROOT/%{_unitdir}/pagure_milter.service
+
+
+%post milters
+%systemd_post pagure_milter.service
+
+%preun milters
+%systemd_preun pagure_milter.service
+
+%postun milters
+%systemd_postun_with_restart pagure_milter.service
+
+
+%files
+%doc README.rst
+%license LICENSE
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/pagure.conf
+%config(noreplace) %{_sysconfdir}/pagure/pagure.cfg
+%dir %{_sysconfdir}/pagure/
+%{_datadir}/pagure/
+%{python_sitelib}/pagure/
+%{python_sitelib}/pagure*.egg-info
+
+
+%files milters
+%license LICENSE
+%attr(755,postfix,postfix) %dir %{_localstatedir}/run/pagure
+%{_tmpfilesdir}/%{name}-milter.conf
+%{_unitdir}/pagure_milter.service
+
+
+%changelog
+* Wed May 13 2015 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.1.3-1
+- Update to 0.1.3
+- Add support for gitolite3
+- Fix unit-tests suite to work on jenkins
+
+* Sat May 09 2015 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.1.2-2
+- Fix the Requires on the milter subpackage (adding: post, preun and postun)
+- Add systemd scriptlet to restart the service gracefully
+- Use versioned python macro (py2)
+- Ship the license in the milter subpackage as well
+- Use the %%license macro
+
+* Thu May 07 2015 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.1.2-1
+- Update to 0.1.2
+- Fix bug in the fedmsg hook file (Thanks Zbigniew Jędrzejewski-Szmek)
+
+* Wed May 06 2015 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.1.1-1
+- Update to 0.1.1
+- Port to python-munch and list it in the dependencies
+- Fix exporting patch when they contain unicode characters or accent
+- After creating an issue, user is brought back to the new issue page
+- Fix unit-tests
+- Stop the pagure hook if the user is deleting a branch (no need to run through
+ all the commits of that branch)
+- Fix the requirements.txt file (Sayan Chowdhury)
+- Fix the tree page to show the commit sha on its proper line (Sayan Chowdhury)
+- Fix typo in the form of some of the plugin (Sayan Chowdhury)
+- Improve the README (Sayan Chowdhury)
+- Fix highlighting the commits tab when accessing it (Sayan Chowdhury)
+
+* Mon May 04 2015 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.1-1
+- First official release: 0.1
+
+* Thu Apr 02 2015 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.0-1.20150402
+- Cut a RPM for testing on Thu Apr 2nd 2015
+
+* Wed Oct 08 2014 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.0-1.20141008
+- Initial packaging work for Fedora
diff --git a/sources b/sources
index e69de29..76c975c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d39521435e3e99456a3f9794ff5ec3e6 pagure-0.1.3.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/pagure.git/commit/?h=f22&id=8d0478a7385297e2ee3339d04324087800200a70
More information about the scm-commits
mailing list