Line | |
---|
1 | %global gitdate 20120423 |
---|
2 | |
---|
3 | Summary: Simple Ruby version management |
---|
4 | Summary(ja): シンプルなRubyバージョン管理システム |
---|
5 | Name: rbenv |
---|
6 | Version: 0.3.0.%{gitdate} |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: MIT |
---|
9 | Group: Development/Tools |
---|
10 | URL: https://github.com/sstephenson/rbenv |
---|
11 | Source0: %{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | BuildArch: noarch |
---|
15 | |
---|
16 | Distribution: Vine Linux |
---|
17 | Vendor: Project Vine |
---|
18 | Packager: daisuke |
---|
19 | |
---|
20 | %description |
---|
21 | rbenv lets you easily switch between multiple versions of Ruby. It's |
---|
22 | simple, unobtrusive, and follows the UNIX tradition of single-purpose |
---|
23 | tools that do one thing well. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q |
---|
27 | |
---|
28 | %build |
---|
29 | |
---|
30 | %install |
---|
31 | rm -rf %{buildroot} |
---|
32 | |
---|
33 | mkdir -p %{buildroot}%{_datadir}/rbenv |
---|
34 | cp -a libexec completions %{buildroot}%{_datadir}/rbenv/ |
---|
35 | |
---|
36 | mkdir -p %{buildroot}%{_bindir} |
---|
37 | ln -s %{_datadir}/rbenv/libexec/rbenv %{buildroot}%{_bindir}/rbenv |
---|
38 | install -p bin/ruby-local-exec %{buildroot}%{_bindir}/ruby-local-exec |
---|
39 | |
---|
40 | %post |
---|
41 | echo You probably want to execute the following line to add rbenv to your shell |
---|
42 | echo echo "'eval \"\$(rbenv init -)\"'" \>\> ~/.bash_profile |
---|
43 | |
---|
44 | %clean |
---|
45 | rm -rf %{buildroot} |
---|
46 | |
---|
47 | %files |
---|
48 | %defattr(-,root,root,-) |
---|
49 | %doc LICENSE README.md |
---|
50 | %{_bindir}/rbenv |
---|
51 | %{_bindir}/ruby-local-exec |
---|
52 | %{_datadir}/rbenv |
---|
53 | |
---|
54 | %changelog |
---|
55 | * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20120423-1 |
---|
56 | - initial build for Vine Linux |
---|
Note: See
TracBrowser
for help on using the repository browser.