File signing-party.spec of Package signing-party

#
# spec file for package signing-party (Version 1.1.3)
#
# Copyright (c) 2010 SUSE LINUX Products 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/
#

# norootforbuild


Name:           signing-party
License:        Various Open Source Licenses
Group:          Productivity/Security
AutoReqProv:    on
Summary:        GPG Tools
Version:        1.1.3
Release:        1
Source:         http://ftp.debian.org/debian/pool/main/s/signing-party/signing-party_%{version}.orig.tar.gz
Requires:       gpg /usr/sbin/sendmail perl qprint
Requires:       perl-Text-Template perl-GnuPG-Interface perl-MIME-tools perl-MailTools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# We are not including keyanalyze which gets compiled and therefore
# the package is noarch
BuildArch:      noarch

%description
PGP Tools is a collection for all kinds of pgp related things, including signing scripts, party preparation scripts etc.

caff is a script that helps you in keysigning. It takes a list of
keyids on the command line, fetches them from a keyserver and calls
GnuPG so that you can sign it. It then mails each key to all its email
addresses - only including the one UID that we send to in each mail.

pgp-clean takes a list of keyids on the command line and outputs an
ascii-armored keyring on stdout for each key with all signatures
except self-signatures stripped. Its use is to reduce the size of keys
sent out after signing. (pgp-clean is a stripped-down caff version.)

gpg-key2ps will output a PostScript file which has your Key-ID, UIDs
and fingerprint nicely formatted for printing paper slips to take with
you to a signing-party.

Given one or more key-ids, gpg-mailkeys mails these keys to their
owners. You use this after you've signed them. By default, the mails
contain a standard text and your name and address as the From (as
determined by the sendmail command).

gpglist takes a keyid and creates a listing showing who signed your
user IDs.

gpgsigs was written to assist the user in signing keys during a
keysigning party. It takes as input a file containing keys in gpg
--list-keys format and prepends every line with a tag indicating if
the user has already signed that uid.

keylookup is a wrapper around gpg --search, allowing you to search for
keys on a keyserver. It presents the list of matching keys to the user
and allows her to select the keys for importing into the GnuPG
keyring.

Authors:
--------
Peter Palfrader <peter@palfrader.org>
Uli Martens <uli@youam.net>
Christoph Berg <cb@df7cb.de>
Thijs Kinkhorst <thijs@debian.org>
Christian Kurz <shorty@debian.org>
Simon Richter <sjr@debian.org>

%prep
%setup -n signing-party-%{version}

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/bin
install -m 755 caff/caff caff/pgp-clean caff/pgp-fixkey $RPM_BUILD_ROOT/usr/bin
install -m 755 gpglist/gpglist $RPM_BUILD_ROOT/usr/bin
install -m 755 gpg-key2ps/gpg-key2ps $RPM_BUILD_ROOT/usr/bin
install -m 755 gpglist/gpglist $RPM_BUILD_ROOT/usr/bin
install -m 755 gpg-mailkeys/gpg-mailkeys $RPM_BUILD_ROOT/usr/bin
install -m 755 gpgsigs/gpgsigs $RPM_BUILD_ROOT/usr/bin
install -m 755 keylookup/keylookup $RPM_BUILD_ROOT/usr/bin

install -d $RPM_BUILD_ROOT%_mandir/man1
install -m 644 caff/caff.1 caff/pgp-clean.1 caff/pgp-fixkey.1 $RPM_BUILD_ROOT%_mandir/man1
install -m 644 gpg-key2ps/gpg-key2ps.1 $RPM_BUILD_ROOT%_mandir/man1
install -m 644 gpglist/gpglist.1 $RPM_BUILD_ROOT%_mandir/man1
install -m 644 gpg-mailkeys/gpg-mailkeys.1 $RPM_BUILD_ROOT%_mandir/man1
install -m 644 gpgsigs/gpgsigs.1 $RPM_BUILD_ROOT%_mandir/man1
install -m 644 keylookup/keylookup.1 $RPM_BUILD_ROOT%_mandir/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc caff/README caff/README.gpg-agent caff/README.many-keys caff/README.v3-keys caff/caffrc.sample
%doc gpgsigs/gpgsigs-lt2k5*.txt  gpg-mailkeys/example.gpg-mailkeysrc
%doc keylookup/NEWS
%{_prefix}/bin/*
%{_mandir}/*/*

%changelog
openSUSE Build Service is sponsored by