rubygem-json-vl.spec 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. %global gem_name json
  2. Summary: This is a JSON implementation as a Ruby extension in C
  3. Summary(ja): C言語で書かれたRuby用JSON拡張機能
  4. Name: rubygem-%{gem_name}
  5. Version: 2.3.0
  6. Release: 2%{?_dist_release}
  7. Group: Development/Libraries
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. License: Ruby
  12. URL: https://rubygems.org/gems/%{gem_name}/
  13. Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
  14. BuildRequires: ruby-devel ruby-rubygems-devel
  15. %description
  16. This is a implementation of the JSON specification according to RFC 4627.
  17. You can think of it as a low fat alternative to XML, if you want to store
  18. data to disk or transmit it over a network rather than use a verbose
  19. markup language.
  20. %prep
  21. %setup -c -T -n %{name}-%{version}
  22. cp %{SOURCE0} ./
  23. %build
  24. %install
  25. %{__rm} -rf %{buildroot}
  26. %gem_install -d %{buildroot}%{gem_current_dir}
  27. rm -f %{buildroot}%{gem_cache}
  28. rm -f %{buildroot}%{gem_extdir_mri}/{gem_make.out,mkmf.log}
  29. %clean
  30. %{__rm} -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root)
  33. %{gem_spec}
  34. %{gem_instdir}
  35. %{gem_extdir_mri}
  36. %{gem_docdir}
  37. %changelog
  38. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-2
  39. - added a missing file.
  40. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
  41. - initial build for Vine Linux.