source: projects/specs/trunk/r/ruby-build/ruby-build-vl.spec @ 7371

Revision 7371, 2.3 KB checked in by daisuke, 11 years ago (diff)

ruby-build:

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