## START: Set by rpmautospec ## (rpmautospec version 0.7.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated from net-ldap-0.2.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name net-ldap Name: rubygem-%{gem_name} Version: 0.19.0 Release: %autorelease Summary: Net::LDAP for Ruby implements client access LDAP protocol License: MIT URL: http://github.com/ruby-ldap/ruby-net-ldap Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/ruby-ldap/ruby-net-ldap.git && cd ruby-net-ldap # git archive -v -o ruby-net-ldap-0.17.1-test.tar.gz v0.17.1 test/ Source1: ruby-%{gem_name}-%{version}-test.tar.gz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(flexmock) BuildRequires: rubygem(test-unit) 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, plus portions of 4520–4532). %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} cp -a %{_builddir}/test . popd %files %dir %{gem_instdir} %license %{gem_instdir}/License.rdoc %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/Contributors.rdoc %doc %{gem_instdir}/Hacking.rdoc %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Steve Traylen - 0.19.0-1 - Release 0.19.0 rhbz#2256671 * Fri Jul 21 2023 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Apr 13 2023 Steve Traylen - 0.18.0-1 - Update to Net::LDAP 0.18.1. * Fri Jan 20 2023 Fedora Release Engineering - 0.17.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Sep 27 2022 Vít Ondruch - 0.17.1-1 - Update to Net::LDAP 0.17.1. Resolves: rhbz#2094146 * Sat Jul 23 2022 Fedora Release Engineering - 0.17.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.17.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Mar 11 2021 Steve Traylen - 0.17.0-1 - Update to 0.17.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.16.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.16.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.16.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.16.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.16.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.16.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 03 2017 Steve Traylen - 0.16.1-1 - Update to 0.16.1 * Thu Jul 27 2017 Fedora Release Engineering - 0.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed May 31 2017 Steve Traylen - 0.16.0-2 - Bring spec file up to date with guidelines. * Wed May 31 2017 Steve Traylen - 0.16.0-1 - Update to 0.16. * Sat Feb 11 2017 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed May 13 2015 Vít Ondruch - 0.11-1 - Update to net-ldap 0.11. * Tue Jun 17 2014 Vít Ondruch - 0.6.1-1 - Update to net-ldap 0.6.1. * Sun Jun 08 2014 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Mar 07 2013 Bohuslav Kabrda - 0.3.1-4 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Thu Feb 14 2013 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 15 2012 Emanuel Rietveld - 0.3.1-1 - Updated to 0.3.1 * Tue Feb 28 2012 Bohuslav Kabrda - 0.2.2-3 - Properly obsolete rubygem-ruby-net-ldap (now really). * Wed Feb 22 2012 Bohuslav Kabrda - 0.2.2-2 - Properly obsolete rubygem-ruby-net-ldap. * Mon Feb 06 2012 Bohuslav Kabrda - 0.2.2-1 - Initial package ## END: Generated by rpmautospec