]> git.pld-linux.org Git - packages/python-mechanize.git/blame - python-mechanize.spec
- init version
[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
4Summary(pl): Biblioteka do automatycznej interakcji ze stronami WWW
5Name: python-%{module}
6Version: 0.1.6
7Release: 0.%{_beta}.1
8License: BSD
9Group: Development/Languages/Pytho
10Source0: http://wwwsearch.sourceforge.net/%{module}/src/%{module}-%{version}%{_beta}.tar.gz
11# Source0-md5: 98c27be9464f1342ede05784999d2757
12URL: http://wwwsearch.sourceforge.net
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
21%description -l pl
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)
43%dir %{py_sitescriptdir}/%{module}/
44%{py_sitescriptdir}/%{module}/*.py[oc]
This page took 0.053429 seconds and 4 git commands to generate.