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

Revision 6456, 1.1 KB checked in by daisuke, 12 years ago (diff)

new package

Line 
1%global gitdate 20120524
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
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildArch: noarch
16Requires: gcc
17Requires: zlib-devel
18Requires: readline-devel
19Requires: openssl-devel
20
21%description
22ruby-build provides a simple way to compile and install
23different versions of Ruby on UNIX-like systems.
24You can also use ruby-build without rbenv in environments
25where you need precise control over Ruby version installation.
26
27%prep
28%setup -q
29
30%build
31
32%install
33rm -rf %{buildroot}
34PREFIX=%{buildroot}%{_prefix} ./install.sh
35
36%clean
37rm -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.