!2 pygobject3 update to 3.36.1
Merge pull request !2 from yixiangzhike/master
This commit is contained in:
commit
050617f0be
Binary file not shown.
BIN
pygobject-3.36.1.tar.xz
Normal file
BIN
pygobject-3.36.1.tar.xz
Normal file
Binary file not shown.
@ -1,14 +1,14 @@
|
|||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
|
|
||||||
Name: pygobject3
|
Name: pygobject3
|
||||||
Version: 3.30.1
|
Version: 3.36.1
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Provides bindings for GObject based libraries
|
Summary: Provides bindings for GObject based libraries
|
||||||
License: LGPLv2+ and MIT
|
License: LGPLv2+ and MIT
|
||||||
URL: https://wiki.gnome.org/Projects/PyGObject
|
URL: https://wiki.gnome.org/Projects/PyGObject
|
||||||
Source0: https://download.gnome.org/sources/pygobject/3.30/pygobject-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/pygobject/3.36/pygobject-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= 2.38.0 gobject-introspection-devel >= 1.46.0
|
BuildRequires: glib2-devel >= 2.48.0 gobject-introspection-devel >= 1.46.0
|
||||||
BuildRequires: meson cairo-gobject-devel python2-devel >= 2.7 python2-cairo-devel >= 1.11.1
|
BuildRequires: meson cairo-gobject-devel python2-devel >= 2.7 python2-cairo-devel >= 1.11.1
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel >= 3.4 python3-cairo-devel >= 1.11.1
|
BuildRequires: python3-devel >= 3.4 python3-cairo-devel >= 1.11.1
|
||||||
@ -27,7 +27,6 @@ Summary: GObject library wrapper for python 2
|
|||||||
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
|
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
|
||||||
Requires: python2-cairo%{?_isa} >= 1.11.1
|
Requires: python2-cairo%{?_isa} >= 1.11.1
|
||||||
|
|
||||||
Obsoletes: %{name}
|
|
||||||
Provides: %{name} = %{version}-%{release}
|
Provides: %{name} = %{version}-%{release}
|
||||||
Provides: %{name}%{?_isa} = %{version}-%{release}
|
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -41,7 +40,6 @@ for use in Python 2 programs.
|
|||||||
Summary: base package for python2-gobject package
|
Summary: base package for python2-gobject package
|
||||||
Requires: gobject-introspection%{?_isa}
|
Requires: gobject-introspection%{?_isa}
|
||||||
|
|
||||||
Obsoletes: %{name}-base
|
|
||||||
Provides: %{name}-base = %{version}-%{release}
|
Provides: %{name}-base = %{version}-%{release}
|
||||||
Provides: %{name}-base%{?_isa} = %{version}-%{release}
|
Provides: %{name}-base%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -79,7 +77,7 @@ Requires: gobject-introspection-devel%{?_isa}
|
|||||||
This package contains files required to embed PyGObject
|
This package contains files required to embed PyGObject
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pygobject-%{version}
|
%autosetup -n pygobject-%{version} -p1
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
@ -118,7 +116,7 @@ popd
|
|||||||
%dir %{python2_sitearch}/gi
|
%dir %{python2_sitearch}/gi
|
||||||
%{python2_sitearch}/gi/*
|
%{python2_sitearch}/gi/*
|
||||||
%{python2_sitearch}/pygtkcompat/
|
%{python2_sitearch}/pygtkcompat/
|
||||||
%{python2_sitelib}/PyGObject-*.egg-info
|
%{python2_sitearch}/PyGObject-*.egg-info
|
||||||
%exclude %{python2_sitearch}/gi/_gi_cairo.so
|
%exclude %{python2_sitearch}/gi/_gi_cairo.so
|
||||||
|
|
||||||
%files -n python3-gobject
|
%files -n python3-gobject
|
||||||
@ -131,7 +129,7 @@ popd
|
|||||||
%{python3_sitearch}/gi/*
|
%{python3_sitearch}/gi/*
|
||||||
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
||||||
%{python3_sitearch}/pygtkcompat/
|
%{python3_sitearch}/pygtkcompat/
|
||||||
%{python3_sitelib}/PyGObject-*.egg-info
|
%{python3_sitearch}/PyGObject-*.egg-info
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/pygobject-3.0/pygobject.h
|
%{_includedir}/pygobject-3.0/pygobject.h
|
||||||
@ -140,5 +138,11 @@ popd
|
|||||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 27 2020 zhangxingliang <zhangxingliang3@huawei.com> - 3.36.1-1
|
||||||
|
- Type:update
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update to 3.36.1
|
||||||
|
|
||||||
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-2
|
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.1-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user