diff --git a/at-spi.spec b/at-spi.spec index 9977642..ac50202 100644 --- a/at-spi.spec +++ b/at-spi.spec @@ -1,3 +1,5 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + %define atk_version 1.13.0 %define gtk2_version 2.10.0 %define gail_version 1.9.0 @@ -57,6 +59,16 @@ Requires: pkgconfig Libraries and header files allowing compilation of apps that use at-spi. +%package python +Summary: Python bindings for at-spi +Group: Development/Libraries +Requires: %name = %{version}-%{release} +Requires: python + +%description python +Python bindings allowing to use at-spi in python programs. + + %prep %setup -q @@ -99,9 +111,15 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/* %{_includedir}/* +%files python +%defattr(-,root,root) +%{python_sitelib}/pyatspi/ + + %changelog * Mon Jun 4 2007 Matthias Clasen - 1.19.3-1 - Update to 1.19.3 +- Add a -python subpackage * Sun May 20 2007 Matthias Clasen - 1.19.1-1 - Update to 1.19.1