[rubygem-dnsruby/f16] * Fri Oct 14 2011 Paul Wouters <paul at xelerance.com> - 1.52-3 - Initial package - Re-enabled ri insta

Paul Wouters pwouters at fedoraproject.org
Mon Oct 17 15:22:22 UTC 2011


commit 0a952b0c590eebd161122834b4973f3547f70612
Author: Paul Wouters <paul at xelerance.com>
Date:   Fri Oct 14 10:39:00 2011 -0400

    * Fri Oct 14 2011 Paul Wouters <paul at xelerance.com> - 1.52-3
    - Initial package
    - Re-enabled ri install

 .gitignore           |    1 +
 rubygem-dnsruby.spec |   88 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 90 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f43523b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dnsruby-1.52.gem
diff --git a/rubygem-dnsruby.spec b/rubygem-dnsruby.spec
new file mode 100644
index 0000000..c9dea92
--- /dev/null
+++ b/rubygem-dnsruby.spec
@@ -0,0 +1,88 @@
+# Generated from dnsruby-1.52.gem by gem2rpm -*- rpm-spec -*-
+%global gemname dnsruby
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Ruby DNS(SEC) implementation
+Name: rubygem-%{gemname}
+Version: 1.52
+Release: 3%{?dist}
+Group: Development/Languages
+License: ASL 2.0
+URL: http://rubyforge.org/projects/dnsruby/
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) 
+Requires: ruby 
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems) 
+BuildRequires: ruby 
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Dnsruby is a pure Ruby DNS client library. It provides a complete DNS
+client implementation, including DNSSEC. It can also load (BIND) zone
+files. Dnsruby has been used in OpenDNSSEC and ISC's DLV service.
+
+%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 .%{gemdir}
+# ri installs bad filenames with macros in it, see rhbz#711893
+# Reported to upstream
+gem install --local --install-dir .%{gemdir} \
+            --force %{SOURCE0} 
+
+%build
+
+# Requires network traffic, also contains errors and seems to never return
+#% check
+#pushd .% {geminstdir}
+#RUBYOPT=rubygems testrb test/*.rb
+#popd
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* \
+        %{buildroot}%{gemdir}/
+# fix some DOS formated file
+sed -i 's/\r//' %{buildroot}%{geminstdir}/README
+sed -i 's/\r//' %{buildroot}%{geminstdir}/DNSSEC
+
+%files
+%dir %{geminstdir}
+%{geminstdir}/lib
+%{geminstdir}/test
+%{geminstdir}/demo
+%{geminstdir}/Rakefile
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%doc %{geminstdir}/README
+
+%files doc
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/DNSSEC
+%doc %{geminstdir}/EXAMPLES
+%doc %{geminstdir}/README
+%doc %{geminstdir}/EVENTMACHINE
+
+
+%changelog
+* Fri Oct 14 2011 Paul Wouters <paul at xelerance.com> - 1.52-3
+- Initial package
+- Re-enabled ri install
+
+* Tue Oct 04 2011 Paul Wouters <paul at xelerance.com> - 1.52-2
+- Initial package for review
diff --git a/sources b/sources
index e69de29..78c034b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f329b26ddf519e1b574057ab33f287a8  dnsruby-1.52.gem


More information about the scm-commits mailing list