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