%define majver %(echo %version | cut -d. -f 1-2) Name: python-gnome Version: 2.28.1 Release: 2mamba Summary: Python bindings for GNOME called PyGNOME Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.pygtk.org/ Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-python/%{majver}/gnome-python-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: glibc-devel BuildRequires: libart_lgpl-devel BuildRequires: libatk-devel BuildRequires: libbonobo-devel BuildRequires: libbonoboui-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgnome-devel BuildRequires: libgnomeui-devel BuildRequires: libgnome-vfs-devel BuildRequires: libgtk-devel BuildRequires: libICE-devel BuildRequires: libpango-devel BuildRequires: libpopt-devel BuildRequires: libpython-devel BuildRequires: libSM-devel BuildRequires: libz-devel BuildRequires: ORBit2-devel ## AUTOBUILDREQ-END BuildRequires: pygtk-devel BuildRequires: pyorbit-devel BuildRequires: ORBit-devel BuildRequires: libgnomeprintui-devel BuildRequires: libxml2-devel BuildRequires: libgtkhtml-devel BuildRequires: libgnomeprint BuildRequires: libgnome-keyring-devel BuildRequires: libgail-devel BuildRequires: libXft-devel BuildRequires: libXcursor-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXft-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: pygtk Requires: pyorbit Provides: gnome-python Obsoletes: gnome-python # fixme (build requirement) # - libnautilus >= 2.0.0 # - libpanelapplet-2.0 >= 2.0.0 %description The gnome-python package contains the source packages for the Python bindings for GNOME called PyGNOME. PyGNOME is an extension module for Python that provides access to the base GNOME libraries, so you have access to more widgets, a simple configuration interface, and metadata support. %package devel Summary: Devel package for %{name} Group: Development/Bindings Requires: %{name} = %{version} Obsoletes: gnome-python-devel Provides: gnome-python-devel %description devel The gnome-python package contains the source packages for the Python bindings for GNOME called PyGNOME. PyGNOME is an extension module for Python that provides access to the base GNOME libraries, so you have access to more widgets, a simple configuration interface, and metadata support. This package contains static libraries and header files need for development. %prep %setup -q -n gnome-python-%{version} %build %configure \ PYTHON=%{__python} %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_libdir}/python?.?/site-packages/gtk-2.0 %{_libdir}/python?.?/site-packages/gtk-2.0/*.la %{_libdir}/python?.?/site-packages/gtk-2.0/*.so %{_libdir}/python?.?/site-packages/gtk-2.0/bonobo/* #%{_libdir}/python?.?/gtk-2.0/bonobo/*.la #%{_libdir}/python?.?/gtk-2.0/bonobo/*.so %{_libdir}/python?.?/site-packages/gtk-2.0/gnome/*.py* %{_libdir}/python?.?/site-packages/gtk-2.0/gnome/*.la %{_libdir}/python?.?/site-packages/gtk-2.0/gnome/*.so #%{_libdir}/python?.?/gtk-2.0/gnomeprint/*.py* #%{_libdir}/python?.?/gtk-2.0/gnomeprint/*.la #%{_libdir}/python?.?/gtk-2.0/gnomeprint/*.so %{_libdir}/python?.?/site-packages/gtk-2.0/gnomevfs/*.py* %{_libdir}/python?.?/site-packages/gtk-2.0/gnomevfs/*.la %{_libdir}/python?.?/site-packages/gtk-2.0/gnomevfs/*.so %{_libdir}/gnome-vfs-2.0/modules/libpythonmethod.la %{_libdir}/gnome-vfs-2.0/modules/libpythonmethod.so %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %files devel %defattr(-,root,root) %{_includedir}/gnome-python-2.0/pygnomevfs.h %{_includedir}/gnome-python-2.0/pygnomevfsbonobo.h %{_datadir}/pygtk/2.0/defs/*.defs %{_datadir}/pygtk/2.0/argtypes/* %{_libdir}/pkgconfig/*.pc %dir %{_datadir}/gtk-doc/html/pygnomevfs %{_datadir}/gtk-doc/html/pygnomevfs/*.html %{_datadir}/gtk-doc/html/pygnomevfs/index.sgml %{_datadir}/gtk-doc/html/pygnomevfs/pygnomevfs.devhelp %changelog * Sun Jun 02 2013 Silvan Calarco 2.28.1-2mamba - python 2.7 rebuild * Sun May 16 2010 Automatic Build System 2.28.1-1mamba - automatic update to 2.28.1 by autodist * Mon Sep 28 2009 Automatic Build System 2.28.0-1mamba - automatic update to 2.28.0 by autodist * Fri Aug 28 2009 Silvan Calarco 2.26.1-1mamba - update to 2.26.1 * Thu Dec 04 2008 Silvan Calarco 2.22.3-2mamba - rebuilt with python 2.6 * Sat Nov 01 2008 gil 2.22.3-1mamba - update to 2.22.3 * Tue Oct 09 2007 Silvan Calarco 2.20.0-1mamba - update to 2.20.0 - renamed to python-gnome * Mon Feb 05 2007 Silvan Calarco 2.16.2-1qilnx - update to version 2.16.2 by autospec * Mon Feb 05 2007 Silvan Calarco 2.10.0-3qilnx - rebuilt * Tue Aug 09 2005 Silvan Calarco 2.10.0-2qilnx - fix python library install dir * Tue Aug 09 2005 Silvan Calarco 2.10.0-1qilnx - update to version 2.10.0 by autospec * Thu Nov 25 2004 Davide Madrisan 2.6.1-1qilnx - package created by autospec