]> git.pld-linux.org Git - packages/python-mechanize.git/blame - python-mechanize.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-mechanize.git] / python-mechanize.spec
CommitLineData
99526896 1%define module mechanize
886bd95e 2%define extraver %{nil}
258edb59 3Summary: Library for automating interaction with web pages
0a3f642e 4Summary(pl.UTF-8): Biblioteka do automatycznej interakcji ze stronami WWW
258edb59 5Name: python-%{module}
40f12b87 6Version: 0.2.5
d3810cfc 7Release: 3
a5f360a4 8License: BSD, ZPL 2.1
d5855ba1 9Group: Development/Languages/Python
dfca3e2b 10Source0: http://wwwsearch.sourceforge.net/mechanize/src/%{module}-%{version}%{extraver}.tar.gz
40f12b87 11# Source0-md5: 32657f139fc2fb75bcf193b63b8c60b2
7e42cab0 12URL: http://wwwsearch.sourceforge.net/
f31cfd66 13BuildRequires: rpmbuild(macros) >= 1.710
dfca3e2b
ER
14BuildRequires: python >= 1:2.3
15BuildRequires: python-devel >= 1:2.3
66117fc1 16BuildRequires: python-modules
dfca3e2b 17BuildRequires: python-setuptools
66117fc1 18BuildRequires: rpm-pythonprov
8918d8d0 19Requires: python-ClientForm >= 0.2.6
9b2860df 20Requires: python-modules
258edb59
JK
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Library for automating interaction with web pages.
25
131786f7 26%description -l pl.UTF-8
258edb59
JK
27Biblioteka do automatycznej interakcji ze stronami WWW.
28
29%prep
dfca3e2b 30%setup -q -n %{module}-%{version}%{extraver}
258edb59
JK
31
32%build
8c18a1f2 33%py_build
258edb59
JK
34
35%install
dfca3e2b 36rm -rf $RPM_BUILD_ROOT
8c18a1f2 37%py_install
258edb59
JK
38
39%py_postclean %{_datadir}/%{name}
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
258edb59 45%defattr(644,root,root,755)
86bf5307 46%doc COPYING.txt
7e42cab0 47%dir %{py_sitescriptdir}/%{module}
258edb59 48%{py_sitescriptdir}/%{module}/*.py[oc]
dfca3e2b
ER
49%if "%{py_ver}" > "2.4"
50%{py_sitescriptdir}/mechanize-*.egg-info
51%endif
This page took 0.078628 seconds and 4 git commands to generate.