[rubygem-journey] Move README.rdoc containing license into main package.

Vít Ondruch vondruch at fedoraproject.org
Mon Jan 30 14:08:03 UTC 2012


commit d08086e3f64cd6ee2fc03b7055c70933d2943150
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Jan 30 10:54:35 2012 +0100

    Move README.rdoc containing license into main package.

 rubygem-journey.spec |   84 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-journey.spec b/rubygem-journey.spec
new file mode 100644
index 0000000..c8e4ead
--- /dev/null
+++ b/rubygem-journey.spec
@@ -0,0 +1,84 @@
+# Generated from journey-1.0.1.gem by gem2rpm -*- rpm-spec -*-
+
+# TODO: It seems that this gem carries 3D JS library. Although JS libraries
+# have exeption ATM, I asked upstream if they could remove it.
+#
+# https://github.com/rails/journey/issues/15
+
+%global gem_name journey
+%global rubyabi 1.9.1
+
+Summary: Journey is a router
+Name: rubygem-%{gem_name}
+Version: 1.0.1
+Release: 2%{?dist}
+Group: Development/Languages
+# Public Domain - %%{gem_libdir}/journey/visualizer/reset.css
+License: MIT and Public Domain
+URL: http://github.com/rails/journey
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+Requires: ruby
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(minitest)
+BuildRequires: rubygem(json)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Journey is a router. It routes requests.
+
+
+%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 -Itest test
+popd
+
+%files
+%dir %{gem_instdir}
+%doc %{gem_instdir}/README.rdoc
+%exclude %{gem_instdir}/.*
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/Manifest.txt
+%doc %{gem_instdir}/CHANGELOG.rdoc
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Rakefile
+%{gem_instdir}/journey.gemspec
+%{gem_instdir}/test
+
+%changelog
+* Mon Jan 30 2012 Vít Ondruch <vondruch at redhat.com> - 1.0.1-2
+- Move README.rdoc containing license into main package.
+
+* Fri Jan 27 2012 Vít Ondruch <vondruch at redhat.com> - 1.0.1-1
+- Initial package


More information about the scm-commits mailing list