[python-zope-processlifetime] Initial import

cheeselee cheeselee at fedoraproject.org
Wed Aug 15 13:06:50 UTC 2012


commit 3e28729e0709cdd84a978ce63bb955512eceab21
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Wed Aug 15 21:06:42 2012 +0800

    Initial import

 .gitignore                       |    1 +
 python-zope-processlifetime.spec |   57 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..39304b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zope.processlifetime-1.0.tar.gz
diff --git a/python-zope-processlifetime.spec b/python-zope-processlifetime.spec
new file mode 100644
index 0000000..a964382
--- /dev/null
+++ b/python-zope-processlifetime.spec
@@ -0,0 +1,57 @@
+%global modname zope.processlifetime
+
+Summary: Zope process lifetime events
+Name: python-zope-processlifetime
+Version: 1.0
+Release: 3%{?dist}
+Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
+License: ZPLv2.1
+Group: Development/Libraries
+BuildArch: noarch
+URL: http://pypi.python.org/pypi/zope.processlifetime
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-zope-interface
+Requires:      python-zope-interface
+
+%description
+This package provides interfaces / implementations for events relative to
+the lifetime of a server process (startup, database opening, etc.)
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --root=%{buildroot}
+
+%check
+%{__python} setup.py test
+
+%files
+# LICENSE will be included in next upstream release
+%doc CHANGES.txt README.txt
+# Co-own %%{python_sitelib}/zope/
+%dir %{python_sitelib}/zope/
+%{python_sitelib}/zope/processlifetime/
+%exclude %{python_sitelib}/zope/processlifetime/tests.py*
+%{python_sitelib}/%{modname}-*.egg-info
+%{python_sitelib}/%{modname}-*-nspkg.pth
+
+
+%changelog
+* Mon Aug 13 2012 Robin Lee <cheeselee at fedoraproject.org> - 1.0-3
+- Requires/BuildRequires python-zope-interface
+
+* Sat Sep 18 2010 Robin Lee <robinlee.sysu at gmail.com> - 1.0-2
+- Spec cleaned up
+- Requires: python-zope-filesystem and python-setuptools removed
+- Exclude the tests from installation
+- Co-own %%{python_sitelib}/zope/
+- Add %%check section and run tests
+
+* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1.0-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..6e9e792 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+69604bfd668a01ebebdd616a8f26ccfe  zope.processlifetime-1.0.tar.gz


More information about the scm-commits mailing list