15f7ef0
Name:           perl-Convert-PEM
15f7ef0
Version:        0.07
55b9d7d
Release:        10%{?dist}
e4e35be
Summary:        Read/write encrypted ASN.1 PEM files
cd88108
License:        GPL+ or Artistic
15f7ef0
Group:          Development/Libraries
15f7ef0
URL:            http://search.cpan.org/dist/Convert-PEM/
5b28bba
Source0:        http://www.cpan.org/authors/id/B/BT/BTROTT/Convert-PEM-%{version}.tar.gz
15f7ef0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15f7ef0
BuildArch:      noarch
15f7ef0
BuildRequires:  perl(Crypt::DES_EDE3)
15f7ef0
BuildRequires:  perl(Convert::ASN1) >= 0.10
15f7ef0
BuildRequires:  perl(Class::ErrorHandler)
c57bb7b
BuildRequires:  perl(ExtUtils::MakeMaker)
15f7ef0
Requires:       perl(Crypt::DES_EDE3)
15f7ef0
Requires:       perl(Convert::ASN1) >= 0.10
15f7ef0
Requires:       perl(Class::ErrorHandler)
15f7ef0
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15f7ef0
15f7ef0
%description
15f7ef0
This is Convert::PEM, a module implementing read/write access
15f7ef0
to ASN.1-encoded PEM files (with optional encryption).
15f7ef0
15f7ef0
%prep
15f7ef0
%setup -q -n Convert-PEM-%{version}
15f7ef0
15f7ef0
%build
15f7ef0
%{__perl} Makefile.PL INSTALLDIRS=vendor
15f7ef0
make %{?_smp_mflags}
15f7ef0
15f7ef0
%install
15f7ef0
rm -rf $RPM_BUILD_ROOT
15f7ef0
15f7ef0
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
15f7ef0
15f7ef0
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
5b28bba
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
15f7ef0
c57bb7b
%{_fixperms} $RPM_BUILD_ROOT/*
15f7ef0
15f7ef0
perldoc -t perlgpl > COPYING
15f7ef0
perldoc -t perlartistic > Artistic
15f7ef0
15f7ef0
%check
15f7ef0
make test
15f7ef0
15f7ef0
%clean
15f7ef0
rm -rf $RPM_BUILD_ROOT
15f7ef0
15f7ef0
%files
15f7ef0
%defattr(-,root,root,-)
15f7ef0
%doc Changes README ToDo COPYING Artistic
15f7ef0
%{perl_vendorlib}/*
15f7ef0
%{_mandir}/man3/*
15f7ef0
15f7ef0
%changelog
55b9d7d
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-10
55b9d7d
- Mass rebuild with perl-5.12.0
55b9d7d
f68b070
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.07-9
f68b070
- rebuild against perl 5.10.1
f68b070
639b9c4
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-8
639b9c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
639b9c4
2571449
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
2571449
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2571449
cd88108
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.07-6
cd88108
- rebuild for new perl
cd88108
c57bb7b
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.07-5
c57bb7b
- Use fixperms macro instead of our own chmod incantation.
c57bb7b
- BR ExtUtils::MakeMaker.
c57bb7b
5b28bba
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.07-4
5b28bba
- Canonicalize Source0 URL.
5b28bba
- Fix find option order.
5b28bba
e4e35be
* Thu Feb 02 2006 Steven Pritchard <steve@kspei.com> 0.07-3
e4e35be
- Better Summary.
e4e35be
15f7ef0
* Sat Sep 17 2005 Steven Pritchard <steve@kspei.com> 0.07-2
15f7ef0
- Remove explicit core module dependencies.
15f7ef0
- Include license files.
15f7ef0
15f7ef0
* Thu Aug 25 2005 Steven Pritchard <steve@kspei.com> 0.07-1
15f7ef0
- Specfile autogenerated.