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