summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2010-09-04 15:56:25 +0800
committerRobin Lee <robinlee.sysu@gmail.com>2010-09-04 15:56:25 +0800
commite5a585113eb19d8892188cacc16a7d4cde70eee3 (patch)
treee8a7ee85d5b9dca73fcd41a7d024a40f0118afa9
parentbfdf22b7befb4f28261a76da3339b73fbd26193d (diff)
downloadzope-rpm-e5a585113eb19d8892188cacc16a7d4cde70eee3.tar.gz
zope-rpm-e5a585113eb19d8892188cacc16a7d4cde70eee3.tar.xz
zope-rpm-e5a585113eb19d8892188cacc16a7d4cde70eee3.zip
zope.fixers, zc.buildout 1.5.1, ZODB3 3.10.0b5
-rw-r--r--python-ZODB3/F-14/python-ZODB3.spec105
-rw-r--r--python-zc-buildout/F-13/python-zc-buildout.spec11
-rw-r--r--python3-zope-fixers/F-13/python3-zope-fixers.spec45
3 files changed, 158 insertions, 3 deletions
diff --git a/python-ZODB3/F-14/python-ZODB3.spec b/python-ZODB3/F-14/python-ZODB3.spec
new file mode 100644
index 0000000..edaa630
--- /dev/null
+++ b/python-ZODB3/F-14/python-ZODB3.spec
@@ -0,0 +1,105 @@
+%global prerel b5
+
+Name: python-ZODB3
+Version: 3.10.0
+Release: 0.2.%{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/{ZODB,ZEO}/{zeoctl.py,scripts/{*.py,*/*.py}}; do
+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 \( -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
+* Sat Sep 4 2010 Robin Lee <robinlee.sysu@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@gmail.com> - 3.10.0-0.1.b4
+- Update to 3.10.0b4
+- Spec cleaned up
+
+* Tue Jun 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.5-2
+- Don't move the text files
+
+* Wed Jun 16 2010 Robin Lee <robinlee.sysu@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@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@tylerc.org> - 3.9.0-0.1.a7
+- Initial package.
diff --git a/python-zc-buildout/F-13/python-zc-buildout.spec b/python-zc-buildout/F-13/python-zc-buildout.spec
index 09c5997..90e4d90 100644
--- a/python-zc-buildout/F-13/python-zc-buildout.spec
+++ b/python-zc-buildout/F-13/python-zc-buildout.spec
@@ -5,7 +5,7 @@
Summary: System for managing development buildouts
Name: python-%(echo %{modname} | sed -r 's|\.|-|')
-Version: 1.4.3
+Version: 1.5.1
Release: 1%{?dist}
Source0: http://pypi.python.org/packages/source/%(echo %{modname} | sed -r 's|^(.).*|\1|')/%{modname}/%{modname}-%{version}.tar.gz
License: ZPLv2.1
@@ -15,7 +15,6 @@ URL: http://buildout.org
BuildRequires: python2-devel
BuildRequires: python-setuptools
-Requires: python-zope-filesystem
Requires: python-setuptools
%description
@@ -40,8 +39,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc CHANGES.txt README.txt todo.txt DEVELOPERS.txt doc/ specifications/
+%doc CHANGES.txt README.txt todo.txt DEVELOPERS.txt SYSTEM_PYTHON_HELP.txt doc/* specifications/
%{python_sitelib}/%(echo %{modname} | sed -r 's|\.|/|')
+%dir %{python_sitelib}/zc/
%{_bindir}/buildout
%exclude %{_usr}/README.txt
%{python_sitelib}/%{modname}-*.egg-info
@@ -49,5 +49,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Sep 1 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.5.1-1
+- Update to 1.5.1
+- Own %%{python_sitelib}/zc/
+- Remove python-zope-filesystem from requirements
+
* Sun Jul 4 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.4.3-1
- Initial packaging
diff --git a/python3-zope-fixers/F-13/python3-zope-fixers.spec b/python3-zope-fixers/F-13/python3-zope-fixers.spec
new file mode 100644
index 0000000..d6c0551
--- /dev/null
+++ b/python3-zope-fixers/F-13/python3-zope-fixers.spec
@@ -0,0 +1,45 @@
+%global modname zope.fixers
+
+Summary: 2to3 fixers for Zope
+Name: python3-%(echo %{modname} | sed -r 's|\.|-|g')
+Version: 1.0
+Release: 1%{?dist}
+Source0: http://pypi.python.org/packages/source/%(echo %{modname} | sed -r 's|^(.).*|\1|')/%{modname}/%{modname}-%{version}.tar.gz
+License: ZPLv2.1
+Group: Development/Libraries
+BuildArch: noarch
+URL: http://svn.zope.org/zope.fixers/
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
+
+%description
+Fixers for Zope Component Architecture and the frameworks built with it.
+
+Currently, there is only one fixer, fix_implements. This fixer will change
+all uses of implements(IFoo) in a class body to the class decorator
+@implementer(IFoo), which is the most likely Python 3 syntax for
+zope.interfaces implements statements.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+%{__python3} setup.py build
+
+%install
+%{__python3} setup.py install --root=$RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGES.txt README.txt ZPL.txt docs/*
+%{python3_sitelib}/%(echo %{modname} | sed -r 's|\.|/|g')
+%dir %{python3_sitelib}/zope/
+%{python3_sitelib}/%{modname}-*.egg-info
+%{python3_sitelib}/%{modname}-*-nspkg.pth
+
+
+%changelog
+* Thu Sep 2 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.0-1
+- Initial packaging