102 lines
3.3 KiB
RPMSpec
102 lines
3.3 KiB
RPMSpec
%define pkgname python_distutils_extra
|
|
Name: python-distutils-extra
|
|
Version: 3.0
|
|
Release: 1mamba
|
|
Summary: Add support for i10n, documentation and icons to distutils
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://launchpad.net/ubuntu/+source/python-distutils-extra
|
|
Source: http://ftp.debian.org/debian/pool/main/p/python-distutils-extra/python-distutils-extra_%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
|
|
%description
|
|
Add support for i10n, documentation and icons to distutils.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -c -a0
|
|
|
|
%build
|
|
cd python-distutils-extra
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
cd python-distutils-extra
|
|
%{__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)
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
%dir %{python_sitelib}/DistUtilsExtra
|
|
%{python_sitelib}/DistUtilsExtra/*
|
|
|
|
%changelog
|
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.50-2mamba
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 2.50-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 2.49-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 30 2023 Automatic Build System <autodist@mambasoft.it> 2.48-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jun 18 2022 Automatic Build System <autodist@mambasoft.it> 2.47-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.45-1mamba
|
|
- update to 2.45
|
|
|
|
* Thu Sep 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.39-3mamba
|
|
- rebuilt with py3 package
|
|
|
|
* Wed Jul 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.39-2mamba
|
|
- added -py36 package
|
|
|
|
* Mon Feb 08 2016 Automatic Build System <autodist@mambasoft.it> 2.39-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Jul 27 2013 Automatic Build System <autodist@mambasoft.it> 2.38-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.37-2mamba
|
|
- rebuilt with python 2.7
|
|
|
|
* Sat Oct 13 2012 Automatic Build System <autodist@mambasoft.it> 2.37-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 20 2012 Automatic Build System <autodist@mambasoft.it> 2.36-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.35-1mamba
|
|
- update to 2.35
|
|
|
|
* Tue Jan 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.15-1mamba
|
|
- update to 2.15
|
|
|
|
* Tue Jun 12 2007 Silvan Calarco <silvan.calarco@mambasoft.it> extra_0.90-1mamba
|
|
- package created by autospec
|