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

Revision 6987, 1.8 KB checked in by daisuke, 12 years ago (diff)

ruby-build:

  • move patches dir to .patches
  • add source11 to fix build failure of ruby-1.8.7-*
  • update patch1 to build all ruby/ree-1.8.7*
RevLine 
[6982]1%global gitdate 20121023
[6456]2
3Summary: rbenv plugin to compile and install ruby
4SUmmary(ja): ruby をコンパイルしてインストールするrbenvプラグイン
5
6Name: ruby-build
7Version: 0.0.%{gitdate}
[6987]8Release: 3%{?_dist_release}
[6456]9License: MIT
10Group: Development/Tools
11URL: https://github.com/sstephenson/ruby-build
12Source0: %{name}-%{version}.tar.xz
[6983]13Source10: ree-1.8.7-build.patch
[6987]14Source11: ruby-1.8.7-build.patch
[6456]15
[6987]16Patch1: ruby-build-1.8.7-build-fix.patch
[6983]17
[6456]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
[6983]33%patch1 -p1
[6456]34
35%build
36
37%install
38rm -rf %{buildroot}
39PREFIX=%{buildroot}%{_prefix} ./install.sh
[6987]40mkdir -p %{buildroot}%{_datadir}/%{name}/.patches
41cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/.patches/
42cp %{SOURCE11} %{buildroot}%{_datadir}/%{name}/.patches/
[6456]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
[6987]52%{_bindir}/rbenv-uninstall
[6456]53%{_datadir}/ruby-build
54
55%changelog
[6987]56* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-3
57- move patches dir to .patches
58- add source11 to fix build failure of ruby-1.8.7-*
59- update patch1 to build all ruby/ree-1.8.7*
60
[6983]61* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-2
62- add patch1, source10 to fix build failure of ree-1.8.7-2012.02
63
[6982]64* Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-1
65- update to upstream git master
66
67* Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20110914-1
[6456]68- initial build for Vine Linux
69
Note: See TracBrowser for help on using the repository browser.