diff --git a/README.md b/README.md index 2843f0b..03cc3d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-pycryptodome +Cryptographic library for Python. + diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec new file mode 100644 index 0000000..f6b0135 --- /dev/null +++ b/python-pycryptodome.spec @@ -0,0 +1,58 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) +Name: python-pycryptodome +Version: 3.19.0 +Release: 2mamba +Summary: Cryptographic library for Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.pycryptodome.org/ +Source: http://pypi.debian.net/pycryptodome/pycryptodome-%{version}.tar.gz +License: Apache License 2.0, BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython311-devel +## AUTOBUILDREQ-END +BuildRequires: python3-devel >= 3.11.5-3mamba + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n pycryptodome-%{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) +%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info +%{python_sitearch}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitearch}/Crypto +%{python_sitearch}/Crypto/* + +%changelog +* Wed Sep 27 2023 Automatic Build System 3.19.0-2mamba +- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba + +* Sun Sep 17 2023 Automatic Build System 3.19.0-1mamba +- automatic version update by autodist + +* Tue Sep 12 2023 Silvan Calarco 3.18.0-1mamba +- package created using the webbuild interface