File pius.spec of Package pius
#
# spec file for package pius
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define name pius
Name: %{name}
Version: 2.2.4
Release: 0
Summary: A tool for signing and email all UIDs on a set of PGP keys
License: GPL-2.0
Group: Productivity/Security
Url: http://www.phildev.net/pius/
Source: %{name}-%{version}.tar.bz2
BuildRequires: python-devel
Requires: python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The PGP Individual UID Signer (PIUS) is a tool for individually
signing all of the UIDs on a set of keys and encrypt-emailing each
one to it's respective email address. This drastically reduces the time
and errors involved in signing keys after a keysigning party.
%prep
%setup -q
%build
./setup.py build
%install
./setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
# FIXME: use py_ver macro as suffix for binaries
# https://en.opensuse.org/openSUSE:Packaging_Python#File_lists
%{_bindir}/%{name}
%{_bindir}/%{name}-keyring-mgr
%{_bindir}/%{name}-party-worksheet
%{_bindir}/%{name}-report
%{python_sitelib}/*
%doc README.md README-keyring-mgr.md README-report.md COPYING
%changelog