]> git.pld-linux.org Git - packages/ruby-multi_json.git/commitdiff
new, version 1.7.1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 5 May 2013 17:07:02 +0000 (20:07 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 5 May 2013 17:07:02 +0000 (20:07 +0300)
created with gem2rpm

ruby-multi_json.spec [new file with mode: 0644]

diff --git a/ruby-multi_json.spec b/ruby-multi_json.spec
new file mode 100644 (file)
index 0000000..3adc8ba
--- /dev/null
@@ -0,0 +1,38 @@
+%define        pkgname multi_json
+Summary:       A gem to provide swappable JSON backends
+Name:          ruby-%{pkgname}
+Version:       1.7.1
+Release:       1
+License:       MIT
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 81c7d5c1024177543cca2e6bffb6aa80
+URL:           http://github.com/intridea/multi_json
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+Requires:      ruby-rubygems >= 1.3.6
+# https://fedorahosted.org/fpc/ticket/113
+Provides:      bundled(okjson) = 20110719
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A gem to provide easy switching between different JSON backends,
+including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby
+JSON gem, and OkJson.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
This page took 0.075966 seconds and 4 git commands to generate.