perl-ldap.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. ##
  2. ## perl-ldap.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  5. ## Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.com>
  6. ##
  7. ## Permission to use, copy, modify, and distribute this software for
  8. ## any purpose with or without fee is hereby granted, provided that
  9. ## the above copyright notice and this permission notice appear in all
  10. ## copies.
  11. ##
  12. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  13. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  14. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  15. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  16. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  17. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  18. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  19. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  20. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  21. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  22. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  23. ## SUCH DAMAGE.
  24. ##
  25. # versions of individual parts
  26. %define V_perl_ldap 0.28
  27. # package information
  28. Name: perl-ldap
  29. Summary: Perl Modules for use with LDAP
  30. URL: http://www.cpan.org/
  31. Vendor: Perl Community
  32. Packager: The OpenPKG Project
  33. Distribution: OpenPKG [BASE]
  34. Group: Language
  35. License: GPL/Artistic
  36. Version: 20030520
  37. Release: 20030520
  38. # list of sources
  39. Source0: http://www.cpan.org/modules/by-module/Net/perl-ldap-%{V_perl_ldap}.tar.gz
  40. # build information
  41. Prefix: %{l_prefix}
  42. BuildRoot: %{l_buildroot}
  43. BuildPreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg, perl-conv, perl-crypto, perl-ssl, perl-sys, perl-www, perl-xml
  44. PreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg, perl-conv, perl-crypto, perl-ssl, perl-sys, perl-www, perl-xml
  45. AutoReq: no
  46. AutoReqProv: no
  47. %description
  48. Perl modules for general utility usage:
  49. - Net::LDAP (%{V_perl_ldap})
  50. %prep
  51. %setup -q -c
  52. %build
  53. %install
  54. # perform common prolog operations
  55. %{l_prefix}/bin/perl-openpkg prolog
  56. # build and install individual modules
  57. %{l_prefix}/bin/perl-openpkg install -d %{SOURCE0}
  58. # perform common epilog operations
  59. %{l_prefix}/bin/perl-openpkg epilog
  60. %files -f files
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT