perl-ldap-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Summary: The perl-ldap distribution is a collection of perl modules
  2. Summary(ja): perl-ldap は perl 用の LDAP サポートルーチンです
  3. Name: perl-ldap
  4. Version: 0.3202
  5. Release: 1%{?_dist_release}
  6. License: distributable
  7. Group: Development/Libraries
  8. URL: http://www.cpan.org
  9. Source0: perl-ldap-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Provides: %{name}
  12. BuildArch: noarch
  13. BuildRequires: perl perl-XML-SAX perl-IO-Socket-SSL perl-Authen-SASL
  14. BuildRequires: perl-Convert-ASN1 >= 0.07
  15. BuildRequires: perl-Net_SSLeay
  16. Requires: perl perl-XML-SAX perl-IO-Socket-SSL perl-Authen-SASL perl-Convert-ASN1 >= 0.07
  17. Requires: perl-Net_SSLeay >= 1.25-0vl2
  18. %description
  19. Net::LDAP::Control is a base-class for LDAPv3 control objects.
  20. %description -l ja
  21. Net::LDAP::Control は LDAPv3 制御プロトコルの基底クラスです。
  22. %prep
  23. %setup -q -n perl-ldap-%{version}
  24. %build
  25. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
  26. make
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install
  30. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  31. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  32. find $RPM_BUILD_ROOT/usr -type f -print |
  33. sed "s@^$RPM_BUILD_ROOT@@g" |
  34. grep -v perllocal.pod |
  35. grep -v "\.packlist" > perl-ldap-%{version}-filelist
  36. if [ "$(cat perl-ldap-%{version}-filelist)X" = "X" ] ; then
  37. echo "ERROR: EMPTY FILE LIST"
  38. exit -1
  39. fi
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files -f perl-ldap-%{version}-filelist
  43. %defattr(-,root,root,-)
  44. %changelog
  45. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.3202-1vl5
  46. - spec in utf-8
  47. - applied vine5 versioning policy
  48. * Sun Sep 03 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3202-0vl2
  49. - changed Group to Development/Libraries
  50. * Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3202-0vl1
  51. - new upstream release
  52. * Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 0.31-0vl1
  53. - Initial build for Vine Linux 3.1.
  54. * Mon Feb 23 2004 <yasuma@miraclelinux.com> 0.31-1
  55. - Initial build.