File pinepg.spec of Package pinepg
#
# spec file for package pinepg (Version 1.02)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: pinepg
License: GPL
Group: Productivity/Networking/Email/Clients
Requires: pine
Autoreqprov: on
Version: 1.02
Release: 184
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 -n pinepg
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Aug 13 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