[rubygem-net-ldap] Initial import

Bohuslav Kabrda bkabrda at fedoraproject.org
Wed Feb 15 14:05:02 UTC 2012


commit 5c8c0878033dbb8a04828634f59ac772a4b887af
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Wed Feb 15 15:04:51 2012 +0100

    Initial import

 .gitignore            |    1 +
 rubygem-net-ldap.spec |   92 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a111f46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/net-ldap-0.2.2.gem
diff --git a/rubygem-net-ldap.spec b/rubygem-net-ldap.spec
new file mode 100644
index 0000000..f5bb432
--- /dev/null
+++ b/rubygem-net-ldap.spec
@@ -0,0 +1,92 @@
+# 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}
+
+%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 <bkabrda at redhat.com> - 0.2.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..2ed06c8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+96447b2cb5369cb6ac96197817a5cc23  net-ldap-0.2.2.gem


More information about the scm-commits mailing list