rpms/perl-Crypt-GPG/F-10 perl-Crypt-GPG-1.63-fedora.patch, NONE, 1.1 perl-Crypt-GPG.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Robert Scheck robert at fedoraproject.org
Tue Jun 2 21:44:22 UTC 2009


Author: robert

Update of /cvs/pkgs/rpms/perl-Crypt-GPG/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24941/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Crypt-GPG-1.63-fedora.patch perl-Crypt-GPG.spec 
Log Message:
Initial import of perl-Crypt-GPG into Fedora and EPEL

perl-Crypt-GPG-1.63-fedora.patch:

--- NEW FILE perl-Crypt-GPG-1.63-fedora.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> for Crypt::GPG <= 1.63, which
sets the default path to the GnuPG binary equivalent to where GnuPG is installed
at Fedora and Red Hat Enterprise Linux.

--- Crypt-GPG-1.63/GPG.pm			2007-04-02 15:39:39.000000000 +0200
+++ Crypt-GPG-1.63/GPG.pm.fedora		2009-05-29 14:11:17.000000000 +0200
@@ -26,7 +26,7 @@
 ( $VERSION ) = '$Revision: 1.63 $' =~ /\s+([\d\.]+)/;
 
 sub new {
-  bless { GPGBIN         =>   '/usr/local/bin/gpg',
+  bless { GPGBIN         =>   '/usr/bin/gpg',
 	  FORCEDOPTS     =>   '--no-secmem-warning',
 	  GPGOPTS        =>   '--lock-multiple --compress-algo 1 ' .
 	                      '--cipher-algo cast5 --force-v3-sigs',


--- NEW FILE perl-Crypt-GPG.spec ---
%define pkgname Crypt-GPG

Summary:	Perl Object Oriented Interface to GnuPG
Name:		perl-Crypt-GPG
Version:	1.63
Release:	3%{?dist}
License:	GPL+ or Artistic
Group:		Development/Libraries
URL:		http://search.cpan.org/dist/%{pkgname}/
Source:		http://search.cpan.org/CPAN/authors/id/A/AG/AGUL/%{pkgname}-%{version}.tar.gz
Patch0:		perl-Crypt-GPG-1.63-fedora.patch
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)), gnupg
BuildRequires:	perl(ExtUtils::MakeMaker), perl(IPC::Run), perl(Date::Parse), gnupg
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
The Crypt::GPG module provides access to the functionality of the
GnuPG (www.gnupg.org) encryption tool through an object oriented
interface. It provides methods for encryption, decryption, signing,
signature verification, key generation, key certification, export
and import.

%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1 -b .fedora

%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/Crypt
%{_mandir}/man3/Crypt::GPG.3pm*

%changelog
* Mon Jun 01 2009 Robert Scheck <robert at fedoraproject.org> 1.63-3
- Changes to match with Fedora Packaging Guidelines (#503175)

* Mon Jun 01 2009 Robert Scheck <robert at fedoraproject.org> 1.63-2
- Enabled the %%check section (#503175 #c1)

* Fri May 29 2009 Robert Scheck <robert at fedoraproject.org> 1.63-1
- Upgrade to 1.63
- Initial spec file for Fedora and Red Hat Enterprise Linux


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-GPG/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	2 Jun 2009 21:33:10 -0000	1.1
+++ .cvsignore	2 Jun 2009 21:43:51 -0000	1.2
@@ -0,0 +1 @@
+Crypt-GPG-1.63.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-GPG/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	2 Jun 2009 21:33:10 -0000	1.1
+++ sources	2 Jun 2009 21:43:52 -0000	1.2
@@ -0,0 +1 @@
+9a2ab2edf9740cfef789f17c998f3fe2  Crypt-GPG-1.63.tar.gz




More information about the fedora-extras-commits mailing list