[rubygem-tins] Initial import (#996489)

Axilleas Pipinellis axilleas at fedoraproject.org
Tue Aug 13 15:33:18 UTC 2013


commit ed116753f563a470827ea620b52f501663199d77
Author: Axilleas Pipinellis <axilleas at archlinux.gr>
Date:   Tue Aug 13 18:32:39 2013 +0300

    Initial import (#996489)

 .gitignore        |    1 +
 rubygem-tins.spec |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4b10461 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tins-0.8.4.gem
diff --git a/rubygem-tins.spec b/rubygem-tins.spec
new file mode 100644
index 0000000..9d37c4e
--- /dev/null
+++ b/rubygem-tins.spec
@@ -0,0 +1,80 @@
+# Generated from tins-0.8.3.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name tins
+
+Name: rubygem-%{gem_name}
+Version: 0.8.4
+Release: 1%{?dist}
+Summary: Useful tools library in Ruby
+Group: Development/Languages
+License: MIT
+URL: http://github.com/flori/tins
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(release)
+Requires: ruby(rubygems)
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(test-unit)
+BuildRequires: rubygem(simplecov)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+All the stuff that isn't good/big enough for a real library.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+gem unpack %{SOURCE0}
+
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build %{gem_name}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%check
+pushd .%{gem_instdir}
+testrb2 -Ilib tests/
+popd
+
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%doc %{gem_instdir}/COPYING
+%exclude %{gem_instdir}/.*
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.rdoc
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Rakefile
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_instdir}/tests/
+%{gem_instdir}/VERSION
+%exclude %{gem_instdir}/TODO
+
+%changelog
+* Tue Aug 13 2013 Axilleas Pipinellis <axilleaspi at ymail.com> - 0.8.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..767e7f1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e0e3720decab3d481c9c7c285f6a5e26  tins-0.8.4.gem


More information about the scm-commits mailing list