source: projects/specs/trunk/p/perl-Authen-SASL/perl-Authen-SASL-vl.spec @ 9167

Revision 9167, 2.7 KB checked in by inagaki, 9 years ago (diff)

2014-12-19 Ryoichi INAGAKI <ryo1@…>

  • perl-Authen-{Captcha, Radius, SASL}, perl-DBM-Deep, perl-DateTime?-Format-{HTTP, Mail}, perl-Dist-CheckConflicts?, perl-Eval-Closure, perl-Package-DeprecationManager?, perl-Regexp-Common, perl-Term-ReadLine?-Gnu, perl-Text-Template: updated
  • perl-DateTime?-Format-{IBeat, W3CDTF}, perl-Declare-Constraints-Simple, perl-Text-Markdown: rebuilt
  • perl-String-Random: NEW


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.16
7Release: 1%{?_dist_release}
8License: GPL+ or Artistic
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(ExtUtils::MakeMaker) >= 6.42
15BuildRequires: perl(Digest::HMAC)
16BuildRequires: perl(Digest::MD5)
17BuildRequires: perl(GSSAPI)
18BuildRequires: perl(Test::More)
19Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
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 とは、ネットワークプロトコルの一部で使われる、認証のための汎用的なメカニズムです。Authen::SASL ではすべてのプロトコルで共有できるフレームワークを提供します。
28
29%prep
30%setup -q -n Authen-SASL-%{version}
31
32
33%build
34CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
35make
36
37%install
38rm -rf $RPM_BUILD_ROOT
39make install DESTDIR=$RPM_BUILD_ROOT
40
41[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
42
43find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
44
45find $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
49if [ "$(cat Authen-SASL-%{version}-filelist)X" = "X" ] ; then
50    echo "ERROR: EMPTY FILE LIST"
51    exit -1
52fi
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%check
58make 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.
Note: See TracBrowser for help on using the repository browser.