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