rebuilt with distdeps [release 3.40.1-2mamba;Sat Apr 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:38:19 +01:00
parent 01bc802aa8
commit dd0b5a7882

View File

@ -1,15 +1,15 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: pygobject
Version: 3.32.2
Version: 3.40.1
Release: 2mamba
Summary: A convenient wrapper for the GObject+ library for use in Python programs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.pygtk.org
Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/%{majver}/pygobject-%{version}.tar.xz
URL: https://www.pygtk.org
Source: https://download.gnome.org/sources/pygobject/%{majver}/pygobject-%{version}.tar.xz
Patch0: %{name}-2.12.3-buildroot_fix.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
@ -18,19 +18,9 @@ BuildRequires: gobject-introspection-devel
BuildRequires: libcairo-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(pycairo)
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.7.4
BuildRequires: pycairo-devel
%if "%{?with_pyver}"
BuildRequires: pycairo-py%{with_pyver}
Requires: pycairo-py%{with_pyver}
%else
BuildRequires: pycairo
Requires: pycairo
%endif
Requires: python >= %python_version
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.
@ -42,7 +32,6 @@ PyGObject provides a convenient wrapper for the GObject+ library for use in Pyth
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
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.
@ -64,13 +53,15 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/PyGObject-%{version}-py*.egg-info
%{python_sitearch}/PyGObject-%{version}-py*.egg-info/*
%exclude %{_includedir}
%exclude %{_libdir}/pkgconfig
%doc COPYING
@ -83,6 +74,18 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%doc NEWS
%changelog
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.40.1-2mamba
- rebuilt with distdeps
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 3.40.1-1mamba
- automatic version update by autodist
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 3.40.0-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.38.0-1mamba
- automatic version update by autodist
* Sat Sep 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.2-2mamba
- exclude devel files from main packages