|
|
93912c2 |
%define pkgname Crypt-GPG
|
|
|
93912c2 |
|
|
|
93912c2 |
Summary: Perl Object Oriented Interface to GnuPG
|
|
|
93912c2 |
Name: perl-Crypt-GPG
|
|
|
93912c2 |
Version: 1.63
|
|
|
ad36e5b |
Release: 4%{?dist}
|
|
|
93912c2 |
License: GPL+ or Artistic
|
|
|
93912c2 |
Group: Development/Libraries
|
|
|
93912c2 |
URL: http://search.cpan.org/dist/%{pkgname}/
|
|
|
93912c2 |
Source: http://search.cpan.org/CPAN/authors/id/A/AG/AGUL/%{pkgname}-%{version}.tar.gz
|
|
|
93912c2 |
Patch0: perl-Crypt-GPG-1.63-fedora.patch
|
|
|
93912c2 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)), gnupg
|
|
|
93912c2 |
BuildRequires: perl(ExtUtils::MakeMaker), perl(IPC::Run), perl(Date::Parse), gnupg
|
|
|
93912c2 |
BuildArch: noarch
|
|
|
93912c2 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
93912c2 |
|
|
|
93912c2 |
%description
|
|
|
93912c2 |
The Crypt::GPG module provides access to the functionality of the
|
|
|
93912c2 |
GnuPG (www.gnupg.org) encryption tool through an object oriented
|
|
|
93912c2 |
interface. It provides methods for encryption, decryption, signing,
|
|
|
93912c2 |
signature verification, key generation, key certification, export
|
|
|
93912c2 |
and import.
|
|
|
93912c2 |
|
|
|
93912c2 |
%prep
|
|
|
93912c2 |
%setup -q -n %{pkgname}-%{version}
|
|
|
93912c2 |
%patch0 -p1 -b .fedora
|
|
|
93912c2 |
|
|
|
93912c2 |
%build
|
|
|
93912c2 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
93912c2 |
make %{?_smp_mflags}
|
|
|
93912c2 |
|
|
|
93912c2 |
%install
|
|
|
93912c2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
93912c2 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
93912c2 |
|
|
|
93912c2 |
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
|
|
|
93912c2 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
93912c2 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
93912c2 |
|
|
|
93912c2 |
%check
|
|
|
93912c2 |
make test
|
|
|
93912c2 |
|
|
|
93912c2 |
%clean
|
|
|
93912c2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
93912c2 |
|
|
|
93912c2 |
%files
|
|
|
93912c2 |
%defattr(-,root,root,-)
|
|
|
93912c2 |
%doc README
|
|
|
93912c2 |
%{perl_vendorlib}/Crypt
|
|
|
93912c2 |
%{_mandir}/man3/Crypt::GPG.3pm*
|
|
|
93912c2 |
|
|
|
93912c2 |
%changelog
|
|
|
ad36e5b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-4
|
|
|
ad36e5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ad36e5b |
|
|
|
93912c2 |
* Mon Jun 01 2009 Robert Scheck <robert@fedoraproject.org> 1.63-3
|
|
|
93912c2 |
- Changes to match with Fedora Packaging Guidelines (#503175)
|
|
|
93912c2 |
|
|
|
93912c2 |
* Mon Jun 01 2009 Robert Scheck <robert@fedoraproject.org> 1.63-2
|
|
|
93912c2 |
- Enabled the %%check section (#503175 #c1)
|
|
|
93912c2 |
|
|
|
93912c2 |
* Fri May 29 2009 Robert Scheck <robert@fedoraproject.org> 1.63-1
|
|
|
93912c2 |
- Upgrade to 1.63
|
|
|
93912c2 |
- Initial spec file for Fedora and Red Hat Enterprise Linux
|