perl-Authen-SASL-vl.spec 2.4 KB

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