update to 3.18.2 [release 3.18.2-1mamba;Tue Nov 24 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 10:38:19 +01:00
parent 7a387e52ff
commit 0107b9e43c

View File

@ -1,8 +1,8 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: pygobject
Version: 3.14.0
Release: 2mamba
Version: 3.18.2
Release: 1mamba
Summary: A convenient wrapper for the GObject+ library for use in Python programs
Group: System/Libraries
Vendor: openmamba
@ -18,8 +18,7 @@ BuildRequires: gobject-introspection-devel
BuildRequires: libcairo-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: libselinux-devel
BuildRequires: libz-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: py2cairo-devel
Requires: python >= %python_version
@ -28,26 +27,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyGTK, PyORBit and gnome-python, it can be used to write full featured Gnome applications.
%if "%?with_pyver"
%define pyver %{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%if "%{?with_pyver}"
%pyver_package
BuildRequires: py%{pyver}cairo
%package py%{pyver}
Group: System/Libraries/Python
Summary: A convenient wrapper for the GObject+ library for use in Python programs
Requires: py%{pyver}cairo
%py_requires
%description py%{pyver}
PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyGTK, PyORBit and gnome-python, it can be used to write full featured Gnome applications.
%endif
%package devel
@ -77,11 +59,7 @@ This package contains static libraries and header files need for development.
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%if "%?with_pyver"
%files py%{pyver}
%else
%files
%endif
%files %{?pyappend}
%defattr(-,root,root)
%{python_sitearch}/*
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so.*
@ -97,6 +75,9 @@ This package contains static libraries and header files need for development.
%doc ChangeLog NEWS README
%changelog
* Tue Nov 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-1mamba
- update to 3.18.2
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.0-2mamba
- support for -py3