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 | |
parent | ea63dab858be702cf7342f4c59b065b5bc1b4135 (diff) | |
download | zope-rpm-49e2694f77372e5ffb725efaf195f94ab6ae3de0.tar.gz zope-rpm-49e2694f77372e5ffb725efaf195f94ab6ae3de0.tar.xz zope-rpm-49e2694f77372e5ffb725efaf195f94ab6ae3de0.zip |
python-ZODB3 imported, python-mechanize updated
-rw-r--r-- | python-ZODB3/F-13/python-ZODB3.spec | 110 | ||||
-rw-r--r-- | python-ZODB3/F-14/python-ZODB3.spec | 105 | ||||
-rw-r--r-- | python-mechanize/F-13/python-mechanize.spec | 108 |
3 files changed, 0 insertions, 323 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. diff --git a/python-ZODB3/F-14/python-ZODB3.spec b/python-ZODB3/F-14/python-ZODB3.spec deleted file mode 100644 index edaa630..0000000 --- a/python-ZODB3/F-14/python-ZODB3.spec +++ /dev/null @@ -1,105 +0,0 @@ -%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-mechanize/F-13/python-mechanize.spec b/python-mechanize/F-13/python-mechanize.spec deleted file mode 100644 index 85298ef..0000000 --- a/python-mechanize/F-13/python-mechanize.spec +++ /dev/null @@ -1,108 +0,0 @@ -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - -%define _ver 0.2.1 - -Name: python-mechanize -Version: 0.2.1 -Release: 0.1%{?dist} -Summary: Stateful programmatic web browsing - -Group: System Environment/Libraries -License: BSD -URL: http://wwwsearch.sourceforge.net/mechanize -Source0: http://wwwsearch.sourceforge.net/mechanize/src/mechanize-%{_ver}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -BuildRequires: python-devel -%if 0%{?fedora} >= 8 -BuildRequires: python-setuptools-devel -%else -BuildRequires: python-setuptools -%endif -Requires: python-clientform - - -%description -Stateful programmatic web browsing, after Andy Lester's Perl module -WWW::Mechanize. - -The library is layered: mechanize.Browser (stateful web browser), -mechanize.UserAgent (configurable URL opener), plus urllib2 handlers. - -Features include: ftp:, http: and file: URL schemes, browser history, -high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and -Refresh, Referer [sic] header, robots.txt, redirections, proxies, and -Basic and Digest HTTP authentication. mechanize's response objects are -(lazily-) .seek()able and still work after .close(). - -Much of the code originally derived from Perl code by Gisle Aas -(libwww-perl), Johnny Lee (MSIE Cookie support) and last but not least -Andy Lester (WWW::Mechanize). urllib2 was written by Jeremy Hylton. - - -%prep -%setup -q -n mechanize-%{_ver} - - -%build -%{__python} setup.py build - - -%install -rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install --single-version-externally-managed \ - -O1 --root=$RPM_BUILD_ROOT - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc COPYING.txt README.txt docs/* examples -%{python_sitelib}/* - - -%changelog -* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.1-0.1 -- Update to 0.2.1 - -* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Dec 10 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.10-1 -- Update to 0.1.10 - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.6-0.3.b -- Rebuild for Python 2.6 - -* Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> - 0.1.6-0.2.b -- Update for python-setuptools changes in rawhide - -* Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> - 0.1.6-0.1.b -- 0.1.6b - -* Fri Nov 24 2006 Luke Macken <lmacken@redhat.com> - 0.1.5-0.1.b -- Rebuild for python 2.5 -- 0.1.5b - -* Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> - 0.1.1a-5 -- Rebuild for FC6 - -* Sun Jul 9 2006 Luke Macken <lmacken@redhat.com> - 0.1.1a-4 -- Remove unnecessary python-abi requirement - -* Wed May 17 2006 Luke Macken <lmacken@redhat.com> - 0.1.1a-3 -- Add BuildArch: noarch (bug #192155) - -* Sun May 14 2006 Luke Macken <lmacken@redhat.com> - 0.1.1a-2 -- Add python-abi Requires -- Remove noarch - -* Thu May 11 2006 Luke Macken <lmacken@redhat.com> - 0.1.1a-1 -- Packaged for Fedora Extras |