[rubygem-cri/f14/master] Initial import

Michal Fojtik mfojtik at fedoraproject.org
Mon Nov 1 11:42:35 UTC 2010


commit f2d205e4f01fba0f6bc5557783c078dbceaf4c13
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Mon Nov 1 12:42:27 2010 +0100

    Initial import

 .gitignore       |    1 +
 rubygem-cri.spec |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ff49bbc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cri-1.0.1.gem
diff --git a/rubygem-cri.spec b/rubygem-cri.spec
new file mode 100644
index 0000000..83c4e8c
--- /dev/null
+++ b/rubygem-cri.spec
@@ -0,0 +1,73 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname cri
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Ruby library for building easy-to-use commandline tools
+Name: rubygem-%{gemname}
+Version: 1.0.1
+Release: 3%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://rubygems.org/gems/cri
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Requires: rubygems
+Requires:	ruby(abi) = %{rubyabi}
+BuildRequires:	ruby(abi) = %{rubyabi}
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Cri is a library for building easy-to-use commandline tools.
+
+%package	doc
+Summary:	Documentation for %{name}
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+
+%description	doc
+This package contains documentation for %{name}.
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib
+%doc %{geminstdir}/ChangeLog
+%doc %{geminstdir}/LICENSE
+%doc %{geminstdir}/README
+%doc %{geminstdir}/NEWS
+%doc %{geminstdir}/VERSION
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%{geminstdir}/Rakefile
+%{gemdir}/doc/%{gemname}-%{version}
+
+%changelog
+* Thu Nov 01 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.1-3
+- Fixed attributes on doc subpackage
+- Fixed release version number
+
+* Thu Oct 17 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.1-2
+- Fixed version to MIT
+- Rakefile moved to -doc
+- Changed summary text
+
+* Thu Oct 07 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..4f4f3a3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+91e095058ab65e25ac9933aab74882c7  cri-1.0.1.gem


More information about the scm-commits mailing list