diff --git a/README.md b/README.md index 46a577a..73a77a4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ruby-json_pure +A JSON implementation in pure Ruby. + diff --git a/json_pure-1.8.1.gem b/json_pure-1.8.1.gem new file mode 100644 index 0000000..f23ca9a Binary files /dev/null and b/json_pure-1.8.1.gem differ diff --git a/ruby-json_pure.spec b/ruby-json_pure.spec new file mode 100644 index 0000000..85e2a0a --- /dev/null +++ b/ruby-json_pure.spec @@ -0,0 +1,46 @@ +%define gemdir %(ruby -rubygems -e'puts Gem.default_dir') +%define gemname %(echo %{name} | sed 's,^ruby-,,') +Name: ruby-json_pure +Version: 1.8.1 +Release: 1mamba +Summary: A JSON implementation in pure Ruby +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://flori.github.io/json/ +Source: http://rubygems.org/downloads/json_pure-%{version}.gem +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ruby-devel +Requires: ruby + +%description +A JSON implementation in pure Ruby. + +%prep + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +gem install --no-user-install --ignore-dependencies -u -i "%{buildroot}%{gemdir}" \ + --no-ri --no-rdoc -n "%{buildroot}/usr/bin" "%{SOURCE0}" + +rm -rf %{buildroot}%{gemdir}/cache +rm -f %{buildroot}%{gemdir}/gems/%{gemname}-%{version}/.gitignore + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{gemdir}/gems/%{gemname}-%{version} +%{gemdir}/gems/%{gemname}-%{version}/* +%{gemdir}/gems/%{gemname}-%{version}/.travis.yml +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + +%changelog +* Wed Dec 11 2013 Silvan Calarco 1.8.1-1mamba +- package created using the webbuild interface