[python-ZODB3] First import

cheeselee cheeselee at fedoraproject.org
Sat Sep 11 03:13:15 UTC 2010


commit 1d61466ecc6456e50c5f508b1f4c5cc5b081260b
Author: Robin Lee <robinlee.sysu at gmail.com>
Date:   Sat Sep 11 11:12:52 2010 +0800

    First import

 .gitignore        |    1 +
 python-ZODB3.spec |  109 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 111 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4075c91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ZODB3-3.10.0b6.tar.gz
diff --git a/python-ZODB3.spec b/python-ZODB3.spec
new file mode 100644
index 0000000..5865e68
--- /dev/null
+++ b/python-ZODB3.spec
@@ -0,0 +1,109 @@
+%global prerel b6
+
+Name:           python-ZODB3
+Version:        3.10.0
+Release:        0.3.%{prerel}%{?dist}
+Summary:        Zope Object Database: Object Database and Persistence
+Group:          Development/Libraries
+License:        ZPLv2.1
+URL:            http://www.zodb.org/
+Source0:        http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-%{version}%{?prerel}.tar.gz
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+Requires:       python-setuptools
+Requires:       python-transaction
+Requires:       python-zc-lockfile
+Requires:       python-ZConfig
+Requires:       python-zdaemon
+Requires:       python-zope-event
+Requires:       python-zope-interface
+Requires:       python-zope-proxy
+
+%description
+The Zope Object Database provides an object-oriented database for Python
+that provides a high-degree of transparency. Applications can take
+advantage of object database features with few, if any, changes to
+application logic. ZODB includes features such as a pluggable storage
+interface, rich transaction support, and undo.
+
+%package devel
+Summary:  Developer files for %{name}
+Group:    Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: python2-devel
+BuildArch: noarch
+
+%description devel
+Files for developing applications using Python extensions of ZODB.
+
+
+%prep
+%setup -q -n ZODB3-%{version}%{?prerel}
+for File in src/ZEO/zeoctl.py src/{ZODB,ZEO}/scripts/*.py ; do
+  sed -i.orig -e '/^#! *\//, 1d' $File
+  touch -r ${File}.orig $File
+  rm ${File}.orig
+done
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+# remove contained source files
+find $RPM_BUILD_ROOT%{python_sitearch} \( -name '*.c' -o -name '*.h' \) -type f -print0 | xargs -0 rm -fv
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYRIGHT.txt LICENSE.txt HISTORY.txt README.txt doc/*
+%{python_sitearch}/ZODB/
+%{python_sitearch}/ZODB3-*.egg-info
+%{_bindir}/*
+%{python_sitearch}/BTrees/
+%{python_sitearch}/persistent/
+%{python_sitearch}/ZEO/
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/python?.?/ZODB3
+
+%changelog
+* Thu Sep  9 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.10.0-0.3.b6
+- Update to 3.10.0b6
+- An unused line of comment removed
+- A deeper path used in the find command
+
+* Sat Sep  4 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.10.0-0.2.b5
+- Update to 3.10.0b5
+- Use recommended commands to remove shebangs
+- Requires python-setuptools, which is used by generated scripts
+
+* Wed Sep  1 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.10.0-0.1.b4
+- Update to 3.10.0b4
+- Spec cleaned up
+
+* Tue Jun 22 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.9.5-2
+- Don't move the text files
+
+* Wed Jun 16 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.9.5-1
+- Update to 3.9.5
+- Take over the review request (#476600).
+- Don't split out per-extension subpackages.
+- BR: python-setuptools added
+- Requires: python-zope-testing removed
+- Make a -devel subpackage to contain all the header files
+- Remove the C source files installed by setup.py
+- Include more documents
+- Don't move the executable scripts
+
+* Wed Oct 28 2009 Conrad Meyer <konrad at tylerc.org> - 3.9.3-1
+- Bumped to 3.9.3.
+- Numerous minor fixes from review (#476600).
+- Split into several subpackages.
+
+* Mon Dec 15 2008 Conrad Meyer <konrad at tylerc.org> - 3.9.0-0.1.a7
+- Initial package.
diff --git a/sources b/sources
index e69de29..6b37380 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0791aafc7b0f41c072a3f78c96412d28  ZODB3-3.10.0b6.tar.gz


More information about the scm-commits mailing list