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