]> git.pld-linux.org Git - packages/python3-mechanize.git/blob - python-mechanize.spec
- tabs in preamble
[packages/python3-mechanize.git] / python-mechanize.spec
1 %define         module mechanize
2 %define         _beta b
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.1.6
7 Release:        0.%{_beta}.2
8 License:        BSD
9 Group:          Development/Languages/Python
10 Source0:        http://wwwsearch.sourceforge.net/%{module}/src/%{module}-%{version}%{_beta}.tar.gz
11 # Source0-md5:  98c27be9464f1342ede05784999d2757
12 URL:            http://wwwsearch.sourceforge.net
13 %pyrequires_eq  python-modules
14 BuildRequires:  python >= 1:2.3
15 BuildRequires:  python-devel >= 1:2.3
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Library for automating interaction with web pages.
20
21 %description -l pl.UTF-8
22 Biblioteka do automatycznej interakcji ze stronami WWW.
23
24 %prep
25 %setup -q -n %{module}-%{version}%{_beta}
26
27 %build
28 python setup.py build 
29
30 %install
31 python setup.py install \
32     --root=$RPM_BUILD_ROOT \
33     --optimize=2
34
35 %py_postclean %{_datadir}/%{name}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %doc COPYING.txt README.html ChangeLog.txt
42 %defattr(644,root,root,755)
43 %dir %{py_sitescriptdir}/%{module}/
44 %{py_sitescriptdir}/%{module}/*.py[oc]
This page took 0.071495 seconds and 4 git commands to generate.