Compare commits
No commits in common. "master" and "f25" have entirely different histories.
114
pygobject3.spec
114
pygobject3.spec
@ -1,44 +1,43 @@
|
||||
# Last updated for version 3.27.5
|
||||
# Last updated for version 3.18.0
|
||||
%define glib2_version 2.38.0
|
||||
%define gobject_introspection_version 1.46.0
|
||||
%define pycairo_version 1.11.1
|
||||
%define python2_version 2.7
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
%if 0%{?fedora} > 12
|
||||
%global with_python3 1
|
||||
%define python3_version 3.4
|
||||
%define python3_version 3.1
|
||||
%endif
|
||||
|
||||
%global with_check 0
|
||||
|
||||
Name: pygobject3
|
||||
Version: 3.28.3
|
||||
Release: 3%{?dist}
|
||||
Version: 3.22.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Python bindings for GObject Introspection
|
||||
|
||||
License: LGPLv2+ and MIT
|
||||
URL: https://wiki.gnome.org/Projects/PyGObject
|
||||
Source0: https://download.gnome.org/sources/pygobject/3.28/pygobject-%{version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/pygobject/3.22/pygobject-%{version}.tar.xz
|
||||
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
||||
BuildRequires: python2-devel >= %{python2_version}
|
||||
BuildRequires: python2-cairo-devel >= %{pycairo_version}
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel >= %{python3_version}
|
||||
BuildRequires: python3-cairo-devel >= %{pycairo_version}
|
||||
BuildRequires: python3-cairo-devel
|
||||
%endif # if with_python3
|
||||
|
||||
BuildRequires: cairo-gobject-devel
|
||||
BuildRequires: pycairo-devel
|
||||
|
||||
# Required by the upstream selftest suite:
|
||||
%if %{with_check}
|
||||
%if 0%{?with_python3}
|
||||
%if 0%{?fedora}
|
||||
# Temporarily disabled pyflakes tests to avoid the build failing due to too new
|
||||
# pyflakes 0.7.2 in F19
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=701009
|
||||
#BuildRequires: python2-pyflakes
|
||||
BuildRequires: python2-pep8
|
||||
#BuildRequires: pyflakes
|
||||
BuildRequires: python-pep8
|
||||
%endif
|
||||
## for the Gdk and Gtk typelibs, used during the test suite:
|
||||
BuildRequires: gtk3
|
||||
@ -55,24 +54,22 @@ BuildRequires: dbus-x11
|
||||
The %{name} package provides a convenient wrapper for the GObject library
|
||||
for use in Python programs.
|
||||
|
||||
%package -n python2-gobject
|
||||
%{?python_provide:%python_provide python2-gobject}
|
||||
%package -n python-gobject
|
||||
Summary: Python 2 bindings for GObject Introspection
|
||||
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
|
||||
Requires: python-gobject-base%{?_isa} = %{version}-%{release}
|
||||
# The cairo override module depends on this
|
||||
Requires: python2-cairo%{?_isa} >= %{pycairo_version}
|
||||
Requires: pycairo%{?_isa}
|
||||
|
||||
Obsoletes: %{name} < 3.17.90-2
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python2-gobject
|
||||
%description -n python-gobject
|
||||
The python-gobject package provides a convenient wrapper for the GObject
|
||||
library and and other libraries that are compatible with GObject Introspection,
|
||||
for use in Python 2 programs.
|
||||
|
||||
%package -n python2-gobject-base
|
||||
%{?python_provide:%python_provide python2-gobject-base}
|
||||
%package -n python-gobject-base
|
||||
Summary: Python 2 bindings for GObject Introspection base package
|
||||
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
|
||||
|
||||
@ -80,7 +77,7 @@ Obsoletes: %{name}-base < 3.17.90-2
|
||||
Provides: %{name}-base = %{version}-%{release}
|
||||
Provides: %{name}-base%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python2-gobject-base
|
||||
%description -n python-gobject-base
|
||||
This package provides the non-cairo specific bits of the GObject Introspection
|
||||
library.
|
||||
|
||||
@ -89,7 +86,7 @@ library.
|
||||
Summary: Python 3 bindings for GObject Introspection
|
||||
Requires: python3-gobject-base%{?_isa} = %{version}-%{release}
|
||||
# The cairo override module depends on this
|
||||
Requires: python3-cairo%{?_isa} >= %{pycairo_version}
|
||||
Requires: python3-cairo%{?_isa}
|
||||
|
||||
%description -n python3-gobject
|
||||
The python3-gobject package provides a convenient wrapper for the GObject
|
||||
@ -108,7 +105,7 @@ library.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for embedding PyGObject introspection support
|
||||
Requires: python2-gobject%{?_isa} = %{version}-%{release}
|
||||
Requires: python-gobject%{?_isa} = %{version}-%{release}
|
||||
%if 0%{?with_python3}
|
||||
Requires: python3-gobject%{?_isa} = %{version}-%{release}
|
||||
%endif
|
||||
@ -186,12 +183,12 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
|
||||
%endif # with_check
|
||||
|
||||
%files -n python2-gobject
|
||||
%files -n python-gobject
|
||||
%{python_sitearch}/gi/_gi_cairo.so
|
||||
|
||||
%files -n python2-gobject-base
|
||||
%files -n python-gobject-base
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%doc AUTHORS NEWS README
|
||||
%dir %{python_sitearch}/gi
|
||||
%{python_sitearch}/gi/*
|
||||
%exclude %{python_sitearch}/gi/_gi_cairo.so
|
||||
@ -204,7 +201,7 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
|
||||
%files -n python3-gobject-base
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%doc AUTHORS NEWS README
|
||||
%dir %{python3_sitearch}/gi
|
||||
%{python3_sitearch}/gi/*
|
||||
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
||||
@ -219,71 +216,6 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||
|
||||
%changelog
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.28.3-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Jun 01 2018 Kalev Lember <klember@redhat.com> - 3.28.3-1
|
||||
- Update to 3.28.3
|
||||
|
||||
* Wed Mar 28 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
|
||||
- Update to 3.28.2
|
||||
|
||||
* Mon Mar 19 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
|
||||
- Update to 3.28.1
|
||||
|
||||
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
||||
- Update to 3.28.0
|
||||
|
||||
* Sat Mar 03 2018 Kalev Lember <klember@redhat.com> - 3.27.5-1
|
||||
- Update to 3.27.5
|
||||
|
||||
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.27.1-3
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.27.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Dec 20 2017 Kalev Lember <klember@redhat.com> - 3.27.1-1
|
||||
- Update to 3.27.1
|
||||
|
||||
* Wed Nov 01 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
|
||||
- Update to 3.26.1
|
||||
|
||||
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 3.26.0-2
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
|
||||
- Update to 3.26.0
|
||||
|
||||
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.24.1-5
|
||||
- Rename python-gobject-base to python2-gobject-base as well
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.24.1-4
|
||||
- Python 2 binary package renamed to python2-pygobject3
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Apr 11 2017 Kalev Lember <klember@redhat.com> - 3.24.1-1
|
||||
- Update to 3.24.1
|
||||
|
||||
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 3.24.0-1
|
||||
- Update to 3.24.0
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.22.0-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Mon Sep 19 2016 Kalev Lember <klember@redhat.com> - 3.22.0-1
|
||||
- Update to 3.22.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user