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.12 |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | License: distributable |
---|
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 |
---|
15 | BuildRequires: perl-Digest-HMAC |
---|
16 | BuildRequires: perl-GSSAPI |
---|
17 | Requires: perl |
---|
18 | Requires: perl-Digest-HMAC |
---|
19 | Requires: perl-GSSAPI |
---|
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 とは、ネットワークプロトコルの一部で使われる、認証のための汎用的な |
---|
28 | メカニズムです。Authen::SASL ではすべてのプロトコルで共有できるフレーム |
---|
29 | ワークを提供します。 |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n Authen-SASL-%{version} |
---|
33 | |
---|
34 | |
---|
35 | %build |
---|
36 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
37 | make |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
42 | |
---|
43 | [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
---|
44 | |
---|
45 | find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; |
---|
46 | |
---|
47 | find $RPM_BUILD_ROOT/usr -type f -print | |
---|
48 | sed "s@^$RPM_BUILD_ROOT@@g" | |
---|
49 | grep -v perllocal.pod | |
---|
50 | grep -v "\.packlist" > Authen-SASL-%{version}-filelist |
---|
51 | if [ "$(cat Authen-SASL-%{version}-filelist)X" = "X" ] ; then |
---|
52 | echo "ERROR: EMPTY FILE LIST" |
---|
53 | exit -1 |
---|
54 | fi |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | |
---|
59 | %check |
---|
60 | make test |
---|
61 | |
---|
62 | %files -f Authen-SASL-%{version}-filelist |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %dir %{perl_vendorlib}/Authen |
---|
65 | %dir %{perl_vendorlib}/Authen/SASL |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.12-2 |
---|
69 | - rebuild with perl-5.12.3 |
---|
70 | |
---|
71 | * Wed Mar 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12-1 |
---|
72 | - new upstream release |
---|
73 | - added BuildRequires: perl-GSSAPI |
---|
74 | - applied new versioning policy, spec in UTF-8 |
---|
75 | - changed Group to Development/Libraries |
---|
76 | |
---|
77 | * Mon Sep 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.09-0vl1 |
---|
78 | - new upstream release |
---|
79 | |
---|
80 | * Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.08-0vl1 |
---|
81 | - new upstream release |
---|
82 | |
---|
83 | * Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 2.06-0vl1 |
---|
84 | - Initial build for Vine Linux 3.1. |
---|
85 | |
---|
86 | * Mon Feb 23 2004 <yasuma@miraclelinux.com> 2.06-1 |
---|
87 | - Initial build. |
---|