Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:Factory
python-gobject2
python-gobject2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-gobject2.spec of Package python-gobject2
# # spec file for package python-gobject2 # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define local_py_requires %py_requires %define local_py_sitedir %{python2_sitearch} %define _name pygobject Name: python-gobject2 Version: 2.28.7 Release: 0 Summary: Python bindings for GObject License: LGPL-2.1-or-later URL: https://ftp.gnome.org/pub/GNOME/sources/pygobject/ Source: http://download.gnome.org/sources/pygobject/2.28/%{_name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: libffi-devel %{local_py_requires} BuildRequires: python-cairo-devel BuildRequires: python-devel Provides: python2-gobject2 = %{version} %description Pygobjects is an extension module for python that gives you access to GLib's GObjects. %package cairo %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo) Summary: Python bindings for GObject -- Cairo bindings Requires: %{name} = %{version} Supplements: (%{name} and %{cairo_real_package}) %description cairo Pygobjects is an extension module for python that gives you access to GLib's GObjects. This package contains the Python Cairo bindings for GObject. %package devel Summary: Python bindings for GObject Requires: %{name} = %{version} Provides: python-gobject2-doc = %{version} Obsoletes: python-gobject2-doc < %{version} Provides: python2-gobject2-devel = %{version} %description devel This package contains files required to build wrappers for gobject addon libraries such as pygtk. %prep %setup -q -n %{_name}-%{version} %build %configure --disable-static --disable-introspection %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print rm examples/Makefile* %fdupes %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS NEWS README ChangeLog examples %{local_py_sitedir}/glib/ %{local_py_sitedir}/gobject/ %dir %{local_py_sitedir}/gtk-2.0 %{local_py_sitedir}/gtk-2.0/dsextras.py* %{local_py_sitedir}/gtk-2.0/gio/ %{local_py_sitedir}/pygtk.* %{_libdir}/*.so.* %files devel %{_includedir}/pygtk-2.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/pygobject-2.0.pc ## codegen %{_bindir}/pygobject-codegen-2.0 %{_datadir}/%{_name}/2.0/codegen/ # we explicitly list the directories here to be sure we don't include something # that should live in the main package %dir %{_datadir}/%{_name} %dir %{_datadir}/%{_name}/2.0 %{_datadir}/%{_name}/2.0/defs/ %{_datadir}/%{_name}/xsl/ ## doc: we need the files there since building API docs for other python ## bindings require some files from here # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/pygobject/ %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