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