OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-PEM?expand=0&rev=4
58 lines
1.5 KiB
RPMSpec
58 lines
1.5 KiB
RPMSpec
%define modname Convert-PEM
|
|
Name: perl-%{modname}
|
|
Version: 0.07
|
|
Release: 2
|
|
Summary: Read/write encrypted ASN.1 PEM files
|
|
Requires: perl = %{perl_version} perl-Convert-ASN1 perl-Crypt-DES_EDE3
|
|
Requires: perl(Class::ErrorHandler) perl(MIME::Base64)
|
|
BuildRequires: perl perl-Convert-ASN1 perl-Crypt-DES_EDE3
|
|
BuildRequires: perl-Class-ErrorHandler
|
|
Requires: perl(Digest::MD5)
|
|
BuildRequires: perl(Digest::MD5)
|
|
License: GPL/Artistic
|
|
Group: Development/Libraries/Perl
|
|
Source: %{modname}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
%description
|
|
Convert::PEM> reads and writes PEM files containing ASN.1-encoded objects. The
|
|
files can optionally be encrypted using a symmetric cipher algorithm, such as
|
|
3DES.
|
|
|
|
Authors:
|
|
--------
|
|
Benjamin Trott <ben@rhumba.pair.com>
|
|
|
|
%prep
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
make
|
|
make test
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc README Changes ToDo
|
|
%doc %{_mandir}/man?/*
|
|
%{perl_vendorlib}/Convert/PEM
|
|
%{perl_vendorlib}/Convert/PEM.pm
|
|
%{perl_vendorarch}/auto/Convert/PEM
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 31 2006 - James Oakley <jfunk@funktronics.ca> - 0.07-2
|
|
- Don't require perl-Digest-MD5 in openSUSE >= 10.1. It's in core now
|
|
|
|
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 0.07-1
|
|
- Initial release
|