ruby-build-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. %global gitdate 20170407
  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}/rbenv/libexec
  33. mv %{buildroot}%{_bindir}/rbenv-* %{buildroot}%{_datadir}/rbenv/libexec/
  34. mkdir -p %{buildroot}%{_datadir}/%{name}/.patches
  35. cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/.patches/
  36. cp %{SOURCE11} %{buildroot}%{_datadir}/%{name}/.patches/
  37. %clean
  38. rm -rf %{buildroot}
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc LICENSE README.md
  42. %{_bindir}/ruby-build
  43. %{_datadir}/rbenv/libexec/rbenv-install
  44. %{_datadir}/rbenv/libexec/rbenv-uninstall
  45. %{_datadir}/ruby-build
  46. %changelog
  47. * Fri Apr 07 2017 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.20170407-1
  48. - update to upstream git master
  49. * Tue Dec 06 2016 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.20161206-1
  50. - update to upstream git master
  51. - try "ruby-build --definitions" to see supported ruby versions
  52. * Sat Jul 04 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.20150901-1
  53. - update to upstream git master
  54. - add 2.2.3, jruby-1.7.2[12], jruby-9.0.0.0, rbx-2.5.[68]
  55. * Sat Jul 04 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.20150704-1
  56. - update to upstream git master
  57. - add 2.0.0-p64[35], 2.1.6, 2.2.0, 2.2.1, 2.2.2, 2.3.0-dev,
  58. jruby-1.7.16.2, jruby-1.7.1[789], jruyb-1.7.20, jruby-1.7.20.1,
  59. jruby-9.0.0.0.rc1, rbx-2.3.0, rbx-2.4.[01], rbx-2.5.[01234567]
  60. * Sun Nov 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.20141128-1
  61. - update to upstream git master
  62. - add 1.9.2-p330, 1.9.3-p547, 1.9.3-p550, 1.9.3-p551,
  63. 2.0.0-p481, 2.0.0-p576, 2.0.0-p594, 2.0.0-p598,
  64. 2.1.[2345], 2.2.0-preview1, 2.2.0-preview2,
  65. jruby-1.7.12, jruby-1.7.13, jruby-1.7.14,
  66. jruby-1.7.15, jruby-1.7.16, jruby-1.7.16.1,
  67. jruby-9.0.0.0+graal-dev, jruby-9.0.0.0-dev,
  68. rbx-2.2.10, rbx-2.2.7, rbx-2.2.9
  69. * Thu Apr 10 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20140410-1
  70. - update to upstream git master
  71. - add 1.8.7-p375, 1.9.2-p326, 1.9.3-p545,
  72. 2.0.0-p451, 2.1.[01], 2.2.0-dev,
  73. jruby-1.7.9, jruby-9000+graal-dev, jruby-9000-dev,
  74. mruby-1.0.0, rbx-2.2.[2-6]
  75. - remove heroku-1.8.7-p375(replaced by 1.8.7-p375)
  76. * Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20131203-1
  77. - update to upstream git master
  78. - add 1.8.7-p374, 1.9.1-p430, 1.9.2-p0, 1.9.3-p{429,448,484},
  79. 2.0.0-p{195,247,353}, 2.1.0-preview[12],
  80. heroku-1.8.7-p375,
  81. jruby-1.7.[45678], maglev-2.0.0-dev,
  82. mruby-dev,
  83. rbx-{2.0.0,2.1.0,2.1.1,2.2.0,2.2.1},
  84. topaz-dev
  85. * Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130225-1
  86. - updae to upstream git master
  87. - add 1.9.3-p392, 2.0.0-p0, add 2.1.0-dev
  88. - move rbenv-{install,uninstall} to %%_datadir/rbenv/libexec
  89. * Mon Feb 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130208-1
  90. - update to upstream git master
  91. - add 1.9.3-p385 and 2.0.0-rc2
  92. * Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130118-1
  93. - update to upstream git master
  94. - add 1.9.3-p374, 1.9.3-p362, 2.0.0-rc1, jruby-1.7.2
  95. * Thu Dec 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121213-1
  96. - update to upstream git master
  97. - add 2.0.0-preview2, 1.8.7-p371
  98. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121111-1
  99. - update to upstream git master
  100. - add 1.9.3-p327, 2.0.0-preview1, rbx-2.0.0-rc1
  101. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-3
  102. - move patches dir to .patches
  103. - add source11 to fix build failure of ruby-1.8.7-*
  104. - update patch1 to build all ruby/ree-1.8.7*
  105. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-2
  106. - add patch1, source10 to fix build failure of ree-1.8.7-2012.02
  107. * Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-1
  108. - update to upstream git master
  109. * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20110914-1
  110. - initial build for Vine Linux