2024-01-06 11:20:07 +01:00
|
|
|
Name: python-josepy
|
2024-01-06 11:20:08 +01:00
|
|
|
Version: 1.10.0
|
2024-01-06 11:20:08 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:20:07 +01:00
|
|
|
Summary: JOSE protocol implementation in Python using cryptography
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:20:08 +01:00
|
|
|
URL: https://pypi.org/project/josepy/
|
2024-01-06 11:20:07 +01:00
|
|
|
Source: https://pypi.debian.net/josepy/josepy-%{version}.tar.gz
|
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:20:07 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(cryptography)
|
|
|
|
BuildRequires: python3.7dist(pyopenssl)
|
|
|
|
BuildRequires: python3.7dist(setuptools)
|
2024-01-06 11:20:07 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
2024-01-06 11:20:07 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n josepy-%{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
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 11:20:07 +01:00
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
%if "%{?pyappend}" != "py3"
|
|
|
|
rm -f %{buildroot}%{_bindir}/jws
|
|
|
|
sed -i "/\/usr\/bin\/jws/d" %{name}.filelist
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:20:07 +01:00
|
|
|
%dir %{python_sitearch}/josepy-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/josepy-%{version}-py*.egg-info/*
|
2024-01-06 11:20:07 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:20:08 +01:00
|
|
|
* Tue Sep 28 2021 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:08 +01:00
|
|
|
* Fri Sep 10 2021 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Tue Aug 18 2020 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
|
|
|
|
- require pyOpenSSL[-py3*]
|
|
|
|
|
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
|
|
- rebuilt with py3* packages
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Sun Feb 02 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Fri Jul 12 2019 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Sat May 19 2018 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:20:07 +01:00
|
|
|
* Mon Apr 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- package created using the webbuild interface
|