From 3585768791f75a38cbe455a9ab168a7f2e7fa12d Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 3 Aug 2012 17:16:01 -0600 Subject: Initial package, created by gem2rpm 0.8.1 --- rubygem-ruby-yadis.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 rubygem-ruby-yadis.spec 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 - 0.3.4-1 +- Initial package, created by gem2rpm 0.8.1 -- cgit