1 | %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) |
---|
2 | |
---|
3 | Summary: Authen::SASL - SASL Authentication framework |
---|
4 | Summary(ja): Authen::SASL - perl 用 SASL 認証フレームワーク |
---|
5 | Name: perl-Authen-SASL |
---|
6 | Version: 2.16 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPL+ or Artistic |
---|
9 | Group: Development/Libraries |
---|
10 | URL: http://search.cpan.org/~gbarr/Authen-SASL/ |
---|
11 | Source0: Authen-SASL-%{version}.tar.gz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildArch: noarch |
---|
14 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 |
---|
15 | BuildRequires: perl(Digest::HMAC) |
---|
16 | BuildRequires: perl(Digest::MD5) |
---|
17 | BuildRequires: perl(GSSAPI) |
---|
18 | BuildRequires: perl(Test::More) |
---|
19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
20 | |
---|
21 | %description |
---|
22 | SASL is a generic mechanism for authentication used by several network |
---|
23 | protocols. Authen::SASL provides an implementation framework that |
---|
24 | all protocols should be able to share. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | SASL とは、ネットワークプロトコルの一部で使われる、認証のための汎用的なメカニズムです。Authen::SASL ではすべてのプロトコルで共有できるフレームワークを提供します。 |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n Authen-SASL-%{version} |
---|
31 | |
---|
32 | |
---|
33 | %build |
---|
34 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
35 | make |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
40 | |
---|
41 | [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
---|
42 | |
---|
43 | find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; |
---|
44 | |
---|
45 | find $RPM_BUILD_ROOT/usr -type f -print | |
---|
46 | sed "s@^$RPM_BUILD_ROOT@@g" | |
---|
47 | grep -v perllocal.pod | |
---|
48 | grep -v "\.packlist" > Authen-SASL-%{version}-filelist |
---|
49 | if [ "$(cat Authen-SASL-%{version}-filelist)X" = "X" ] ; then |
---|
50 | echo "ERROR: EMPTY FILE LIST" |
---|
51 | exit -1 |
---|
52 | fi |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | %check |
---|
58 | make test |
---|
59 | |
---|
60 | %files -f Authen-SASL-%{version}-filelist |
---|
61 | %defattr(-,root,root,-) |
---|
62 | %dir %{perl_vendorlib}/Authen |
---|
63 | %dir %{perl_vendorlib}/Authen/SASL |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.16-1 |
---|
67 | - updated to 2.16 |
---|
68 | - built with perl 5.16.3 |
---|
69 | |
---|
70 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.12-2 |
---|
71 | - rebuild with perl-5.12.3 |
---|
72 | |
---|
73 | * Wed Mar 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12-1 |
---|
74 | - new upstream release |
---|
75 | - added BuildRequires: perl-GSSAPI |
---|
76 | - applied new versioning policy, spec in UTF-8 |
---|
77 | - changed Group to Development/Libraries |
---|
78 | |
---|
79 | * Mon Sep 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.09-0vl1 |
---|
80 | - new upstream release |
---|
81 | |
---|
82 | * Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.08-0vl1 |
---|
83 | - new upstream release |
---|
84 | |
---|
85 | * Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 2.06-0vl1 |
---|
86 | - Initial build for Vine Linux 3.1. |
---|
87 | |
---|
88 | * Mon Feb 23 2004 <yasuma@miraclelinux.com> 2.06-1 |
---|
89 | - Initial build. |
---|