1 |
unnilennium |
1.1 |
# Filter the Perl extension module |
2 |
|
|
%{?perl_default_filter} |
3 |
|
|
|
4 |
|
|
%global pkgname Crypt-GPG |
5 |
|
|
|
6 |
|
|
Summary: Perl Object Oriented Interface to GnuPG |
7 |
|
|
Name: perl-Crypt-GPG |
8 |
|
|
Version: 1.64 |
9 |
|
|
Release: 1%{?dist} |
10 |
|
|
License: GPL+ or Artistic |
11 |
|
|
Group: Development/Libraries |
12 |
|
|
URL: http://search.cpan.org/dist/%{pkgname}/ |
13 |
|
|
Source: http://search.cpan.org/CPAN/authors/id/A/AG/AGUL/%{pkgname}-%{version}.tar.gz |
14 |
|
|
Patch0: perl-Crypt-GPG-1.64-gpg.patch |
15 |
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)), gnupg |
16 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker), perl(IPC::Run), perl(Date::Parse), gnupg |
17 |
|
|
BuildArch: noarch |
18 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
The Crypt::GPG module provides access to the functionality of the |
22 |
|
|
GnuPG (www.gnupg.org) encryption tool through an object oriented |
23 |
|
|
interface. It provides methods for encryption, decryption, signing, |
24 |
|
|
signature verification, key generation, key certification, export |
25 |
|
|
and import. |
26 |
|
|
|
27 |
|
|
%prep |
28 |
|
|
%setup -q -n %{pkgname}-%{version} |
29 |
|
|
%patch0 -p1 -b .gpg |
30 |
|
|
|
31 |
|
|
%build |
32 |
|
|
perl Makefile.PL INSTALLDIRS=vendor |
33 |
|
|
make %{?_smp_mflags} |
34 |
|
|
|
35 |
|
|
%install |
36 |
|
|
rm -rf $RPM_BUILD_ROOT |
37 |
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
38 |
|
|
|
39 |
|
|
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \; |
40 |
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' |
41 |
|
|
chmod -R u+w $RPM_BUILD_ROOT/* |
42 |
|
|
|
43 |
|
|
%check |
44 |
|
|
make test |
45 |
|
|
|
46 |
|
|
%clean |
47 |
|
|
rm -rf $RPM_BUILD_ROOT |
48 |
|
|
|
49 |
|
|
%files |
50 |
|
|
%defattr(-,root,root,-) |
51 |
|
|
%doc README |
52 |
|
|
%{perl_vendorlib}/Crypt |
53 |
|
|
%{_mandir}/man3/Crypt::GPG.3pm* |
54 |
|
|
|
55 |
|
|
%changelog |
56 |
|
|
* Sun Oct 12 2014 Robert Scheck <robert@fedoraproject.org> 1.64-1 |
57 |
|
|
- Upgrade to 1.64 |
58 |
|
|
|
59 |
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-20 |
60 |
|
|
- Perl 5.20 rebuild |
61 |
|
|
|
62 |
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-19 |
63 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
64 |
|
|
|
65 |
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-18 |
66 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
67 |
|
|
|
68 |
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.63-17 |
69 |
|
|
- Perl 5.18 rebuild |
70 |
|
|
- Perl 5.18 compatibility (CPAN RT#68339) |
71 |
|
|
|
72 |
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-16 |
73 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
74 |
|
|
|
75 |
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-15 |
76 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
77 |
|
|
|
78 |
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.63-14 |
79 |
|
|
- Perl 5.16 rebuild |
80 |
|
|
|
81 |
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-13 |
82 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
83 |
|
|
|
84 |
|
|
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.63-12 |
85 |
|
|
- Perl mass rebuild |
86 |
|
|
|
87 |
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-11 |
88 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
89 |
|
|
|
90 |
|
|
* Thu Dec 16 2010 Petr Pisar <ppisar@redhat.com> - 1.63-10 |
91 |
|
|
- Fix fedora patch |
92 |
|
|
|
93 |
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.63-9 |
94 |
|
|
- 661697 rebuild for fixing problems with vendorach/lib |
95 |
|
|
|
96 |
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.63-8 |
97 |
|
|
- Mass rebuild with perl-5.12.0 |
98 |
|
|
|
99 |
|
|
* Mon Jan 18 2010 Stepan Kasal <skasal@redhat.com> - 1.63-7 |
100 |
|
|
- re-enable tests |
101 |
|
|
|
102 |
|
|
* Mon Jan 18 2010 Stepan Kasal <skasal@redhat.com> - 1.63-6 |
103 |
|
|
- rebuild against perl 5.10.1, temporarily disabling the tests, the |
104 |
|
|
package is known not to work with gnupg2, see #539150 |
105 |
|
|
|
106 |
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.63-5 |
107 |
|
|
- rebuild against perl 5.10.1 |
108 |
|
|
|
109 |
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-4 |
110 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
111 |
|
|
|
112 |
|
|
* Mon Jun 01 2009 Robert Scheck <robert@fedoraproject.org> 1.63-3 |
113 |
|
|
- Changes to match with Fedora Packaging Guidelines (#503175) |
114 |
|
|
|
115 |
|
|
* Mon Jun 01 2009 Robert Scheck <robert@fedoraproject.org> 1.63-2 |
116 |
|
|
- Enabled the %%check section (#503175 #c1) |
117 |
|
|
|
118 |
|
|
* Fri May 29 2009 Robert Scheck <robert@fedoraproject.org> 1.63-1 |
119 |
|
|
- Upgrade to 1.63 |
120 |
|
|
- Initial spec file for Fedora and Red Hat Enterprise Linux |