[9641] | 1 | %global gitdate 20150704 |
---|
[6456] | 2 | |
---|
| 3 | Summary: rbenv plugin to compile and install ruby |
---|
| 4 | SUmmary(ja): ruby をコンパイルしてインストールするrbenvプラグイン |
---|
| 5 | |
---|
| 6 | Name: ruby-build |
---|
| 7 | Version: 0.0.%{gitdate} |
---|
[7109] | 8 | Release: 1%{?_dist_release} |
---|
[6456] | 9 | License: MIT |
---|
| 10 | Group: Development/Tools |
---|
| 11 | URL: https://github.com/sstephenson/ruby-build |
---|
| 12 | Source0: %{name}-%{version}.tar.xz |
---|
[6983] | 13 | Source10: ree-1.8.7-build.patch |
---|
[6987] | 14 | Source11: ruby-1.8.7-build.patch |
---|
[6456] | 15 | |
---|
[6987] | 16 | Patch1: ruby-build-1.8.7-build-fix.patch |
---|
[6983] | 17 | |
---|
[6456] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 19 | BuildArch: noarch |
---|
| 20 | Requires: gcc |
---|
| 21 | Requires: zlib-devel |
---|
| 22 | Requires: readline-devel |
---|
| 23 | Requires: openssl-devel |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | ruby-build provides a simple way to compile and install |
---|
| 27 | different versions of Ruby on UNIX-like systems. |
---|
| 28 | You can also use ruby-build without rbenv in environments |
---|
| 29 | where you need precise control over Ruby version installation. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q |
---|
[6983] | 33 | %patch1 -p1 |
---|
[6456] | 34 | |
---|
| 35 | %build |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf %{buildroot} |
---|
| 39 | PREFIX=%{buildroot}%{_prefix} ./install.sh |
---|
[7494] | 40 | mkdir -p %{buildroot}%{_datadir}/rbenv/libexec |
---|
| 41 | mv %{buildroot}%{_bindir}/rbenv-* %{buildroot}%{_datadir}/rbenv/libexec/ |
---|
| 42 | |
---|
[6987] | 43 | mkdir -p %{buildroot}%{_datadir}/%{name}/.patches |
---|
| 44 | cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/.patches/ |
---|
| 45 | cp %{SOURCE11} %{buildroot}%{_datadir}/%{name}/.patches/ |
---|
[6456] | 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf %{buildroot} |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root,-) |
---|
| 52 | %doc LICENSE README.md |
---|
| 53 | %{_bindir}/ruby-build |
---|
[7494] | 54 | %{_datadir}/rbenv/libexec/rbenv-install |
---|
| 55 | %{_datadir}/rbenv/libexec/rbenv-uninstall |
---|
[6456] | 56 | %{_datadir}/ruby-build |
---|
| 57 | |
---|
| 58 | %changelog |
---|
[9641] | 59 | * Sat Jul 04 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.20150704-1 |
---|
| 60 | - update to upstream git master |
---|
| 61 | - add 2.0.0-p64[35], 2.1.6, 2.2.0, 2.2.1, 2.2.2, 2.3.0-dev, |
---|
| 62 | jruby-1.7.16.2, jruby-1.7.1[789], jruyb-1.7.20, jruby-1.7.20.1, |
---|
| 63 | jruby-9.0.0.0.rc1, rbx-2.3.0, rbx-2.4.[01], rbx-2.5.[01234567] |
---|
| 64 | |
---|
[9175] | 65 | * Sun Nov 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.20141128-1 |
---|
| 66 | - update to upstream git master |
---|
| 67 | - add 1.9.2-p330, 1.9.3-p547, 1.9.3-p550, 1.9.3-p551, |
---|
| 68 | 2.0.0-p481, 2.0.0-p576, 2.0.0-p594, 2.0.0-p598, |
---|
| 69 | 2.1.[2345], 2.2.0-preview1, 2.2.0-preview2, |
---|
| 70 | jruby-1.7.12, jruby-1.7.13, jruby-1.7.14, |
---|
| 71 | jruby-1.7.15, jruby-1.7.16, jruby-1.7.16.1, |
---|
| 72 | jruby-9.0.0.0+graal-dev, jruby-9.0.0.0-dev, |
---|
| 73 | rbx-2.2.10, rbx-2.2.7, rbx-2.2.9 |
---|
| 74 | |
---|
[8362] | 75 | * Thu Apr 10 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20140410-1 |
---|
| 76 | - update to upstream git master |
---|
| 77 | - add 1.8.7-p375, 1.9.2-p326, 1.9.3-p545, |
---|
| 78 | 2.0.0-p451, 2.1.[01], 2.2.0-dev, |
---|
| 79 | jruby-1.7.9, jruby-9000+graal-dev, jruby-9000-dev, |
---|
| 80 | mruby-1.0.0, rbx-2.2.[2-6] |
---|
| 81 | - remove heroku-1.8.7-p375(replaced by 1.8.7-p375) |
---|
| 82 | |
---|
[8022] | 83 | * Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20131203-1 |
---|
| 84 | - update to upstream git master |
---|
| 85 | - add 1.8.7-p374, 1.9.1-p430, 1.9.2-p0, 1.9.3-p{429,448,484}, |
---|
| 86 | 2.0.0-p{195,247,353}, 2.1.0-preview[12], |
---|
| 87 | heroku-1.8.7-p375, |
---|
| 88 | jruby-1.7.[45678], maglev-2.0.0-dev, |
---|
| 89 | mruby-dev, |
---|
| 90 | rbx-{2.0.0,2.1.0,2.1.1,2.2.0,2.2.1}, |
---|
| 91 | topaz-dev |
---|
| 92 | |
---|
[7494] | 93 | * Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130225-1 |
---|
| 94 | - updae to upstream git master |
---|
| 95 | - add 1.9.3-p392, 2.0.0-p0, add 2.1.0-dev |
---|
| 96 | - move rbenv-{install,uninstall} to %%_datadir/rbenv/libexec |
---|
| 97 | |
---|
[7457] | 98 | * Mon Feb 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130208-1 |
---|
| 99 | - update to upstream git master |
---|
| 100 | - add 1.9.3-p385 and 2.0.0-rc2 |
---|
| 101 | |
---|
[7371] | 102 | * Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20130118-1 |
---|
| 103 | - update to upstream git master |
---|
| 104 | - add 1.9.3-p374, 1.9.3-p362, 2.0.0-rc1, jruby-1.7.2 |
---|
| 105 | |
---|
[7234] | 106 | * Thu Dec 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121213-1 |
---|
| 107 | - update to upstream git master |
---|
| 108 | - add 2.0.0-preview2, 1.8.7-p371 |
---|
| 109 | |
---|
[7109] | 110 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121111-1 |
---|
| 111 | - update to upstream git master |
---|
| 112 | - add 1.9.3-p327, 2.0.0-preview1, rbx-2.0.0-rc1 |
---|
| 113 | |
---|
[6987] | 114 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-3 |
---|
| 115 | - move patches dir to .patches |
---|
| 116 | - add source11 to fix build failure of ruby-1.8.7-* |
---|
| 117 | - update patch1 to build all ruby/ree-1.8.7* |
---|
| 118 | |
---|
[6983] | 119 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-2 |
---|
| 120 | - add patch1, source10 to fix build failure of ree-1.8.7-2012.02 |
---|
| 121 | |
---|
[6982] | 122 | * Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-1 |
---|
| 123 | - update to upstream git master |
---|
| 124 | |
---|
| 125 | * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20110914-1 |
---|
[6456] | 126 | - initial build for Vine Linux |
---|
| 127 | |
---|