File pinepg.spec of Package pinepg
#
# spec file for package pinepg (Version 1.02)
#
# Copyright (c) 2009 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: pinepg
License: GPL v2 or later
Group: Productivity/Networking/Email/Clients
Requires: pine
AutoReqProv: on
Version: 1.02
Release: 317
Summary: A Pine filter for GnuPG to allow secure handling of e-mail
Url: http://quantumlab.net/pine_privacy_guard/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://quantumlab.net/pine_privacy_guard/%{name}-%{version}.tgz
Patch0: pinepg.dif
%define mydir %{_libdir}/%{name}
%description
Pine Privacy Guard is a small perl script to interface Pine and GnuPG
for the secure exchange of e-mail. It allows Pine users to
conveniently:
* Encrypt e-mail.
* Decrypt e-mail.
* Clear-sign e-mail.
* Verify clear-signed e-mail.
Authors:
--------
Matt Pulver <pulver@quantumlab.net>
P. Oscar Boykin <boykin@pobox.com>
%prep
%setup -q
%patch0 -p1
%build
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT%{mydir}
install pine_privacy_guard.pl $RPM_BUILD_ROOT%{mydir}
for l in clearsign decrypt encrypt verify
do ln -sf pine_privacy_guard.pl $RPM_BUILD_ROOT%{mydir}/$l
done
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-, root, root)
%doc CREDITS LICENSE README pinepg_aliases
%dir %{mydir}
%{mydir}/*
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Aug 12 2005 ro@suse.de
- remove noarch for now
* Tue Feb 03 2004 hmacht@suse.de
- added option # norootforbuild in specfile
* Thu Jan 02 2003 rommel@suse.de
- initial package creation starting with version 1.02