perl-Convert-PEM-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. %define module Convert-PEM
  2. %define name perl-%{module}
  3. %define version 0.07
  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/Languages
  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. Requires: perl-Convert-ASN1
  14. Requires: perl-Crypt-DES_EDE3
  15. Requires: perl-Class-ErrorHandler
  16. BuildRequires: perl-Class-ErrorHandler
  17. BuildRequires: perl-Convert-ASN1
  18. BuildRequires: perl-Crypt-DES_EDE3
  19. BuildArch: noarch
  20. BuildRoot: %{_tmppath}/%{name}-%{version}
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. Convert::PEM reads and writes PEM files containing ASN.1-encoded objects.
  25. The files can optionally be encrypted using a symmetric cipher algorithm,
  26. such as 3DES.
  27. %prep
  28. %setup -q -n %{module}-%{version}
  29. %build
  30. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  31. %{__make}
  32. %check
  33. %{__make} test
  34. %install
  35. rm -rf %{buildroot}
  36. %makeinstall
  37. rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  38. rm -rf %{buildroot}%{perl_vendorarch}
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root)
  43. %doc README Changes
  44. %{_mandir}/*/*
  45. %{perl_vendorlib}/*
  46. %changelog
  47. * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-1vl5
  48. - rebuild with perl 5.10
  49. - new versioning policy
  50. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-0vl1
  51. - built for VineSeed
  52. * Sat Mar 08 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-0vl0.43
  53. - add Requires: perl-Convert-ASN1/perl-Crypt-DES_EDE3/perl-Class-ErrorHandler
  54. * Mon Mar 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.07-0vl0.42
  55. - built for Vine 4.2 (testing)
  56. - 1st build for Vine