perl-Authen-SASL-vl.spec 2.7 KB

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