2024-01-06 10:38:19 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: pygobject
|
2024-05-03 18:48:00 +02:00
|
|
|
Version: 3.48.2
|
2024-05-07 16:25:11 +02:00
|
|
|
Release: 2mamba
|
2024-01-06 10:38:19 +01:00
|
|
|
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>
|
2024-05-03 18:48:00 +02:00
|
|
|
URL: https://pygobject.gnome.org/
|
2024-01-06 10:38:19 +01:00
|
|
|
Source: https://download.gnome.org/sources/pygobject/%{majver}/pygobject-%{version}.tar.xz
|
2024-01-06 10:38:19 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 10:38:19 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2024-01-06 10:38:19 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 10:38:20 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(pycairo)
|
2024-01-06 10:38:19 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-05-03 18:48:00 +02:00
|
|
|
BuildRequires: python-meson-py3
|
2024-01-06 10:38:20 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 10:38:19 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%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.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-05-03 18:48:00 +02:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%define py_requires_append \
|
2024-05-07 16:25:11 +02:00
|
|
|
Provides: pygobject-devel \
|
2024-05-03 18:48:00 +02:00
|
|
|
Obsoletes: pygobject-py310 < 3.48.2 \
|
|
|
|
Obsoletes: pygobject-devel < 3.48.2
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-05-03 18:48:00 +02:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 10:38:19 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-05-03 18:48:00 +02:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 10:38:19 +01:00
|
|
|
|
2024-05-03 18:48:00 +02:00
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endi
|
2024-01-06 10:38:19 +01:00
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
[ -e %{buildroot}%{_prefix}/lib/pkgconfig ] && {
|
|
|
|
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-05-03 18:48:00 +02:00
|
|
|
%files %{?pyappend}
|
2024-01-06 10:38:19 +01:00
|
|
|
%defattr(-,root,root)
|
2024-05-03 18:48:00 +02:00
|
|
|
%dir %{python_sitearch}/pygobject-%{version}.dist-info
|
|
|
|
%{python_sitearch}/pygobject-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitearch}/gi
|
|
|
|
%{python_sitearch}/gi/*
|
|
|
|
%dir %{python_sitearch}/pygtkcompat
|
|
|
|
%{python_sitearch}/pygtkcompat/*
|
|
|
|
%{_includedir}/python*/pygobject/pygobject-3.0/pygobject.h
|
2024-01-06 10:38:19 +01:00
|
|
|
%doc COPYING
|
2024-01-06 10:38:19 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-05-07 16:25:11 +02:00
|
|
|
* Tue May 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.48.2-2mamba
|
|
|
|
- pygobject-py3: add legacy provide for pygobject-devel
|
|
|
|
|
2024-05-03 18:48:00 +02:00
|
|
|
* Fri Apr 26 2024 Automatic Build System <autodist@openmamba.org> 3.48.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:20 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 3.46.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 10:38:20 +01:00
|
|
|
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 3.46.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:20 +01:00
|
|
|
* Sat Mar 25 2023 Automatic Build System <autodist@mambasoft.it> 3.44.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:20 +01:00
|
|
|
* Sun Mar 19 2023 Automatic Build System <autodist@mambasoft.it> 3.44.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Sun Jul 17 2022 Automatic Build System <autodist@mambasoft.it> 3.42.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Sun Apr 17 2022 Automatic Build System <autodist@mambasoft.it> 3.42.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Sun Apr 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.42.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.42.0-1mamba
|
|
|
|
- update to 3.42.0
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Sat Sep 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.2-2mamba
|
|
|
|
- exclude devel files from main packages
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.2-1mamba
|
|
|
|
- update to 3.32.2
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Fri Dec 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.30.4-1mamba
|
|
|
|
- update to 3.30.4
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Tue Nov 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-1mamba
|
|
|
|
- update to 3.18.2
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.0-2mamba
|
|
|
|
- support for -py3
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Wed Sep 24 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 23 2014 Automatic Build System <autodist@mambasoft.it> 3.13.90-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 11 2014 Automatic Build System <autodist@mambasoft.it> 3.13.3-1mamba
|
2024-01-06 10:38:19 +01:00
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Tue Apr 29 2014 Automatic Build System <autodist@mambasoft.it> 3.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:38:19 +01:00
|
|
|
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 30 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 11 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Sep 28 2013 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 08 2013 Automatic Build System <autodist@mambasoft.it> 3.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-2mamba
|
|
|
|
- python 2.7 rebuild
|
|
|
|
|
|
|
|
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 22 2012 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon May 14 2012 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 10 2012 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 02 2012 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- update to 3.0.1
|
|
|
|
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 2.28.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Apr 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.28.3-1mamba
|
|
|
|
- update to 2.28.3
|
|
|
|
|
|
|
|
* Mon Oct 04 2010 Automatic Build System <autodist@mambasoft.it> 2.26.0-1mamba
|
|
|
|
- automatic update to 2.26.0 by autodist
|
|
|
|
|
|
|
|
* Sat Sep 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21.5-2mamba
|
|
|
|
- rebuilt with libffi 3.0.9
|
|
|
|
|
|
|
|
* Tue Aug 17 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21.5-1mamba
|
|
|
|
- update to 2.21.5
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Automatic Build System <autodist@mambasoft.it> 2.21.4-1mamba
|
|
|
|
- automatic update to 2.21.4 by autodist
|
|
|
|
|
|
|
|
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 2.21.3-1mamba
|
|
|
|
- automatic update to 2.21.3 by autodist
|
|
|
|
|
|
|
|
* Fri Jun 11 2010 Automatic Build System <autodist@mambasoft.it> 2.21.2-1mamba
|
|
|
|
- automatic update to 2.21.2 by autodist
|
|
|
|
|
|
|
|
* Mon May 31 2010 Automatic Build System <autodist@mambasoft.it> 2.21.1-1mamba
|
|
|
|
- automatic update to 2.21.1 by autodist
|
|
|
|
|
|
|
|
* Mon Sep 28 2009 Automatic Build System <autodist@mambasoft.it> 2.20.0-1mamba
|
|
|
|
- automatic update to 2.20.0 by autodist
|
|
|
|
|
|
|
|
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.15.4-2mamba
|
|
|
|
- rebuilt with python 2.6
|
|
|
|
|
|
|
|
* Wed Oct 01 2008 gil <puntogil@libero.it> 2.15.4-1mamba
|
|
|
|
- update to 2.15.4
|
|
|
|
- removed patch
|
|
|
|
|
|
|
|
* Thu Sep 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.14.0-1mamba
|
|
|
|
- update to 2.14.0
|
|
|
|
|
|
|
|
* Fri Mar 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.3-2qilnx
|
|
|
|
- added buildroot_fix patch to remove buildroot in compiled files
|
|
|
|
|
|
|
|
* Mon Feb 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.3-1qilnx
|
|
|
|
- package created by autospec
|