# Created by pyp2rpm-3.3.1 %global pypi_name pynacl Name: python-%{pypi_name} Version: 1.5.0 Release: 3 Summary: Python binding to the Networking and Cryptography (NaCl) library Group: Development/Python License: ASL 2.0 URL: https://github.com/pyca/pynacl/ Source0: https://files.pythonhosted.org/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz BuildRequires: python3-devel BuildRequires: python3dist(cffi) >= 1.4.1 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(six) BuildRequires: pkgconfig(libsodium) %description PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library. %prep %autosetup -n PyNaCl-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build export SODIUM_INSTALL=system %py3_build %install # Must do the default python version install last because # the scripts in /usr/bin are overwritten with every setup.py install. %py3_install %files -n python-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitearch}/nacl/ %{python3_sitearch}/PyNaCl*.*-info