summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2010-06-17 17:10:04 +0800
committerRobin Lee <robinlee.sysu@gmail.com>2010-06-17 17:10:04 +0800
commit93cb6defcdc7d882152772168e300a0b0c7da644 (patch)
tree85f71702c8a155b61a337690ca13db0e825d0bcf
parentb218fc863742c9777c363bbf7246a1bc659e8e1c (diff)
downloadzope-rpm-93cb6defcdc7d882152772168e300a0b0c7da644.tar.gz
zope-rpm-93cb6defcdc7d882152772168e300a0b0c7da644.tar.xz
zope-rpm-93cb6defcdc7d882152772168e300a0b0c7da644.zip
python-mechanize 0.1.10-3 from Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com>
-rw-r--r--python-ZODB3/F-13/python-ZODB3.spec4
-rw-r--r--python-mechanize/F-13/python-mechanize.spec105
2 files changed, 107 insertions, 2 deletions
diff --git a/python-ZODB3/F-13/python-ZODB3.spec b/python-ZODB3/F-13/python-ZODB3.spec
index c268e4e..0c1fa9d 100644
--- a/python-ZODB3/F-13/python-ZODB3.spec
+++ b/python-ZODB3/F-13/python-ZODB3.spec
@@ -68,8 +68,8 @@ done
# move some documents to stardard paths
for MOD in BTrees persistent ZODB ZEO; do
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$MOD/
- mv $RPM_BUILD_ROOT%{python_sitearch}/$MOD/*.txt \
- $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$MOD/
+ rm -f $RPM_BUILD_ROOT%{python_sitearch}/$MOD/*.txt
+ cp -p src/$MOD/*.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$MOD/
done
# install more documents
cp -p COPYRIGHT.txt LICENSE.txt HISTORY.txt README.txt doc/* \
diff --git a/python-mechanize/F-13/python-mechanize.spec b/python-mechanize/F-13/python-mechanize.spec
new file mode 100644
index 0000000..ab531e7
--- /dev/null
+++ b/python-mechanize/F-13/python-mechanize.spec
@@ -0,0 +1,105 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%define _ver 0.1.10
+
+Name: python-mechanize
+Version: 0.1.10
+Release: 3%{?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 README.html GeneralFAQ.html doc.html examples
+%{python_sitelib}/*
+
+
+%changelog
+* 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