[9174] | 1 | %global gitdate 20141020 |
---|
[6457] | 2 | |
---|
| 3 | Summary: Simple Ruby version management |
---|
| 4 | Summary(ja): シンプルなRubyバージョン管理システム |
---|
| 5 | Name: rbenv |
---|
[7373] | 6 | Version: 0.4.0.%{gitdate} |
---|
[6457] | 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 |
---|
[9174] | 55 | * Sun Nov 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.4.0.20141020-1 |
---|
| 56 | - update to upstream git master |
---|
| 57 | |
---|
[8361] | 58 | * Thu Apr 10 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20140410-1 |
---|
| 59 | - update to upstream git master |
---|
| 60 | |
---|
[8021] | 61 | * Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20131203-1 |
---|
| 62 | - update to upstream git master |
---|
| 63 | |
---|
[7493] | 64 | * Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20130225-1 |
---|
| 65 | - update to upstream git master |
---|
| 66 | |
---|
[7373] | 67 | * Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20130121-1 |
---|
| 68 | - update to upstream git master |
---|
| 69 | |
---|
[7233] | 70 | * Sat Dec 15 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20121215-1 |
---|
| 71 | - update to upstream git master |
---|
| 72 | |
---|
[7232] | 73 | * Thu Dec 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20121213-1 |
---|
| 74 | - update to upstream git master |
---|
| 75 | |
---|
[6457] | 76 | * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20120423-1 |
---|
| 77 | - initial build for Vine Linux |
---|