63 lines
1.9 KiB
RPMSpec
63 lines
1.9 KiB
RPMSpec
Name: python-ecdsa
|
|
Version: 0.15
|
|
Release: 1mamba
|
|
Summary: An easy-to-use implementation of ECDSA cryptography (Elliptic Curve Digital Signature Algorithm)
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pypi.python.org/pypi/ecdsa
|
|
Source: https://pypi.python.org/packages/source/e/ecdsa/ecdsa-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n ecdsa-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch} \
|
|
--record=%{name}.filelist
|
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Fri Mar 20 2020 Automatic Build System <autodist@mambasoft.it> 0.15-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 19 2020 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 17 2019 Automatic Build System <autodist@mambasoft.it> 0.13.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 25 2019 Automatic Build System <autodist@mambasoft.it> 0.13.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 08 2015 Automatic Build System <autodist@mambasoft.it> 0.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 07 2015 Automatic Build System <autodist@mambasoft.it> 0.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-1mamba
|
|
- package created using the webbuild interface
|