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) %define majver %(echo %version | cut -d. -f 1-2)
Name: pygobject Name: pygobject
Version: 3.14.0 Version: 3.18.2
Release: 2mamba Release: 1mamba
Summary: A convenient wrapper for the GObject+ library for use in Python programs Summary: A convenient wrapper for the GObject+ library for use in Python programs
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -18,8 +18,7 @@ BuildRequires: gobject-introspection-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libselinux-devel BuildRequires: libpython-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: py2cairo-devel BuildRequires: py2cairo-devel
Requires: python >= %python_version Requires: python >= %python_version
@ -28,26 +27,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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" %if "%{?with_pyver}"
%define pyver %{with_pyver} %pyver_package
%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})
BuildRequires: py%{pyver}cairo 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 %endif
%package devel %package devel
@ -77,11 +59,7 @@ This package contains static libraries and header files need for development.
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%if "%?with_pyver" %files %{?pyappend}
%files py%{pyver}
%else
%files
%endif
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/* %{python_sitearch}/*
#%{_libdir}/libpyglib-gi-2.0-python%{python_version}.so.* #%{_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 %doc ChangeLog NEWS README
%changelog %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 * Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.0-2mamba
- support for -py3 - support for -py3