source: projects/specs/branches/6/p/perl-Convert-ASN1/perl-Convert-ASN1-vl.spec @ 3736

Revision 3736, 2.4 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

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