|
Jerry James |
74909a2 |
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 8
|
|
Jerry James |
74909a2 |
%global with_py3 1
|
|
Jerry James |
74909a2 |
%endif
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%global pkgname ZODB3
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
Name: python-%{pkgname}
|
|
Jerry James |
74909a2 |
Version: 3.11.0
|
|
Jerry James |
74909a2 |
Release: 1%{?dist}
|
|
|
5298d1a |
Summary: Zope Object Database: Object Database and Persistence
|
|
|
5298d1a |
Group: Development/Libraries
|
|
|
5298d1a |
License: ZPLv2.1
|
|
|
5298d1a |
URL: http://www.zodb.org/
|
|
Jerry James |
74909a2 |
Source0: http://pypi.python.org/packages/source/Z/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
|
Jerry James |
74909a2 |
BuildArch: noarch
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
BuildRequires: python-BTrees
|
|
Jerry James |
74909a2 |
BuildRequires: python-devel
|
|
Jerry James |
74909a2 |
BuildRequires: python-persistent
|
|
|
5298d1a |
BuildRequires: python-setuptools
|
|
|
55c78f5 |
BuildRequires: python-transaction
|
|
Jerry James |
74909a2 |
BuildRequires: python-ZEO
|
|
Jerry James |
74909a2 |
BuildRequires: python-ZODB
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
BuildRequires: python3-BTrees
|
|
Jerry James |
74909a2 |
BuildRequires: python3-devel
|
|
Jerry James |
74909a2 |
BuildRequires: python3-persistent
|
|
Jerry James |
74909a2 |
BuildRequires: python3-setuptools
|
|
Jerry James |
74909a2 |
BuildRequires: python3-transaction
|
|
Jerry James |
74909a2 |
BuildRequires: python3-ZEO
|
|
Jerry James |
74909a2 |
BuildRequires: python3-ZODB
|
|
Jerry James |
74909a2 |
%endif
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
Requires: python-BTrees
|
|
Jerry James |
74909a2 |
Requires: python-persistent
|
|
|
5298d1a |
Requires: python-transaction
|
|
Jerry James |
74909a2 |
Requires: python-ZEO
|
|
Jerry James |
74909a2 |
Requires: python-ZODB
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%global common_desc \
|
|
Jerry James |
74909a2 |
The Zope Object Database provides an object-oriented database for Python \
|
|
Jerry James |
74909a2 |
that provides a high-degree of transparency. Applications can take \
|
|
Jerry James |
74909a2 |
advantage of object database features with few, if any, changes to \
|
|
Jerry James |
74909a2 |
application logic. ZODB includes features such as a pluggable storage \
|
|
|
5298d1a |
interface, rich transaction support, and undo.
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%description
|
|
Jerry James |
74909a2 |
%{common_desc}
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
%package -n python3-%{pkgname}
|
|
Jerry James |
74909a2 |
Summary: Client-server storage implementation for ZODB
|
|
Jerry James |
74909a2 |
Requires: python3-BTrees
|
|
Jerry James |
74909a2 |
Requires: python3-persistent
|
|
Jerry James |
74909a2 |
Requires: python3-transaction
|
|
Jerry James |
74909a2 |
Requires: python3-ZEO
|
|
Jerry James |
74909a2 |
Requires: python3-ZODB
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%description -n python3-%{pkgname}
|
|
Jerry James |
74909a2 |
%{common_desc}
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%prep
|
|
Jerry James |
74909a2 |
%setup -q -c
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
# Remove prebuilt egg
|
|
Jerry James |
74909a2 |
rm -fr %{pkgname}-%{version}/%{pkgname}.egg-info
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
# Fix encodings
|
|
Jerry James |
74909a2 |
for fil in %{pkgname}-%{version}/HISTORY.txt; do
|
|
Jerry James |
74909a2 |
iconv -f ISO-8859-1 -t UTF-8 $fil > $fil.utf8
|
|
Jerry James |
74909a2 |
touch -r $fil $fil.utf8
|
|
Jerry James |
74909a2 |
mv -f $fil.utf8 $fil
|
|
|
5298d1a |
done
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
# Prepare for a python3 build
|
|
Jerry James |
74909a2 |
cp -a %{pkgname}-%{version} python3-%{pkgname}-%{version}
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%build
|
|
Jerry James |
74909a2 |
# Python 2 build
|
|
Jerry James |
74909a2 |
pushd %{pkgname}-%{version}
|
|
Jerry James |
74909a2 |
%{__python2} setup.py build
|
|
Jerry James |
74909a2 |
popd
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
# Python 3 build
|
|
Jerry James |
74909a2 |
pushd python3-%{pkgname}-%{version}
|
|
Jerry James |
74909a2 |
%{__python3} setup.py build
|
|
Jerry James |
74909a2 |
popd
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%install
|
|
Jerry James |
74909a2 |
# Python 2 install
|
|
Jerry James |
74909a2 |
pushd %{pkgname}-%{version}
|
|
Jerry James |
74909a2 |
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
5298d1a |
popd
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
# Python 3 install
|
|
Jerry James |
74909a2 |
pushd python3-%{pkgname}-%{version}
|
|
Jerry James |
74909a2 |
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
|
Jerry James |
74909a2 |
popd
|
|
Jerry James |
74909a2 |
%endif
|
|
|
55c78f5 |
|
|
|
5298d1a |
%files
|
|
Jerry James |
74909a2 |
%doc %{pkgname}-%{version}/CHANGES.txt %{pkgname}-%{version}/HISTORY.txt
|
|
Jerry James |
74909a2 |
%doc %{pkgname}-%{version}/README.txt
|
|
Jerry James |
74909a2 |
%{python2_sitelib}/%{pkgname}*
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
%files -n python3-%{pkgname}
|
|
Jerry James |
74909a2 |
%doc %{pkgname}-%{version}/CHANGES.txt %{pkgname}-%{version}/HISTORY.txt
|
|
Jerry James |
74909a2 |
%doc %{pkgname}-%{version}/README.txt
|
|
Jerry James |
74909a2 |
%{python3_sitelib}/%{pkgname}*
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%changelog
|
|
Jerry James |
74909a2 |
* Mon Oct 20 2014 Jerry James <loganjerry@gmail.com> - 3.11.0-1
|
|
Jerry James |
74909a2 |
- Update to 3.11.0
|
|
Jerry James |
74909a2 |
|
|
|
15c4ef6 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-7
|
|
|
15c4ef6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
15c4ef6 |
|
|
|
9e5c1ad |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-6
|
|
|
9e5c1ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9e5c1ad |
|
|
Jerry James |
32e21c6 |
* Tue Jul 30 2013 Jerry James <loganjerry@gmail.com> - 3.10.5-5
|
|
Jerry James |
32e21c6 |
- Adapt to versionless _docdir in Rawhide
|
|
Jerry James |
32e21c6 |
|
|
|
8495b35 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-4
|
|
|
8495b35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8495b35 |
|
|
|
017b582 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-3
|
|
|
017b582 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
017b582 |
|
|
|
5a0ffbe |
* Tue Jan 10 2012 Jerry James <loganjerry@gmail.com> - 3.10.5-2
|
|
|
5a0ffbe |
- Mass rebuild for Fedora 17
|
|
|
5a0ffbe |
- Switch to the RPM 4.9 style of provides filtering
|
|
|
5a0ffbe |
|
|
|
2b736fc |
* Mon Nov 21 2011 Jerry James <loganjerry@gmail.com> - 3.10.5-1
|
|
|
2b736fc |
- Update to 3.10.5
|
|
|
2b736fc |
|
|
|
1146c47 |
* Fri Nov 18 2011 Jerry James <loganjerry@gmail.com> - 3.10.4-1
|
|
|
1146c47 |
- Update to 3.10.4
|
|
|
1146c47 |
|
|
|
55c78f5 |
* Sun May 1 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.10.3-2
|
|
|
55c78f5 |
- Enable the tests
|
|
|
55c78f5 |
|
|
|
8d36b57 |
* Wed Apr 27 2011 Jerry James <loganjerry@gmail.com> - 3.10.3-1
|
|
|
8d36b57 |
- Update to 3.10.3
|
|
|
8d36b57 |
|
|
|
5298d1a |
* Sun Feb 20 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.10.2-1
|
|
|
5298d1a |
- Update to 3.10.2
|
|
|
5298d1a |
|
|
|
5298d1a |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.1-2
|
|
|
5298d1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5298d1a |
|
|
|
5298d1a |
* Mon Jan 3 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.10.1-1
|
|
|
5298d1a |
- Update to 3.10.1
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Oct 13 2010 Robin Lee <cheeselee@fedoraproject.org> - 3.10.0-1
|
|
|
5298d1a |
- Update to 3.10.0 final
|
|
|
5298d1a |
|
|
|
5298d1a |
* Thu Sep 30 2010 Robin Lee <cheeselee@fedoraproject.org> - 3.10.0-0.6.b7
|
|
|
5298d1a |
- Update to 3.10.0b7
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Sep 29 2010 jkeating - 3.10.0-0.5.b6
|
|
|
5298d1a |
- Rebuilt for gcc bug 634757
|
|
|
5298d1a |
|
|
|
5298d1a |
* Sat Sep 18 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.4.b6
|
|
|
5298d1a |
- Filter out private shared library provides
|
|
|
5298d1a |
- Rearrage the documents
|
|
|
5298d1a |
- Exclude the tests from installation
|
|
|
5298d1a |
|
|
|
5298d1a |
* Thu Sep 9 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.3.b6
|
|
|
5298d1a |
- Update to 3.10.0b6
|
|
|
5298d1a |
- An unused line of comment removed
|
|
|
5298d1a |
- A deeper path used in the find command
|
|
|
5298d1a |
|
|
|
5298d1a |
* Sat Sep 4 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.2.b5
|
|
|
5298d1a |
- Update to 3.10.0b5
|
|
|
5298d1a |
- Use recommended commands to remove shebangs
|
|
|
5298d1a |
- Requires python-setuptools, which is used by generated scripts
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Sep 1 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.1.b4
|
|
|
5298d1a |
- Update to 3.10.0b4
|
|
|
5298d1a |
- Spec cleaned up
|
|
|
5298d1a |
|
|
|
5298d1a |
* Tue Jun 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.5-2
|
|
|
5298d1a |
- Don't move the text files
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.5-1
|
|
|
5298d1a |
- Update to 3.9.5
|
|
|
5298d1a |
- Take over the review request (#476600).
|
|
|
5298d1a |
- Don't split out per-extension subpackages.
|
|
|
5298d1a |
- BR: python-setuptools added
|
|
|
5298d1a |
- Requires: python-zope-testing removed
|
|
|
5298d1a |
- Make a -devel subpackage to contain all the header files
|
|
|
5298d1a |
- Remove the C source files installed by setup.py
|
|
|
5298d1a |
- Include more documents
|
|
|
5298d1a |
- Don't move the executable scripts
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Oct 28 2009 Conrad Meyer <konrad@tylerc.org> - 3.9.3-1
|
|
|
5298d1a |
- Bumped to 3.9.3.
|
|
|
5298d1a |
- Numerous minor fixes from review (#476600).
|
|
|
5298d1a |
- Split into several subpackages.
|
|
|
5298d1a |
|
|
|
5298d1a |
* Mon Dec 15 2008 Conrad Meyer <konrad@tylerc.org> - 3.9.0-0.1.a7
|
|
|
5298d1a |
- Initial package.
|