source: projects/specs/branches/6/p/perl-Authen-SASL/perl-Authen-SASL-vl.spec @ 3736

Revision 3736, 2.5 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
2
3Summary: Authen::SASL - SASL Authentication framework
4Summary(ja): Authen::SASL - perl 用 SASL 認証フレームワーク
5Name: perl-Authen-SASL
6Version: 2.12
7Release: 2%{?_dist_release}
8License: distributable
9Group: Development/Libraries
10URL: http://search.cpan.org/~gbarr/Authen-SASL/
11Source0: Authen-SASL-%{version}.tar.gz
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildArch: noarch
14BuildRequires: perl
15BuildRequires: perl-Digest-HMAC
16BuildRequires: perl-GSSAPI
17Requires: perl
18Requires: perl-Digest-HMAC
19Requires: perl-GSSAPI
20
21%description
22SASL is a generic mechanism for authentication used by several network
23protocols. Authen::SASL provides an implementation framework that
24all protocols should be able to share.
25
26%description -l ja
27SASL とは、ネットワークプロトコルの一部で使われる、認証のための汎用的な
28メカニズムです。Authen::SASL ではすべてのプロトコルで共有できるフレーム
29ワークを提供します。
30
31%prep
32%setup -q -n Authen-SASL-%{version}
33
34
35%build
36CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
37make
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make install DESTDIR=$RPM_BUILD_ROOT
42
43[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
44
45find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
46
47find $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
51if [ "$(cat Authen-SASL-%{version}-filelist)X" = "X" ] ; then
52    echo "ERROR: EMPTY FILE LIST"
53    exit -1
54fi
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%check
60make 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.
Note: See TracBrowser for help on using the repository browser.