ruby-build-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. %global gitdate 20130118
  2. Summary: rbenv plugin to compile and install ruby
  3. SUmmary(ja): ruby をコンパイルしてインストールするrbenvプラグイン
  4. Name: ruby-build
  5. Version: 0.0.%{gitdate}
  6. Release: 1%{?_dist_release}
  7. License: MIT
  8. Group: Development/Tools
  9. URL: https://github.com/sstephenson/ruby-build
  10. Source0: %{name}-%{version}.tar.xz
  11. Source10: ree-1.8.7-build.patch
  12. Source11: ruby-1.8.7-build.patch
  13. Patch1: ruby-build-1.8.7-build-fix.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildArch: noarch
  16. Requires: gcc
  17. Requires: zlib-devel
  18. Requires: readline-devel
  19. Requires: openssl-devel
  20. %description
  21. ruby-build provides a simple way to compile and install
  22. different versions of Ruby on UNIX-like systems.
  23. You can also use ruby-build without rbenv in environments
  24. where you need precise control over Ruby version installation.
  25. %prep
  26. %setup -q
  27. %patch1 -p1
  28. %build
  29. %install
  30. rm -rf %{buildroot}
  31. PREFIX=%{buildroot}%{_prefix} ./install.sh
  32. mkdir -p %{buildroot}%{_datadir}/%{name}/.patches
  33. cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/.patches/
  34. cp %{SOURCE11} %{buildroot}%{_datadir}/%{name}/.patches/
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc LICENSE README.md
  40. %{_bindir}/ruby-build
  41. %{_bindir}/rbenv-install
  42. %{_bindir}/rbenv-uninstall
  43. %{_datadir}/ruby-build
  44. %changelog
  45. * Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130118-1
  46. - update to upstream git master
  47. - add 1.9.3-p374, 1.9.3-p362, 2.0.0-rc1, jruby-1.7.2
  48. * Thu Dec 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121213-1
  49. - update to upstream git master
  50. - add 2.0.0-preview2, 1.8.7-p371
  51. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121111-1
  52. - update to upstream git master
  53. - add 1.9.3-p327, 2.0.0-preview1, rbx-2.0.0-rc1
  54. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-3
  55. - move patches dir to .patches
  56. - add source11 to fix build failure of ruby-1.8.7-*
  57. - update patch1 to build all ruby/ree-1.8.7*
  58. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-2
  59. - add patch1, source10 to fix build failure of ree-1.8.7-2012.02
  60. * Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-1
  61. - update to upstream git master
  62. * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20110914-1
  63. - initial build for Vine Linux