python-gnome/python-gnome.spec

166 lines
5.3 KiB
RPMSpec
Raw Permalink Normal View History

%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: Silvan Calarco <silvan.calarco@mambasoft.it>
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 %{python_sitearch}/gtk-2.0
%{python_sitearch}/gtk-2.0/*.la
%{python_sitearch}/gtk-2.0/*.so
%dir %{python_sitearch}/gtk-2.0/bonobo
%{python_sitearch}/gtk-2.0/bonobo/*
%dir %{python_sitearch}/gtk-2.0/gnome
%{python_sitearch}/gtk-2.0/gnome/*.py*
%{python_sitearch}/gtk-2.0/gnome/*.la
%{python_sitearch}/gtk-2.0/gnome/*.so
%dir %{python_sitearch}/gtk-2.0/gnomevfs
%{python_sitearch}/gtk-2.0/gnomevfs/*.py*
%{python_sitearch}/gtk-2.0/gnomevfs/*.la
%{python_sitearch}/gtk-2.0/gnomevfs/*.so
%{_datadir}/pygtk/2.0/defs/*.defs
%{_datadir}/pygtk/2.0/argtypes/*
%{_libdir}/gnome-vfs-2.0/modules/libpythonmethod.la
%{_libdir}/gnome-vfs-2.0/modules/libpythonmethod.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/gnome-python-2.0/pygnomevfs.h
%{_includedir}/gnome-python-2.0/pygnomevfsbonobo.h
%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
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog INSTALL NEWS README
%changelog
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.28.1-2mamba
- python 2.7 rebuild
* Sun May 16 2010 Automatic Build System <autodist@mambasoft.it> 2.28.1-1mamba
- automatic update to 2.28.1 by autodist
* Mon Sep 28 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- automatic update to 2.28.0 by autodist
* Fri Aug 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.1-1mamba
- update to 2.26.1
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.3-2mamba
- rebuilt with python 2.6
* Sat Nov 01 2008 gil <puntogil@libero.it> 2.22.3-1mamba
- update to 2.22.3
* Tue Oct 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.20.0-1mamba
- update to 2.20.0
- renamed to python-gnome
* Mon Feb 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16.2-1qilnx
- update to version 2.16.2 by autospec
* Mon Feb 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-3qilnx
- rebuilt
* Tue Aug 09 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-2qilnx
- fix python library install dir
* Tue Aug 09 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-1qilnx
- update to version 2.10.0 by autospec
* Thu Nov 25 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.6.1-1qilnx
- package created by autospec