diff --git a/README.md b/README.md index 2941ffb..a090f60 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Convert-PEM +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. + diff --git a/perl-Convert-PEM.spec b/perl-Convert-PEM.spec new file mode 100644 index 0000000..6f92796 --- /dev/null +++ b/perl-Convert-PEM.spec @@ -0,0 +1,68 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Convert-PEM +Version: 0.08 +Release: 1mamba +Summary: Convert::PEM - Read/write encrypted ASN.1 PEM files +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Convert/Convert-PEM-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Class-ErrorHandler +BuildRequires: perl-Convert-ASN1 >= 0.10 +BuildRequires: perl-Crypt-DES_EDE3 +BuildRoot: %{_tmppath}/%{name}-%{version}-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. + +%prep +%setup -q -n Convert-PEM-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) +%doc README + +%changelog +* Sat Nov 17 2012 Automatic Build System 0.08-1mamba +- automatic version update by autodist + +* Tue Nov 13 2012 Silvan Calarco 0.07-3mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 0.07-2mamba +- automatic rebuild by autodist + +* Wed Aug 29 2007 Stefano Cotta Ramusino 0.07-1mamba +- update to 0.07 + +* Thu May 06 2004 Silvan Calarco 0.06-1qilnx +- first build \ No newline at end of file