diff --git a/README.md b/README.md index ba4863a..c6d97b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ruby-mustache +Mustache is a framework-agnostic way to render logic-free views. + diff --git a/mustache-1.1.1.gem b/mustache-1.1.1.gem new file mode 100644 index 0000000..e6c8106 Binary files /dev/null and b/mustache-1.1.1.gem differ diff --git a/ruby-mustache.spec b/ruby-mustache.spec new file mode 100644 index 0000000..54dc39c --- /dev/null +++ b/ruby-mustache.spec @@ -0,0 +1,46 @@ +Name: ruby-mustache +Version: 1.1.1 +Release: 1mamba +Summary: Mustache is a framework-agnostic way to render logic-free views +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/defunkt/mustache +Source: https://rubygems.org/downloads/mustache-%{version}.gem +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ruby-devel +Requires: ruby + +%description +Mustache is a framework-agnostic way to render logic-free views. + +%prep +%setup -q -c %{name}-%{version} + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" +gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" -n "%{buildroot}/usr/bin" %{SOURCE0} +rm -rf %{buildroot}${gemdir}/cache + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mustache +%dir %{_libdir}/ruby/gems/*/doc/mustache-%{version} +%{_libdir}/ruby/gems/*/doc/mustache-%{version}/* +%dir %{_libdir}/ruby/gems/*/gems/mustache-%{version} +%{_libdir}/ruby/gems/*/gems/mustache-%{version}/* +%{_libdir}/ruby/gems/*/specifications/mustache-%{version}.gemspec +%doc mustache-%{version}/LICENSE + +%changelog +* Sat Apr 23 2022 Silvan Calarco 1.1.1-1mamba +- package created using the webbuild interface