python-dukpy/python-dukpy.spec

57 lines
1.5 KiB
RPMSpec

Name: python-dukpy
Version: 0.5.0
Release: 1mamba
Summary: Simple JavaScript interpreter for Python
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/dukpy/
Source: https://pypi.debian.net/dukpy/dukpy-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n dukpy-%{version}
%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
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Fri Nov 08 2024 Automatic Build System <autodist@openmamba.org> 0.5.0-1mamba
- automatic version update by autodist
* Fri Jun 07 2024 Automatic Build System <autodist@openmamba.org> 0.4.0-1mamba
- automatic version update by autodist
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
- update to 0.3.1
* Fri Oct 27 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3-1mamba
- update to 0.3
* Thu Oct 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created using the webbuild interface