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