perl-Convert-PEM-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %define module Convert-PEM
  2. %define name perl-%{module}
  3. %define version 0.08
  4. %define release 1%{_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Read/write encrypted ASN.1 PEM files
  9. Group: Development/Libraries
  10. License: GPL or Artistic
  11. URL: http://search.cpan.org/dist/%{module}/
  12. Source: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/%{module}-%{version}.tar.gz
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: perl-Class-ErrorHandler
  16. BuildRequires: perl-Convert-ASN1
  17. BuildRequires: perl-Crypt-DES_EDE3
  18. Requires: perl-Class-ErrorHandler
  19. Requires: perl-Convert-ASN1
  20. Requires: perl-Crypt-DES_EDE3
  21. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. Convert::PEM reads and writes PEM files containing ASN.1-encoded objects.
  26. The files can optionally be encrypted using a symmetric cipher algorithm,
  27. such as 3DES.
  28. %prep
  29. %setup -q -n %{module}-%{version}
  30. %build
  31. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  32. make %{?_smp_mflags} OPTIMIZE="%{optflags}"
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  36. rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
  37. rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}
  38. %check
  39. make test
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root)
  44. %doc README Changes
  45. %{_mandir}/*/*
  46. %{perl_vendorlib}/*
  47. %changelog
  48. * Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.08-1
  49. - updated to 0.08
  50. - rebuild with perl-5.16.3
  51. - moved to Development/Libraries Group
  52. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.07-2
  53. - rebuild with perl-5.12.3
  54. * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-1vl5
  55. - rebuild with perl 5.10
  56. - new versioning policy
  57. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-0vl1
  58. - built for VineSeed
  59. * Sat Mar 08 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-0vl0.43
  60. - add Requires: perl-Convert-ASN1/perl-Crypt-DES_EDE3/perl-Class-ErrorHandler
  61. * Mon Mar 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-0vl0.42
  62. - built for Vine 4.2 (testing)
  63. - 1st build for Vine