diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-13 14:47:19 -0800 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-13 14:47:19 -0800 |
| commit | 9189ecd1dcf5153cbd27b2ccfd56c2b447b4b8d9 (patch) | |
| tree | 24d396487d671d8f09f2ff1fa9b85d239152bc07 /python/python-patatt.spec | |
| parent | d49916335341d8595c2c6d4e4628d1ed5969fc39 (diff) | |
| download | specs-9189ecd1dcf5153cbd27b2ccfd56c2b447b4b8d9.tar.gz specs-9189ecd1dcf5153cbd27b2ccfd56c2b447b4b8d9.tar.xz specs-9189ecd1dcf5153cbd27b2ccfd56c2b447b4b8d9.zip | |
+ patatt
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python/python-patatt.spec')
| -rw-r--r-- | python/python-patatt.spec | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/python/python-patatt.spec b/python/python-patatt.spec new file mode 100644 index 0000000..039e99c --- /dev/null +++ b/python/python-patatt.spec @@ -0,0 +1,61 @@ +%global srcname patatt + +Name: python-%{srcname} +Version: 0.4.9 +Release: %autorelease +Summary: Add cryptographic attestation to patches sent via email +License: MIT +URL: https://git.kernel.org/pub/scm/utils/%{srcname}/%{srcname}.git +Source0: https://mirrors.edge.kernel.org/pub/software/devel/%{srcname}/%{srcname}-%{version}.tar.xz + +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel + +%global _description %{expand: +This utility allows an easy way to add end-to-end cryptographic attestation to +patches sent via mail. It does so by adapting the DKIM email signature standard +to include cryptographic signatures via the X-Developer-Signature email header.} + +%description %{_description} + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} + +%description -n python%{python3_pkgversion}-%{srcname} %{_description} + + +%prep +%autosetup -p1 -n %{srcname}-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -r requirements.txt + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files %{srcname} + +mkdir -p %{buildroot}%{_mandir}/man5 +install -pm 0644 man/*.5 %{buildroot}%{_mandir}/man5/ + + +%check +%pyproject_check_import + + +%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} +%license COPYING +%doc DCO README.rst samples +%{_bindir}/%{srcname} +%{_mandir}/man5/%{srcname}.5.* + + +%changelog +%autochangelog |
