]> git.pld-linux.org Git - packages/python3-mechanize.git/blob - python3-mechanize.spec
- rel 1
[packages/python3-mechanize.git] / python3-mechanize.spec
1 %define         module  mechanize
2 Summary:        Library for automating interaction with web pages
3 Summary(pl.UTF-8):      Biblioteka do automatycznej interakcji ze stronami WWW
4 Name:           python3-%{module}
5 Version:        0.4.8
6 Release:        1
7 License:        BSD, ZPL 2.1
8 Group:          Development/Languages/Python
9 Source0:        https://github.com/python-mechanize/mechanize/archive/v%{version}/%{module}-%{version}.tar.gz
10 # Source0-md5:  0be3c261b6f44fee05fe2e5febbe8f76
11 URL:            https://github.com/python-mechanize/mechanize/
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 BuildRequires:  python3-modules
14 BuildRequires:  python3-setuptools
15 BuildRequires:  rpm-pythonprov
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Library for automating interaction with web pages.
21
22 %description -l pl.UTF-8
23 Biblioteka do automatycznej interakcji ze stronami WWW.
24
25 %prep
26 %setup -q -n %{module}-%{version}
27
28 %build
29 %py3_build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 %py3_install
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc COPYRIGHT LICENSE ChangeLog README.rst
41 %dir %{py3_sitescriptdir}/%{module}
42 %{py3_sitescriptdir}/%{module}/*.py
43 %{py3_sitescriptdir}/%{module}/__pycache__
44 %{py3_sitescriptdir}/mechanize-*.egg-info
This page took 0.108897 seconds and 4 git commands to generate.