2024-01-05 16:53:34 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - .)
|
2024-01-05 16:53:34 +01:00
|
|
|
Name: python-wheezy-template
|
2024-11-28 21:08:29 +01:00
|
|
|
Version: 3.2.3
|
2024-02-08 23:41:17 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:53:34 +01:00
|
|
|
Summary: A lightweight template library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.org/project/wheezy.template/
|
2024-11-28 21:08:29 +01:00
|
|
|
Source: https://pypi.debian.net/wheezy.template/wheezy_template-%{version}.tar.gz
|
2024-01-05 16:53:34 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:53:34 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 16:53:35 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(setuptools)
|
2024-01-05 16:53:34 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:53:35 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:53:34 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2024-11-28 21:08:29 +01:00
|
|
|
%setup -q -n wheezy_template-%{version}
|
2024-01-05 16:53:34 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:53:34 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:53:34 +01:00
|
|
|
|
2024-01-05 16:53:35 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
|
|
|
for f in %{_bindir}/wheezy.template; do
|
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
sed -i "\,%{_bindir}/wheezy.template,d" %{name}.filelist
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:53:34 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:53:35 +01:00
|
|
|
%{_bindir}/wheezy.template*
|
2024-01-05 16:53:34 +01:00
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
2024-01-05 16:53:34 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-11-28 21:08:29 +01:00
|
|
|
* Thu Nov 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.3-1mamba
|
|
|
|
- update to 3.2.3
|
|
|
|
|
2024-02-08 23:41:17 +01:00
|
|
|
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 3.2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:53:35 +01:00
|
|
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 3.1.0-6mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:53:35 +01:00
|
|
|
* Fri Sep 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-5mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 16:53:35 +01:00
|
|
|
* Tue Aug 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-4mamba
|
|
|
|
- resolve bindir file conflict
|
|
|
|
|
2024-01-05 16:53:34 +01:00
|
|
|
* Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-3mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
|
|
|
* Mon Feb 14 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:53:34 +01:00
|
|
|
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:53:34 +01:00
|
|
|
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:53:34 +01:00
|
|
|
* Sun Sep 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.167-1mamba
|
|
|
|
- package created using the webbuild interface
|