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

%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
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  python-devel
Requires:       python
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:		noarch

 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.


%setup -q

./ build

./ install --prefix=%{_prefix} --root=%{buildroot}

# FIXME: use py_ver macro as suffix for binaries