perl-Convert-ASN1-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Summary: Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.
  2. Summary(ja): Convert::ASN1 は BER/DER ルールを使って ASN.1 データ構造をエンコードもしくはデコードします。
  3. Name: perl-Convert-ASN1
  4. Version: 0.21
  5. Release: 2%{_dist_release}
  6. License: distributable
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/~gbarr/Convert-ASN1/
  9. Source0: Convert-ASN1-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl >= 5.10
  13. Requires: perl
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.
  18. %description -l ja
  19. Convert::ASN1 は BER/DER ルールを使って ASN.1 データ構造をエンコード
  20. もしくはデコードします。
  21. %prep
  22. %setup -q -n Convert-ASN1-%{version}
  23. %build
  24. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  25. make
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT
  29. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  30. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  31. find $RPM_BUILD_ROOT/usr -type f -print |
  32. sed "s@^$RPM_BUILD_ROOT@@g" |
  33. grep -v perllocal.pod |
  34. grep -v "\.packlist" > Convert-ASN1-%{version}-filelist
  35. if [ "$(cat Convert-ASN1-%{version}-filelist)X" = "X" ] ; then
  36. echo "ERROR: EMPTY FILE LIST"
  37. exit -1
  38. fi
  39. %check
  40. make test
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files -f Convert-ASN1-%{version}-filelist
  44. %defattr(-,root,root,-)
  45. %dir %{perl_vendorlib}/Convert
  46. %dir %{perl_vendorlib}/Convert/ASN1
  47. %doc README ChangeLog examples/*
  48. %changelog
  49. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.21-2vl5
  50. - spec in utf-8
  51. * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.21-1vl5
  52. - rebuild with perl 5.10
  53. - new versioning policy
  54. - add doc into files section
  55. * Mon Oct 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21-0vl1
  56. - new upstrem release
  57. - changed Group to Development/Libraries
  58. * Mon Sep 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-0vl1
  59. - new upstrem release
  60. - make test
  61. * Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18-0vl2
  62. - rebuild for VineSeed
  63. * Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 0.18-0vl1
  64. - Initial build for Vine Linux 3.1.
  65. * Mon Feb 23 2004 <yasuma@miraclelinux.com> 0.18-1
  66. - Initial build.