ruby-ldap-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: ruby-ldap
  2. Version: 0.9.7
  3. Release: 1%{?_dist_release}
  4. License: BSD
  5. Group: Development/Libraries
  6. Source: http://prdownloads.sourceforge.net/ruby-ldap/%{name}-%{version}.tar.gz
  7. URL: http://ruby-ldap.sourceforge.net
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. BuildRequires: ruby, ruby-devel >= 1.8
  10. BuildRequires: openldap-devel >= 2.0
  11. BuildRequires: openssl-devel
  12. Summary: Interface to some LDAP libraries for Ruby
  13. Summary(ja): Ruby 用の LDAP ライブラリへのインタフェース
  14. %description
  15. Ruby/LDAP is an extension module for Ruby, it provides the interface to some
  16. LDAP libraries (for example, OpenLDAP, UMich LDAP, Netscape SDK). The common
  17. API for application developments is described in RFC1823, Most of libraries
  18. comply with it. Ruby/LDAP supports those libraries.
  19. %description -l ja
  20. Ruby/LDAP は Ruby 用の拡張ライブラりで,各種 LDAP ライブラリ(OpenLDAP, UMich
  21. LDAP, Netscape SDKなど)に対するインタフェースを提供します.API は RFC1823 に
  22. 記述されています.
  23. %prep
  24. %setup -q -c
  25. %build
  26. cd %{name}-%{version}
  27. ruby extconf.rb \
  28. --with-openldap2 \
  29. --with-libssl=/usr/include/openssl
  30. make
  31. cd ..
  32. %install
  33. rm -rf ${RPM_BUILD_ROOT}
  34. mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
  35. # installing binaries ...
  36. cd %{name}-%{version}
  37. make install sitedir=${RPM_BUILD_ROOT}%{_libdir}/ruby
  38. cd ..
  39. (find \
  40. $RPM_BUILD_ROOT%{_libdir} \
  41. -type f -o -type l) |
  42. sort | sed -e "s,^$RPM_BUILD_ROOT,," > ruby-ldap.files
  43. %clean
  44. rm -f ruby-ldap.files
  45. rm -rf ${RPM_BUILD_ROOT}
  46. %pre
  47. %post
  48. %files -f ruby-ldap.files
  49. %defattr(-, root, root)
  50. %doc %{name}-%{version}/ChangeLog
  51. %doc %{name}-%{version}/FAQ
  52. %doc %{name}-%{version}/README
  53. %doc %{name}-%{version}/TODO
  54. %doc %{name}-%{version}/example
  55. %doc %{name}-%{version}/test
  56. %changelog
  57. * Thu Apr 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.7-1
  58. - applied new versioning policy, spec in UTF-8
  59. - rebuilt with openldap-2.4.11
  60. * Sun Jun 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.7-0vl2
  61. - rebuilt with openssl-0.9.8e
  62. * Sat Sep 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.7-0vl1
  63. - new upstream version.
  64. - rebuilt with ruby 1.8.4 and openldap 2.3.27
  65. * Mon Dec 08 2003 akira yamada <akira@vinelinux.org> 0.8.2-0vl1
  66. - new upstream version.
  67. - build with Ruby 1.8.
  68. * Thu Jul 25 2002 Satoshi MACHINO <macino@vinelinux.org> 0.7.1-0vl1
  69. - new upstream version.
  70. * Tue Jul 02 2002 Satoshi MACHINO <macino@vinelinux.org> 0.7.0-0vl1
  71. - new upstream version.
  72. * Wed Apr 03 2002 Satoshi MACHINO <macino@vinelinux.org> 0.6.1-0vl1
  73. - new upstream version.
  74. * Mon Mar 18 2002 akira yamada <akira@vinelinux.org> 0.6.0-0vl1
  75. - new upstream version.
  76. * Wed Jan 09 2002 Satoshi MACHINO <machino@vinelinux.org> 0.5.0-0vl1
  77. - update ruby-ldap-0.5.0
  78. - update BuildPreReq's ruby version to 1.6.6-0vl3
  79. * Mon Dec 10 2001 akira yamada <akira@vinelinux.org> 0.4.0-0vl1
  80. - Initial packaging.