]> git.pld-linux.org Git - SPECS.git/blob - python-autopy.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-autopy.spec
1 %define         module  autopy
2 Summary:        A simple, cross-platform GUI automation toolkit for Python.
3 Summary(pl.UTF-8):      Proste wieloplatforme narzędzie automaytzacji GUI dla Pythona.
4 Name:           python-%{module}
5 Version:        0.51
6 Release:        0.1
7 License:        MIT
8 Group:          Libraries/Python
9 Source0:        https://pypi.python.org/packages/source/a/autopy/autopy-0.51.tar.gz
10 # Source0-md5:  b92055aa2a3712a9c3b4c874014b450e
11 URL:            http://www.autopy.org/
12 BuildRequires:  python-devel
13 BuildRequires:  python-distribute
14 BuildRequires:  rpm-pythonprov
15 # if py_postclean is used
16 BuildRequires:  rpmbuild(macros) >= 1.710
17 Requires:               python-modules
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 AutoPy is a simple, cross-platform GUI automation toolkit for Python. It includes functions for controlling the keyboard and mouse, finding colors and bitmaps on-screen, and displaying alerts -- 
22 all in a cross-platform, efficient, and simple manner.
23
24 %description -l pl.UTF-8
25 AutoPy to proste wieloplatforme narzędzie automaytzacji GUI dla Pythona.
26 Zawiera funkcje do kontorli klawiatury i myszki, wynajdywania kolorów i bitma na ekranie, oraz wyświetlania dialogów ostrzeżeń.
27 Wszystko w międzyplaformowy, efektywny i prosty sposób.
28
29 %prep
30 %setup -q -n %{module}-%{version}
31
32
33 %build
34 %py_build
35
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %py_install
40
41 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
42 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
43 %py_postclean
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %dir %{py_sitedir}/%{module}
51 %{py_sitedir}/%{module}/*.py[co]
52 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
53 %if "%{py_ver}" > "2.4"
54 %{py_sitedir}/%{module}-%{version}-*.egg-info
55 %endif
56
This page took 0.415644 seconds and 3 git commands to generate.