2024-01-05 17:33:19 +01:00
|
|
|
%define gemdir %(ruby -rrubygems -e'puts Gem.default_dir')
|
2024-01-05 17:33:19 +01:00
|
|
|
%define gemname %(echo %{name} | sed 's,^ruby-,,')
|
|
|
|
Name: ruby-json_pure
|
2024-01-05 17:33:20 +01:00
|
|
|
Version: 2.6.3
|
2024-01-05 17:33:19 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A JSON implementation in pure Ruby
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:33:20 +01:00
|
|
|
URL: https://flori.github.io/json/
|
2024-01-05 17:33:19 +01:00
|
|
|
Source: http://rubygems.org/downloads/json_pure-%{version}.gem
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:33:19 +01:00
|
|
|
BuildRequires: ruby-devel >= 2.5.1
|
|
|
|
Requires: ruby >= 2.5.1
|
2024-01-05 17:33:19 +01:00
|
|
|
|
|
|
|
%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}" \
|
2024-01-05 17:33:20 +01:00
|
|
|
-n "%{buildroot}/usr/bin" "%{SOURCE0}"
|
2024-01-05 17:33:19 +01:00
|
|
|
|
|
|
|
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}/*
|
2024-01-05 17:33:20 +01:00
|
|
|
#%{gemdir}/gems/%{gemname}-%{version}/.travis.yml
|
2024-01-05 17:33:19 +01:00
|
|
|
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
2024-01-05 17:33:20 +01:00
|
|
|
%dir %{_libdir}/ruby/gems/*/doc/%{gemname}-%{version}
|
|
|
|
%{_libdir}/ruby/gems/*/doc/%{gemname}-%{version}/*
|
2024-01-05 17:33:19 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:33:20 +01:00
|
|
|
* Mon Dec 05 2022 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:33:20 +01:00
|
|
|
* Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:33:20 +01:00
|
|
|
* Sun Oct 24 2021 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:33:20 +01:00
|
|
|
* Fri Oct 15 2021 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:33:20 +01:00
|
|
|
* Sun Feb 28 2021 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:33:19 +01:00
|
|
|
* Wed Jul 18 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- update to 2.1.0
|
|
|
|
|
2024-01-05 17:33:19 +01:00
|
|
|
* Wed Dec 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- package created using the webbuild interface
|