%define pname dkimpy Name: python-%(echo %{pname} | tr 'A-Z' 'a-z') Version: 1.0.5 Release: 1%{?dist} Summary: dkim implementation for python License: other/open source URL: https://launchpad.net/dkimpy Source: https://launchpad.net/dkimpy/1.0/%{version}/+download/dkimpy-%{version}.tar.gz Requires: python3-dns BuildRoot: %{_tmppath}/%{pname}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description Python module that implements DKIM (DomainKeys Identified Mail) email signing and verification. It also provides helper scripts for command line signing and verification. As of version 0.6.0, it also supports the experimental Authenticated Received Chain (ARC) protocol. As of 0.7.0 it supports DKIM signing/verifying of ed25519-sha256 signatures. %prep %setup -q -n %{pname}-%{version} %build %py3_build %install [ '%{buildroot}' != '/' ] && rm -rf %{buildroot} %py3_install %files %defattr(-,root,root) %license LICENSE %doc ChangeLog README.md %{_bindir}/arcverify %{_bindir}/arcsign %{_bindir}/dkimsign %{_bindir}/dknewkey %{_bindir}/dkimverify %{_mandir}/man1/arcverify.1* %{_mandir}/man1/arcsign.1* %{_mandir}/man1/dkimsign.1* %{_mandir}/man1/dknewkey.1* %{_mandir}/man1/dkimverify.1* %{python3_sitelib}/dkim/*.py %{python3_sitelib}/dkim/__pycache__/* %{python3_sitelib}/*.egg-info