# Generated from net-ldap-0.2.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name net-ldap %global rubyabi 1.9.1 Summary: Net::LDAP for Ruby implements client access LDAP protocol Name: rubygem-%{gem_name} Version: 0.2.2 Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://net-ldap.rubyforge.org/ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) BuildRequires: rubygems-devel # specs need metaid gem that is not in Fedora yet #BuildRequires: rubygem(rspec-core) #BuildRequires: rubygem(flexmock) BuildRequires: rubygem(minitest) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} # this package obsoletes rubygem-ruby-net-ldap Provides: rubygem(ruby-net-ldap) = %{version}-%{release} Obsoletes: rubygem(ruby-net-ldap) < 0.2.2-1 %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, plus portions of 4520–4532). %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -c -T mkdir -p .%{gem_dir} gem install --local --install-dir .%{gem_dir} \ --force %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} testrb -Ilib test #rspec spec popd %files %dir %{gem_instdir} %doc %{gem_instdir}/License.rdoc %exclude %{gem_instdir}/.autotest %exclude %{gem_instdir}/.gemtest %exclude %{gem_instdir}/.rspec %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/Manifest.txt %doc %{gem_instdir}/Contributors.rdoc %doc %{gem_instdir}/Hacking.rdoc %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/autotest %{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/Rakefile %{gem_instdir}/spec %{gem_instdir}/test %{gem_instdir}/testserver %changelog * Mon Feb 06 2012 Bohuslav Kabrda - 0.2.2-1 - Initial package