311 lines
10 KiB
RPMSpec
311 lines
10 KiB
RPMSpec
Name: python-sip4
|
|
Version: 4.19.25
|
|
Release: 2mamba
|
|
Summary: Python extension module generator for C and C++ libraries
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://riverbankcomputing.com/software/sip
|
|
Source: https://www.riverbankcomputing.com/static/Downloads/sip/%{version}/sip-%{version}.tar.gz
|
|
Patch0: python-sip4-4.19.25-python-3.11.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libpython311-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
|
Requires: sip4 = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: python-sip
|
|
Obsoletes: python-sip
|
|
Provides: python-sip-devel
|
|
Obsoletes: python-sip-devel
|
|
|
|
%description
|
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
|
|
|
%if 0%{?with_pyver}
|
|
%define py_requires_append \
|
|
Obsoletes: python-sip4 < 4.19.24
|
|
%pyver_package
|
|
%endif
|
|
|
|
%package -n sip4
|
|
Group: Development/Tools
|
|
Summary: Python %{pyver} extension module generator for C and C++ libraries
|
|
Requires: python-sip4-py3
|
|
|
|
%description -n sip4
|
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
|
This package provides the sip tool and documentation.
|
|
|
|
%prep
|
|
%setup -q -n sip-%{version}
|
|
#tar xf %{SOURCE0}
|
|
#mv sip-%{version} PyQt5
|
|
%patch 0 -p1 -b .python-3.11
|
|
|
|
%build
|
|
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
|
--sip-module=PyQt4.sip -d %{python_sitearch}
|
|
|
|
%make
|
|
|
|
#cd PyQt5
|
|
#% {__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
|
# --sip-module=PyQt5.sip
|
|
#
|
|
#% make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
#% makeinstall -C PyQt5
|
|
|
|
#install -d -m0755 %{buildroot}%{_datadir}/sip
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files %{?with_pyver:py%{pyver}}
|
|
%defattr(-,root,root)
|
|
# PyQt4
|
|
%{python_sitearch}/PyQt4/sip.pyi
|
|
%{python_sitearch}/PyQt4/sip.so
|
|
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
|
|
%{python_sitearch}/PyQt4_sip-%{version}.dist-info/*
|
|
%{python_sitearch}/*.py*
|
|
## for PyQt5
|
|
#%{python_sitearch}/PyQt5/sip.so
|
|
#%{python_sitearch}/PyQt5/sip.pyi
|
|
#%dir %{python_sitearch}/PyQt5_sip-%{version}.dist-info
|
|
#%{python_sitearch}/PyQt5_sip-%{version}.dist-info/*
|
|
%if "%?with_pyver"
|
|
%{python_inc}/sip.h
|
|
%else
|
|
%{_includedir}/python%{python_version}/sip.h
|
|
%endif
|
|
%doc LICENSE*
|
|
|
|
%files -n sip4
|
|
%defattr(-,root,root)
|
|
%{_bindir}/sip
|
|
#%doc NEWS README
|
|
#%doc doc/*
|
|
|
|
%changelog
|
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 4.19.25-2mamba
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
* Mon Nov 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.25-1mamba
|
|
- update to 4.19.25
|
|
- remove PyQt5 support
|
|
|
|
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.24-2mamba
|
|
- obsolete python-sip4 (python 2.7)
|
|
|
|
* Wed Jan 06 2021 Automatic Build System <autodist@mambasoft.it> 4.19.24-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.22-1mamba
|
|
- update to 4.19.22
|
|
- legacy package
|
|
|
|
* Mon Oct 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.19-2mamba
|
|
- package sip binary apart to fix conflicts beteen -devel packages
|
|
|
|
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.19-1mamba
|
|
- update to 4.19.19
|
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.18-2mamba
|
|
- rebuilt with python3 3.7.4
|
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.18-1mamba
|
|
- update to 4.19.18
|
|
|
|
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.13-2mamba
|
|
- restore build of PtQt4 module
|
|
|
|
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 4.19.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.12-2mamba
|
|
- rebuilt also with python36
|
|
|
|
* Thu Jul 19 2018 Automatic Build System <autodist@mambasoft.it> 4.19.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 14 2018 Automatic Build System <autodist@mambasoft.it> 4.19.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 27 2018 Automatic Build System <autodist@mambasoft.it> 4.19.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 27 2017 Automatic Build System <autodist@mambasoft.it> 4.19.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 4.19.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 4.19.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 05 2017 Automatic Build System <autodist@mambasoft.it> 4.19.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 4.19-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 23 2016 Automatic Build System <autodist@mambasoft.it> 4.18.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 4.18-2mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 4.18-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 11 2016 Automatic Build System <autodist@mambasoft.it> 4.17-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 4.16.9-2mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 4.16.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 31 2015 Automatic Build System <autodist@mambasoft.it> 4.16.7-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 4.16.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 25 2014 Automatic Build System <autodist@mambasoft.it> 4.16.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.4-1mamba
|
|
- update to 4.16.4
|
|
|
|
* Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.3-2mamba
|
|
- -py3 support
|
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 4.16.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jun 14 2014 Automatic Build System <autodist@mambasoft.it> 4.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 27 2014 Automatic Build System <autodist@mambasoft.it> 4.15.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jan 09 2014 Automatic Build System <autodist@mambasoft.it> 4.15.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 16 2013 Automatic Build System <autodist@mambasoft.it> 4.15.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 30 2013 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.15.2-1mamba
|
|
- update to 4.15.2
|
|
|
|
* Tue Jun 18 2013 Automatic Build System <autodist@mambasoft.it> 4.14.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.6-2mamba
|
|
- rebuilt with python 2.7
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 4.14.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 4.14.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 4.14.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 09 2012 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 02 2012 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 4.14-1mamba
|
|
- update to 4.14
|
|
|
|
* Sat Aug 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13.3-1mamba
|
|
- update to 4.13.3
|
|
|
|
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.12.4-1mamba
|
|
- update to 4.12.4
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed May 18 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.12.2-1mamba
|
|
- update to 4.12.2
|
|
|
|
* Tue Feb 01 2011 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Dec 31 2010 Automatic Build System <autodist@mambasoft.it> 4.12-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Oct 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.2-2mamba
|
|
- rebuilt with libqt 4.7.0
|
|
|
|
* Thu Oct 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.2-1mamba
|
|
- update to 4.11.2
|
|
|
|
* Sun Oct 03 2010 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 4.10.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 13 2010 Automatic Build System <autodist@mambasoft.it> 4.10.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed May 05 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.10.2-1mamba
|
|
- update to 4.10.2
|
|
|
|
* Fri Apr 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 4.10.1-1mamba
|
|
- update to 4.10.1
|
|
|
|
* Tue Mar 09 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.10-2mamba
|
|
- added devel package
|
|
|
|
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 4.10-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Oct 28 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 4.9.1-1mamba
|
|
- update to 4.9.1
|
|
|
|
* Wed Aug 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.2-1mamba
|
|
- update to 4.8.2
|
|
|
|
* Fri Dec 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.9-1mamba
|
|
- update to 4.7.9
|
|
|
|
* Mon Nov 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.8-1mamba
|
|
- update to 4.7.8
|
|
|
|
* Wed Aug 13 2008 gil <puntogil@libero.it> 4.7.7-1mamba
|
|
- update to 4.7.7
|
|
|
|
* Fri May 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-1mamba
|
|
- update to 4.7.4
|
|
|
|
* Fri Oct 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.1-1mamba
|
|
- update to 4.7.1
|
|
|
|
* Mon Jul 10 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.5-1qilnx
|
|
- package created by autospec
|