[521] | 1 | %define module Crypt-DES |
---|
| 2 | %define name perl-%{module} |
---|
| 3 | %define version 2.05 |
---|
[8651] | 4 | %define release 3%{_dist_release} |
---|
[521] | 5 | |
---|
| 6 | Name: %{name} |
---|
| 7 | Version: %{version} |
---|
| 8 | Release: %{release} |
---|
| 9 | Summary: Perl DES encryption module |
---|
| 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 | BuildRoot: %{_tmppath}/%{name}-%{version} |
---|
| 15 | |
---|
[8651] | 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 17 | |
---|
[521] | 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | The module implements the Crypt::CBC interface. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q -n %{module}-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
---|
| 29 | %{__make} |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf %{buildroot} |
---|
| 33 | %makeinstall |
---|
| 34 | # rm -f %{buildroot}%{perl_archlib}/perllocal.pod |
---|
| 35 | rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist |
---|
| 36 | |
---|
| 37 | %clean |
---|
| 38 | rm -rf %{buildroot} |
---|
| 39 | |
---|
| 40 | %files |
---|
| 41 | %defattr(-,root,root) |
---|
| 42 | # %doc README Changes |
---|
| 43 | %doc README |
---|
| 44 | %{_mandir}/man3*/* |
---|
| 45 | %{perl_vendorarch}/Crypt/* |
---|
| 46 | %{perl_vendorarch}/auto/* |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %changelog |
---|
[8651] | 50 | * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.05-3 |
---|
| 51 | - build with Perl 5.16 |
---|
| 52 | - add Requires MODULE_COMPAT_* |
---|
| 53 | |
---|
[3105] | 54 | * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 2.05-2vl6 |
---|
| 55 | - build with perl 5.12.3 |
---|
| 56 | |
---|
[521] | 57 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.05-1 |
---|
| 58 | - rebuilt with perl-5.10.0. |
---|
| 59 | |
---|
| 60 | * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl1 |
---|
| 61 | - rebuilt for VineSeed |
---|
| 62 | |
---|
| 63 | * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.43 |
---|
| 64 | - rebuilt to release for VinePlus 4.2 |
---|
| 65 | |
---|
| 66 | * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.42 |
---|
| 67 | - built for Vine 4.2 (testing) |
---|
| 68 | |
---|