rpms/python-mechanize/devel python-mechanize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Sun May 14 21:08:38 UTC 2006


Author: lmacken

Update of /cvs/extras/rpms/python-mechanize/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16415/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-mechanize.spec 
Log Message:
auto-import python-mechanize-0.1.1a-2 on branch devel from python-mechanize-0.1.1a-2.src.rpm


--- NEW FILE python-mechanize.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-mechanize
Version:        0.1.1a
Release:        2%{?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-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-setuptools
Requires:       python-clientform

Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")


%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-%{version}


%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 May 14 2006 Luke Macken <lmacken at redhat.com> - 0.1.1a-2
- Add python-abi Requires
- Remove noarch

* Thu May 11 2006 Luke Macken <lmacken at redhat.com> - 0.1.1a-1
- Packaged for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-mechanize/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 May 2006 21:08:20 -0000	1.1
+++ .cvsignore	14 May 2006 21:08:38 -0000	1.2
@@ -0,0 +1 @@
+mechanize-0.1.1a.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-mechanize/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 May 2006 21:08:20 -0000	1.1
+++ sources	14 May 2006 21:08:38 -0000	1.2
@@ -0,0 +1 @@
+23259f64e065a5c49b8fea233fe31f0c  mechanize-0.1.1a.tar.gz




More information about the fedora-extras-commits mailing list