diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-09-11 11:31:53 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-09-11 11:31:53 +0800 |
commit | 49e2694f77372e5ffb725efaf195f94ab6ae3de0 (patch) | |
tree | 1ac491f6c42bb08011947e5609389c90dd5eabf2 /python-ZODB3/F-13/python-ZODB3.spec | |
parent | ea63dab858be702cf7342f4c59b065b5bc1b4135 (diff) | |
download | zope-rpm-49e2694f77372e5ffb725efaf195f94ab6ae3de0.tar.gz zope-rpm-49e2694f77372e5ffb725efaf195f94ab6ae3de0.tar.xz zope-rpm-49e2694f77372e5ffb725efaf195f94ab6ae3de0.zip |
python-ZODB3 imported, python-mechanize updated
Diffstat (limited to 'python-ZODB3/F-13/python-ZODB3.spec')
-rw-r--r-- | python-ZODB3/F-13/python-ZODB3.spec | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/python-ZODB3/F-13/python-ZODB3.spec b/python-ZODB3/F-13/python-ZODB3.spec deleted file mode 100644 index 8e7b574..0000000 --- a/python-ZODB3/F-13/python-ZODB3.spec +++ /dev/null @@ -1,110 +0,0 @@ -%include %{_rpmconfigdir}/macros.python -%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif - -Name: python-ZODB3 -Version: 3.9.5 -Release: 2%{?dist} -Summary: Zope Object Database: Object Database and Persistence -Group: Development/Libraries -License: ZPLv2.1 -URL: http://pypi.python.org/pypi/ZODB3 -Source0: http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: python2-devel -BuildRequires: 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, BTrees and -persistent. - -%prep -%setup -q -n ZODB3-%{version} -for script in src/{ZODB,ZEO}/{zeoctl.py,scripts/{*.py,*/*.py}}; do - if head -n 1 "$script" | grep -q '#!'; then - sed -i '1,1d' "$script" - fi -done - - -%build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build - - -%install -rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -# remove contained source files -find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv -# deal with header files -for MOD in BTrees persistent; do - mkdir -p $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/$MOD/ - mv $RPM_BUILD_ROOT%{python_sitearch}/$MOD/*.h \ - $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/$MOD/ -done - -%clean -rm -rf $RPM_BUILD_ROOT - - -%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%{py_ver}/ZODB3 -%{_includedir}/python%{py_ver}/BTrees -%{_includedir}/python%{py_ver}/persistent - -%changelog -* 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. |