Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5d9a889ab0 | ||
|
d9404975a9 | ||
|
cd1bca702e | ||
|
0f3e91a34d | ||
|
65e73f4cbb | ||
|
7856e54fbd | ||
|
ade4801379 | ||
|
a3effe1d0c | ||
|
7db5fe721b | ||
|
8f8bae3279 | ||
|
c0d8992d63 | ||
|
9a2a707853 | ||
|
d21cc9d043 | ||
|
de5038ee74 | ||
|
ba7b4534b0 | ||
|
12d8ec0b85 | ||
|
68f50a828e | ||
|
e962eea998 | ||
|
8250eeb4c7 | ||
|
f21ae9f748 | ||
|
bf27af4d37 |
114
pygobject3.spec
114
pygobject3.spec
@ -1,43 +1,44 @@
|
||||
# Last updated for version 3.18.0
|
||||
# Last updated for version 3.27.5
|
||||
%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} > 12
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
%global with_python3 1
|
||||
%define python3_version 3.1
|
||||
%define python3_version 3.4
|
||||
%endif
|
||||
|
||||
%global with_check 0
|
||||
|
||||
Name: pygobject3
|
||||
Version: 3.22.0
|
||||
Release: 1%{?dist}
|
||||
Version: 3.28.3
|
||||
Release: 3%{?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.22/pygobject-%{version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/pygobject/3.28/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
|
||||
BuildRequires: python3-cairo-devel >= %{pycairo_version}
|
||||
%endif # if with_python3
|
||||
|
||||
BuildRequires: cairo-gobject-devel
|
||||
BuildRequires: pycairo-devel
|
||||
|
||||
# Required by the upstream selftest suite:
|
||||
%if %{with_check}
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?with_python3}
|
||||
# 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: pyflakes
|
||||
BuildRequires: python-pep8
|
||||
#BuildRequires: python2-pyflakes
|
||||
BuildRequires: python2-pep8
|
||||
%endif
|
||||
## for the Gdk and Gtk typelibs, used during the test suite:
|
||||
BuildRequires: gtk3
|
||||
@ -54,22 +55,24 @@ BuildRequires: dbus-x11
|
||||
The %{name} package provides a convenient wrapper for the GObject library
|
||||
for use in Python programs.
|
||||
|
||||
%package -n python-gobject
|
||||
%package -n python2-gobject
|
||||
%{?python_provide:%python_provide python2-gobject}
|
||||
Summary: Python 2 bindings for GObject Introspection
|
||||
Requires: python-gobject-base%{?_isa} = %{version}-%{release}
|
||||
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
|
||||
# The cairo override module depends on this
|
||||
Requires: pycairo%{?_isa}
|
||||
Requires: python2-cairo%{?_isa} >= %{pycairo_version}
|
||||
|
||||
Obsoletes: %{name} < 3.17.90-2
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python-gobject
|
||||
%description -n python2-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 python-gobject-base
|
||||
%package -n python2-gobject-base
|
||||
%{?python_provide:%python_provide python2-gobject-base}
|
||||
Summary: Python 2 bindings for GObject Introspection base package
|
||||
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
|
||||
|
||||
@ -77,7 +80,7 @@ Obsoletes: %{name}-base < 3.17.90-2
|
||||
Provides: %{name}-base = %{version}-%{release}
|
||||
Provides: %{name}-base%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python-gobject-base
|
||||
%description -n python2-gobject-base
|
||||
This package provides the non-cairo specific bits of the GObject Introspection
|
||||
library.
|
||||
|
||||
@ -86,7 +89,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}
|
||||
Requires: python3-cairo%{?_isa} >= %{pycairo_version}
|
||||
|
||||
%description -n python3-gobject
|
||||
The python3-gobject package provides a convenient wrapper for the GObject
|
||||
@ -105,7 +108,7 @@ library.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for embedding PyGObject introspection support
|
||||
Requires: python-gobject%{?_isa} = %{version}-%{release}
|
||||
Requires: python2-gobject%{?_isa} = %{version}-%{release}
|
||||
%if 0%{?with_python3}
|
||||
Requires: python3-gobject%{?_isa} = %{version}-%{release}
|
||||
%endif
|
||||
@ -183,12 +186,12 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
|
||||
%endif # with_check
|
||||
|
||||
%files -n python-gobject
|
||||
%files -n python2-gobject
|
||||
%{python_sitearch}/gi/_gi_cairo.so
|
||||
|
||||
%files -n python-gobject-base
|
||||
%files -n python2-gobject-base
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
%doc NEWS
|
||||
%dir %{python_sitearch}/gi
|
||||
%{python_sitearch}/gi/*
|
||||
%exclude %{python_sitearch}/gi/_gi_cairo.so
|
||||
@ -201,7 +204,7 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
|
||||
%files -n python3-gobject-base
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
%doc NEWS
|
||||
%dir %{python3_sitearch}/gi
|
||||
%{python3_sitearch}/gi/*
|
||||
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
||||
@ -216,6 +219,71 @@ 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