2 Summary: AT-SPI Python bindings
3 Summary(pl.UTF-8): Wiązania AT-SPI dla Pythona
8 Group: Development/Languages/Python
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/pyatspi/2.8/%{module}-%{version}.tar.xz
10 # Source0-md5: 930f51c62cca60ebdf90f735d26385b2
11 URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
12 BuildRequires: pkgconfig
13 BuildRequires: python-devel >= 1:2.6
14 BuildRequires: python-distribute
15 BuildRequires: python-pygobject3-devel >= 3.0.0
16 BuildRequires: rpm-pythonprov
17 BuildRequires: tar >= 1:1.22
19 Requires: at-spi2-core >= 2.8.0
20 Requires: gobject-introspection
21 Requires: python-modules
22 Requires: python-pygobject3 >= 3.0.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This package provides AT-SPI Python bindings.
28 %description -l pl.UTF-8
29 Ten pakiet dostarcza wiązania AT-SPI dla Pythona.
31 %package -n python3-%{module}
32 Summary: AT-SPI Python 3 bindings
33 Summary(pl.UTF-8): Wiązania AT-SPI dla Pythona 3
34 Group: Development/Languages/Python
35 Requires: at-spi2-core >= 2.8.0
36 Requires: gobject-introspection
37 Requires: python3-modules
38 Requires: python3-pygobject3 >= 3.0.0
40 %description -n python3-%{module}
41 This package provides AT-SPI Python 3 bindings.
43 %description -n python3-%{module} -l pl.UTF-8
44 Ten pakiet dostarcza wiązania AT-SPI dla Pythona 3.
47 %setup -q -n %{module}-%{version}
53 --with-python="/usr/bin/python3"
60 --with-python="%{__python}"
65 rm -rf $RPM_BUILD_ROOT
67 %{__make} -C py3 install \
68 DESTDIR=$RPM_BUILD_ROOT
70 %{__make} -C py2 install \
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc AUTHORS NEWS README
79 %{py_sitescriptdir}/pyatspi
81 %files -n python3-%{module}
82 %defattr(644,root,root,755)
83 %{py3_sitescriptdir}/pyatspi