summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2012-08-03 17:16:01 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2012-08-03 17:16:01 -0600
commit3585768791f75a38cbe455a9ab168a7f2e7fa12d (patch)
tree37fc0b7e2aef559d0386377ab2a8bcad8ae8d250
downloadrubygem-ruby-yadis-3585768791f75a38cbe455a9ab168a7f2e7fa12d.zip
rubygem-ruby-yadis-3585768791f75a38cbe455a9ab168a7f2e7fa12d.tar.gz
rubygem-ruby-yadis-3585768791f75a38cbe455a9ab168a7f2e7fa12d.tar.xz
Initial package, created by gem2rpm 0.8.1
-rw-r--r--rubygem-ruby-yadis.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/rubygem-ruby-yadis.spec b/rubygem-ruby-yadis.spec
new file mode 100644
index 0000000..f340b37
--- /dev/null
+++ b/rubygem-ruby-yadis.spec
@@ -0,0 +1,76 @@
+# Generated from ruby-yadis-0.3.4.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name ruby-yadis
+%global rubyabi 1.9.1
+
+Summary: A library for performing Yadis service discovery
+Name: rubygem-%{gem_name}
+Version: 0.3.4
+Release: 1%{?dist}
+Group: Development/Languages
+License: ASL 2.0
+URL: http://www.openidenabled.com/yadis/libraries/ruby
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+A library for performing Yadis service discovery
+
+
+%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}
+
+# Remove extra gemspec file
+#rm -rf .%{gem_instdir}/%{gem_name}.gemspec
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+
+# The test suite makes a number of HTTP calls, which is unsuitable for
+# Fedora's build system.
+#%check
+#pushd .%{gem_instdir}
+# # The tests assume that cwd is the "test" directory.
+# cd test
+# #testrb2 -I../lib .
+#popd
+
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README
+%doc %{gem_instdir}/INSTALL
+%doc %{gem_instdir}/COPYING
+%{gem_instdir}/test
+%{gem_instdir}/examples
+
+%changelog
+* Fri Aug 03 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.3.4-1
+- Initial package, created by gem2rpm 0.8.1