Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
python-gnome
python-gnome.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-gnome.spec of Package python-gnome
# # spec file for package python-gnome # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-gnome %define _name gnome-python Version: 2.28.1 Release: 0 Summary: Python bindings for GNOME License: LGPL-2.1+ Group: Development/Libraries/Python Url: ftp://ftp.gnome.org/pub/gnome/sources/gnome-python Source: %{_name}-%{version}.tar.bz2 Source1: README.openSUSE Source99: baselibs.conf BuildRequires: fdupes BuildRequires: libbonobo-devel BuildRequires: libgnome-devel BuildRequires: libgnomeui-devel BuildRequires: python-devel BuildRequires: python-gtk-devel BuildRequires: python-orbit-devel Requires: python-bonobo Requires: python-gnomecanvas Requires: python-gtk # Explicitly require all subpackages, so packages depending on python-gnome get # all modules. Note that the Requires above are really needed by the # python-gnome bindings. #Requires: python-bonobo Requires: python-gconf #Requires: python-gnomecanvas Requires: python-gnomevfs BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %description This package contains Python bindings for libgnome and libgnomeui. %package -n python-bonobo Summary: Python bindings for Bonobo Group: Development/Libraries/Python Requires: python-gnomecanvas Requires: python-gtk Requires: python-orbit %py_requires %description -n python-bonobo This package contains Python bindings for Bonobo. %package -n python-gconf Summary: Python bindings for GConf Group: Development/Libraries/Python Requires: python-gobject2 %py_requires %description -n python-gconf This package contains Python bindings for GConf. %package -n python-gnomecanvas Summary: Python bindings for libgnomecanvas Group: Development/Libraries/Python Requires: python-gtk %py_requires %description -n python-gnomecanvas This package contains Python bindings for libgnomecanvas. %package -n python-gnomevfs Summary: Python bindings for GNOME-VFS Group: Development/Libraries/Python Requires: python-gobject2 %py_requires %description -n python-gnomevfs This package contains Python bindings for GNOME-VFS. %package devel Summary: Headers for python-gnome Group: Development/Libraries/Python # This will bring in all subpackages Requires: %{name} = %{version} Requires: python-gtk-devel %description devel Headers for python-gnome %prep %setup -q -n %{_name}-%{version} cp -a %{S:1} . %build %configure --disable-static make %{?_smp_mflags} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %fdupes %{buildroot}%{py_sitedir} %fdupes %{buildroot}%{_datadir} %clean rm -rf %{buildroot} # python-gnome %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README.openSUSE %dir %{py_sitedir}/gtk-2.0/gnome %{py_sitedir}/gtk-2.0/gnome/__init__.py* %{py_sitedir}/gtk-2.0/gnome/_gnome.so %{py_sitedir}/gtk-2.0/gnome/ui.so %files -n python-bonobo %defattr(-,root,root) %doc COPYING %{py_sitedir}/gtk-2.0/bonobo/ %files -n python-gconf %defattr(-,root,root) %doc COPYING %{py_sitedir}/gtk-2.0/gconf.so %files -n python-gnomecanvas %defattr(-,root,root) %doc COPYING %{py_sitedir}/gtk-2.0/gnome/canvas.py* %{py_sitedir}/gtk-2.0/gnomecanvas.so %files -n python-gnomevfs %defattr(-,root,root) %doc COPYING %{py_sitedir}/gtk-2.0/gnome/vfs.py* %{py_sitedir}/gtk-2.0/gnomevfs/ %{_libdir}/gnome-vfs-2.0/modules/libpythonmethod.so %files devel %defattr(-,root,root) %doc examples/ %{_includedir}/%{_name}-2.0/ %{_libdir}/pkgconfig/gnome-python-2.0.pc # while in theory, this directory should be created and owned by python-gtk, # there's nothing else using it, so we just own it here %dir %{_datadir}/pygtk/2.0/argtypes %{_datadir}/pygtk/2.0/argtypes/*.py* %{_datadir}/pygtk/2.0/defs/*.defs %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/pygnomevfs/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor