source: projects/specs/trunk/p/perl-Convert-ASN1/perl-Convert-ASN1-vl.spec @ 9022

Revision 9022, 2.6 KB checked in by inagaki, 9 years ago (diff)

2014-10-25 Ryoichi INAGAKI <ryo1@…>

  • perl modules: rebuilt and update


Line 
1Summary: Perl library for encodes/decodes data using ASN.1 definitons
2Summary(ja): ASN.1 定義を用いているデータをエンコード/デコードするための Perl ライブラリ
3Name: perl-Convert-ASN1
4Version: 0.27
5Release: 1%{_dist_release}
6
7License: GPL or Artistic
8Group: Development/Libraries
9URL: http://search.cpan.org/~gbarr/Convert-ASN1/
10
11Source0: Convert-ASN1-%{version}.tar.gz
12
13BuildArch: noarch
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
16Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21%description
22Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.
23
24%description -l ja
25Convert::ASN1 は BER/DER ルールを使って ASN.1 データ構造をエンコード
26もしくはデコードします。
27
28%prep
29%setup -q -n Convert-ASN1-%{version}
30
31%build
32CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
33make
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make install DESTDIR=$RPM_BUILD_ROOT
38
39[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
40
41find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
42
43find $RPM_BUILD_ROOT/usr -type f -print |
44        sed "s@^$RPM_BUILD_ROOT@@g" |
45        grep -v perllocal.pod |
46        grep -v "\.packlist" > Convert-ASN1-%{version}-filelist
47if [ "$(cat Convert-ASN1-%{version}-filelist)X" = "X" ] ; then
48    echo "ERROR: EMPTY FILE LIST"
49    exit -1
50fi
51
52%check
53make test
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files -f Convert-ASN1-%{version}-filelist
59%defattr(-,root,root,-)
60%doc ChangeLog LICENSE README.md  examples/*
61%dir %{perl_vendorlib}/Convert
62%dir %{perl_vendorlib}/Convert/ASN1
63
64%changelog
65* Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.27-1
66- updated to 0.27
67- rebuild with perl-5.16.3
68
69* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.21-3
70- rebuild with perl-5.12.3
71
72* Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.21-2vl5
73- spec in utf-8
74
75* Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.21-1vl5
76- rebuild with perl 5.10
77- new versioning policy
78- add doc into files section
79
80* Mon Oct  1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21-0vl1
81- new upstrem release
82- changed Group to Development/Libraries
83
84* Mon Sep 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-0vl1
85- new upstrem release
86- make test
87
88* Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18-0vl2
89- rebuild for VineSeed
90
91* Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 0.18-0vl1
92- Initial build for Vine Linux 3.1.
93
94* Mon Feb 23 2004  <yasuma@miraclelinux.com> 0.18-1
95- Initial build.
Note: See TracBrowser for help on using the repository browser.