# Created by pyp2rpm-3.3.2 %global pypi_name pysqlcipher3 Name: python-%{pypi_name} Version: 1.0.3 Release: 1%{?dist} Summary: DB-API 2.0 interface for SQLCIPHER 3.x License: zlib/libpng URL: https://github.com/rigglemania/pysqlcipher3 Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: gcc BuildRequires: sqlcipher sqlcipher-devel Requires: sqlcipher %description Python interface to SQLCipherpysqlcipher3 is an interface to the SQLite 3.x embedded relational database engine. It is almost fully compliant with the Python database API version 2.0. At the same time, it also exposes the unique features of SQLCipher. Prior to installation, libsqlcipher must already be installed on your system, with the process dependent on your operating system. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Python interface to SQLCipherpysqlcipher3 is an interface to the SQLite 3.x embedded relational database engine. It is almost fully compliant with the Python database API version 2.0. At the same time, it also exposes the unique features of SQLCipher. Prior to installation, libsqlcipher must already be installed on your system, with the process dependent on your operating system. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitearch}/%{pypi_name} %{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Fri Nov 09 2018 Miroslav Suchý - 1.0.3-1 - Initial package.