Line | |
---|
1 | %global gitdate 20120524 |
---|
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} |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: MIT |
---|
10 | Group: Development/Tools |
---|
11 | URL: https://github.com/sstephenson/ruby-build |
---|
12 | Source0: %{name}-%{version}.tar.xz |
---|
13 | |
---|
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 | |
---|
21 | %description |
---|
22 | ruby-build provides a simple way to compile and install |
---|
23 | different versions of Ruby on UNIX-like systems. |
---|
24 | You can also use ruby-build without rbenv in environments |
---|
25 | where you need precise control over Ruby version installation. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | |
---|
30 | %build |
---|
31 | |
---|
32 | %install |
---|
33 | rm -rf %{buildroot} |
---|
34 | PREFIX=%{buildroot}%{_prefix} ./install.sh |
---|
35 | |
---|
36 | %clean |
---|
37 | rm -rf %{buildroot} |
---|
38 | |
---|
39 | %files |
---|
40 | %defattr(-,root,root,-) |
---|
41 | %doc LICENSE README.md |
---|
42 | %{_bindir}/ruby-build |
---|
43 | %{_bindir}/rbenv-install |
---|
44 | %{_datadir}/ruby-build |
---|
45 | |
---|
46 | %changelog |
---|
47 | * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 20110914-1 |
---|
48 | - initial build for Vine Linux |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.