[rubygem-escape] Initial commit.

Vít Ondruch vondruch at fedoraproject.org
Tue Mar 22 10:59:50 UTC 2011


commit b731d6734f70007ddc1882fba03524134b5405a3
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Mar 22 11:59:22 2011 +0100

    Initial commit.

 .gitignore          |    1 +
 rubygem-escape.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..94cb4f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/escape-0.0.4.gem
diff --git a/rubygem-escape.spec b/rubygem-escape.spec
new file mode 100644
index 0000000..88e4ec9
--- /dev/null
+++ b/rubygem-escape.spec
@@ -0,0 +1,67 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname escape
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: HTML/URI/shell escaping utilities
+Name: rubygem-%{gemname}
+Version: 0.0.4
+Release: 2%{?dist}
+Group: Development/Languages
+License: BSD
+URL: http://www.a-k-r.org/%{gemname}
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+
+Requires: ruby(abi) = %{rubyabi}
+Requires: rubygems
+Requires: ruby
+BuildRequires: rubygems
+BuildRequires: ruby
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Escape library provides several HTML/URI/shell escaping functions.
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires:%{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+
+# Following entries are removed, because they contain just some rubbish
+rm -r %{buildroot}/%{geminstdir}/doc_include
+rm %{buildroot}/%{geminstdir}/Readme
+
+%clean
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%doc %{gemdir}/doc/%{gemname}-%{version}
+
+%changelog
+* Wed Mar 16 2011 Vít Ondruch <vondruch at redhat.com> - 0.0.4-2
+- Obsolete cleanup removed.
+
+* Thu Jan 13 2011 Vít Ondruch <vondruch at redhat.com> - 0.0.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..49ec07c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5f96135b4df6852cb3c0539b0858e3c0  escape-0.0.4.gem


More information about the scm-commits mailing list