%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-sip Version: 6.8.6 Release: 1mamba Summary: Python extension module generator for C and C++ libraries Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/Python-SIP/sip Source: https+git://github.com/Python-SIP/sip.git/%{version}/sip-%{version}.tar.bz2 #Source: https://pypi.debian.net/sip/sip-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(setuptools) ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.11.5 %description SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules. %if "0%{?with_pyver}" == "03" %define py_requires_append \ Provides: python-sip-%{?with_pyver:py%{with_pyver}-}devel \ Obsoletes: python-sip-%{?with_pyver:py%{with_pyver}-}devel < 6.5.1 \ Obsoletes: python-sip-py36 < 5.5.0 \ Obsoletes: python-sip5-py3 <= 5.5.0 \ Provides: sip \ Obsoletes: sip < 6.5.1-2mamba %endif %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n sip-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl #%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 #%endif %files %{?pyappend} %defattr(-,root,root) %{_bindir}/sip-build* %{_bindir}/sip-distinfo* %{_bindir}/sip-install* %{_bindir}/sip-module* %{_bindir}/sip-sdist* %{_bindir}/sip-wheel* %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/sipbuild %{python_sitelib}/sipbuild/* %doc LICENSE %changelog * Sun Jul 21 2024 Silvan Calarco 6.8.6-1mamba - update to 6.8.6 * Sat Feb 10 2024 Automatic Build System 6.8.3-1mamba - automatic version update by autodist * Thu Jan 25 2024 Automatic Build System 6.8.2-1mamba - automatic version update by autodist * Wed Dec 13 2023 Automatic Build System 6.8.1-1mamba - automatic version update by autodist * Fri Dec 01 2023 Automatic Build System 6.8.0-1mamba - automatic version update by autodist * Sat Oct 14 2023 Automatic Build System 6.7.12-1mamba - automatic version update by autodist * Sun Sep 24 2023 Automatic Build System 6.7.11-2mamba - rebuilt with python3 = 3.11.5 * Wed Aug 02 2023 Automatic Build System 6.7.11-1mamba - automatic version update by autodist * Tue Jul 25 2023 Automatic Build System 6.7.10-1mamba - automatic version update by autodist * Fri Apr 21 2023 Automatic Build System 6.7.9-1mamba - automatic version update by autodist * Mon Apr 10 2023 Automatic Build System 6.7.8-1mamba - automatic version update by autodist * Tue Feb 07 2023 Automatic Build System 6.7.7-1mamba - automatic version update by autodist * Sun Jan 29 2023 Automatic Build System 6.7.6-1mamba - automatic version update by autodist * Sun Nov 20 2022 Automatic Build System 6.7.5-1mamba - automatic version update by autodist * Fri Nov 04 2022 Automatic Build System 6.7.4-1mamba - automatic version update by autodist * Sat Oct 29 2022 Automatic Build System 6.7.3-1mamba - automatic version update by autodist * Thu Oct 13 2022 Automatic Build System 6.7.2-1mamba - automatic version update by autodist * Fri Oct 07 2022 Automatic Build System 6.7.1-1mamba - automatic version update by autodist * Mon Oct 03 2022 Automatic Build System 6.7.0-1mamba - automatic version update by autodist * Sat Jun 18 2022 Automatic Build System 6.6.2-1mamba - automatic version update by autodist * Sat May 21 2022 Automatic Build System 6.6.1-1mamba - automatic version update by autodist * Thu Apr 07 2022 Silvan Calarco 6.5.1-3mamba - fix some requires and obsoletes * Thu Apr 07 2022 Silvan Calarco 6.5.1-2mamba - rebuilt with python 3.10 * Wed Feb 02 2022 Automatic Build System 6.5.1-1mamba - automatic version update by autodist * Thu Dec 02 2021 Automatic Build System 6.5.0-1mamba - automatic version update by autodist * Thu Oct 28 2021 Automatic Build System 6.4.0-1mamba - automatic version update by autodist * Thu Oct 14 2021 Automatic Build System 6.3.1-1mamba - automatic version update by autodist * Thu Oct 14 2021 Automatic Build System 6.3.0-1mamba - automatic version update by autodist * Mon Oct 04 2021 Automatic Build System 6.2.0-1mamba - automatic version update by autodist * Tue Jun 15 2021 Automatic Build System 6.1.1-1mamba - automatic version update by autodist * Wed May 12 2021 Automatic Build System 6.1.0-1mamba - automatic version update by autodist * Thu Mar 11 2021 Automatic Build System 6.0.3-1mamba - automatic version update by autodist * Thu Feb 25 2021 Automatic Build System 6.0.2-1mamba - automatic version update by autodist * Wed Feb 10 2021 Silvan Calarco 6.0.1-1mamba - update to 6.0.1 * Wed Feb 10 2021 Silvan Calarco 5.5.0-1mamba - update to 5.5.0 * Sun Oct 25 2020 Silvan Calarco 5.4.0-3mamba - fix posttrans package in previous release * Sun Oct 25 2020 Silvan Calarco 5.4.0-2mamba - fix startup by applying cleanup of all empty egg-info directories in posttrans * Sat Oct 24 2020 Silvan Calarco 5.4.0-1mamba - update to 5.4.0 * Fri Apr 10 2020 Silvan Calarco 5.1.2-1mamba - update to 5.1.2 * Mon Oct 28 2019 Silvan Calarco 4.19.19-2mamba - package sip binary apart to fix conflicts beteen -devel packages * Sat Oct 26 2019 Silvan Calarco 4.19.19-1mamba - update to 4.19.19 * Thu Aug 08 2019 Silvan Calarco 4.19.18-2mamba - rebuilt with python3 3.7.4 * Fri Aug 02 2019 Silvan Calarco 4.19.18-1mamba - update to 4.19.18 * Sun Jan 06 2019 Silvan Calarco 4.19.13-2mamba - restore build of PtQt4 module * Fri Oct 05 2018 Automatic Build System 4.19.13-1mamba - automatic version update by autodist * Wed Sep 19 2018 Silvan Calarco 4.19.12-2mamba - rebuilt also with python36 * Thu Jul 19 2018 Automatic Build System 4.19.12-1mamba - automatic version update by autodist * Sat Apr 14 2018 Automatic Build System 4.19.8-1mamba - automatic version update by autodist * Sat Jan 27 2018 Automatic Build System 4.19.7-1mamba - automatic version update by autodist * Wed Dec 27 2017 Automatic Build System 4.19.6-1mamba - automatic version update by autodist * Wed Nov 08 2017 Automatic Build System 4.19.5-1mamba - automatic version update by autodist * Wed Aug 09 2017 Automatic Build System 4.19.3-1mamba - automatic version update by autodist * Sun Mar 05 2017 Automatic Build System 4.19.1-1mamba - automatic version update by autodist * Wed Jan 25 2017 Automatic Build System 4.19-1mamba - automatic version update by autodist * Fri Sep 23 2016 Automatic Build System 4.18.1-1mamba - automatic version update by autodist * Wed Apr 20 2016 Automatic Build System 4.18-2mamba - automatic version update by autodist * Wed Apr 20 2016 Automatic Build System 4.18-1mamba - automatic version update by autodist * Fri Mar 11 2016 Automatic Build System 4.17-1mamba - automatic version update by autodist * Tue Jan 26 2016 Automatic Build System 4.16.9-2mamba - automatic version update by autodist * Tue Jan 26 2016 Automatic Build System 4.16.9-1mamba - automatic version update by autodist * Tue Mar 31 2015 Automatic Build System 4.16.7-1mamba - automatic update by autodist * Sun Mar 01 2015 Automatic Build System 4.16.6-1mamba - automatic version update by autodist * Thu Dec 25 2014 Automatic Build System 4.16.5-1mamba - automatic version update by autodist * Fri Nov 14 2014 Silvan Calarco 4.16.4-1mamba - update to 4.16.4 * Fri Nov 14 2014 Silvan Calarco 4.16.3-2mamba - -py3 support * Sun Sep 21 2014 Automatic Build System 4.16.3-1mamba - automatic version update by autodist * Sat Jun 14 2014 Automatic Build System 4.16.1-1mamba - automatic version update by autodist * Thu Mar 27 2014 Automatic Build System 4.15.5-1mamba - automatic version update by autodist * Thu Jan 09 2014 Automatic Build System 4.15.4-1mamba - automatic version update by autodist * Wed Oct 16 2013 Automatic Build System 4.15.3-1mamba - automatic version update by autodist * Mon Sep 30 2013 Stefano Cotta Ramusino 4.15.2-1mamba - update to 4.15.2 * Tue Jun 18 2013 Automatic Build System 4.14.7-1mamba - automatic version update by autodist * Fri May 17 2013 Silvan Calarco 4.14.6-2mamba - rebuilt with python 2.7 * Mon Apr 22 2013 Automatic Build System 4.14.6-1mamba - automatic version update by autodist * Thu Mar 28 2013 Automatic Build System 4.14.5-1mamba - automatic version update by autodist * Sat Mar 09 2013 Automatic Build System 4.14.4-1mamba - automatic version update by autodist * Mon Feb 25 2013 Automatic Build System 4.14.3-1mamba - automatic version update by autodist * Sun Dec 09 2012 Automatic Build System 4.14.2-1mamba - automatic version update by autodist * Fri Nov 02 2012 Automatic Build System 4.14.1-1mamba - automatic version update by autodist * Thu Oct 18 2012 Automatic Build System 4.14-1mamba - update to 4.14 * Sat Aug 11 2012 Silvan Calarco 4.13.3-1mamba - update to 4.13.3 * Wed Jun 13 2012 Automatic Build System 4.13.2-1mamba - automatic version update by autodist * Sun Aug 21 2011 Stefano Cotta Ramusino 4.12.4-1mamba - update to 4.12.4 * Sun Jun 19 2011 Automatic Build System 4.12.3-1mamba - automatic update by autodist * Wed May 18 2011 Stefano Cotta Ramusino 4.12.2-1mamba - update to 4.12.2 * Tue Feb 01 2011 Automatic Build System 4.12.1-1mamba - automatic update by autodist * Fri Dec 31 2010 Automatic Build System 4.12-1mamba - automatic update by autodist * Sat Oct 30 2010 Silvan Calarco 4.11.2-2mamba - rebuilt with libqt 4.7.0 * Thu Oct 28 2010 Silvan Calarco 4.11.2-1mamba - update to 4.11.2 * Sun Oct 03 2010 Automatic Build System 4.11.1-1mamba - automatic update by autodist * Mon Aug 16 2010 Automatic Build System 4.10.5-1mamba - automatic update by autodist * Tue Jul 13 2010 Automatic Build System 4.10.3-1mamba - automatic update by autodist * Wed May 05 2010 Stefano Cotta Ramusino 4.10.2-1mamba - update to 4.10.2 * Fri Apr 02 2010 Davide Madrisan 4.10.1-1mamba - update to 4.10.1 * Tue Mar 09 2010 Stefano Cotta Ramusino 4.10-2mamba - added devel package * Tue Jan 26 2010 Automatic Build System 4.10-1mamba - automatic update by autodist * Wed Oct 28 2009 Ercole 'ercolinux' Carpanetto 4.9.1-1mamba - update to 4.9.1 * Wed Aug 12 2009 Silvan Calarco 4.8.2-1mamba - update to 4.8.2 * Fri Dec 05 2008 Silvan Calarco 4.7.9-1mamba - update to 4.7.9 * Mon Nov 10 2008 Silvan Calarco 4.7.8-1mamba - update to 4.7.8 * Wed Aug 13 2008 gil 4.7.7-1mamba - update to 4.7.7 * Fri May 09 2008 Silvan Calarco 4.7.4-1mamba - update to 4.7.4 * Fri Oct 05 2007 Silvan Calarco 4.7.1-1mamba - update to 4.7.1 * Mon Jul 10 2006 Silvan Calarco 4.4.5-1qilnx - package created by autospec