# Generated from rubinius-net-ldap-0.11.gem by gem2rpm -*- rpm-spec -*- %global gem_name rubinius-net-ldap Name: rubygem-%{gem_name} Version: 0.11 Release: 1%{?dist} Summary: Net::LDAP for Ruby (also called net-ldap) implements client access for the Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for accessing distributed directory services License: MIT URL: https://github.com/rubinius/ruby-net-ldap Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(flexmock) >= 1.3 # BuildRequires: rubygem(flexmock) < 2 BuildArch: noarch %description Net::LDAP for Ruby (also called net-ldap) implements client access for the Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for accessing distributed directory services. Net::LDAP is written completely in Ruby with no external dependencies. It supports most LDAP client features and a subset of server features as well. Net::LDAP has been tested against modern popular LDAP servers including OpenLDAP and Active Directory. The current release is mostly compliant with earlier versions of the IETF LDAP RFCs (2251-2256, 2829-2830, 3377, and 3771). Our roadmap for Net::LDAP 1.0 is to gain full client compliance with the most recent LDAP RFCs (4510-4519, plutions of 4520-4532). NOTE: This is a fork of https://github.com/ruby-ldap/ruby-net-ldap to support Ruby 1.8.7. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Run the test suite. popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.rubocop_todo.yml %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/License.rdoc %{gem_libdir} %{gem_instdir}/script %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/Contributors.rdoc %{gem_instdir}/Gemfile %doc %{gem_instdir}/Hacking.rdoc %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/rubinius-net-ldap.gemspec %{gem_instdir}/test %{gem_instdir}/testserver %changelog * Wed Apr 20 2022 mockbuilder - 0.11-1 - Initial package