[rubygem-temple] Initial package

Bohuslav Kabrda bkabrda at fedoraproject.org
Fri Jul 27 13:13:31 UTC 2012


commit 214614c2f916c9949a593005fc9ae133c4739407
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Fri Jul 27 15:13:26 2012 +0200

    Initial package

 .gitignore          |    1 +
 rubygem-temple.spec |   78 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 80 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..197bc87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/temple-0.4.0.gem
diff --git a/rubygem-temple.spec b/rubygem-temple.spec
new file mode 100644
index 0000000..7e3f518
--- /dev/null
+++ b/rubygem-temple.spec
@@ -0,0 +1,78 @@
+# Generated from temple-0.4.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name temple
+%global rubyabi 1.9.1
+
+Summary: Template compilation framework in Ruby
+Name: rubygem-%{gem_name}
+Version: 0.4.0
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://dojo.rubyforge.org/
+Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(bacon)
+BuildRequires: rubygem(tilt)
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Temple is an abstraction and a framework for compiling templates to pure Ruby.
+It's all about making it easier to experiment, implement and optimize template
+languages. If you're interested in implementing your own template language,
+or anything else related to the internals of a template engine: You've come
+to the right place.
+
+
+%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}
+bacon -Itest -a
+popd
+
+%files
+%dir %{gem_instdir}
+%doc %{gem_instdir}/LICENSE
+%{gem_libdir}
+%exclude %{gem_instdir}/.*
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGES
+%doc %{gem_instdir}/EXPRESSIONS.md
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Rakefile
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_instdir}/test
+
+%changelog
+* Fri Jul 27 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.4.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..c9e8e4e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0e09e36e9cc2c32bc936381e3c335ddb  temple-0.4.0.gem


More information about the scm-commits mailing list