1 | %global gitdate 20170407 |
---|
2 | |
---|
3 | Summary: Simple Ruby version management |
---|
4 | Summary(ja): シンプルなRubyバージョン管理システム |
---|
5 | Name: rbenv |
---|
6 | Version: 1.1.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 | #cd src |
---|
30 | #./configure |
---|
31 | #make |
---|
32 | |
---|
33 | %install |
---|
34 | rm -rf %{buildroot} |
---|
35 | |
---|
36 | mkdir -p %{buildroot}%{_datadir}/rbenv |
---|
37 | cp -a libexec completions %{buildroot}%{_datadir}/rbenv/ |
---|
38 | |
---|
39 | mkdir -p %{buildroot}%{_bindir} |
---|
40 | ln -s %{_datadir}/rbenv/libexec/rbenv %{buildroot}%{_bindir}/rbenv |
---|
41 | |
---|
42 | %post |
---|
43 | echo You probably want to execute the following line to add rbenv to your shell |
---|
44 | echo echo "'eval \"\$(rbenv init -)\"'" \>\> ~/.bash_profile |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf %{buildroot} |
---|
48 | |
---|
49 | %files |
---|
50 | %defattr(-,root,root,-) |
---|
51 | %doc LICENSE README.md |
---|
52 | %{_bindir}/rbenv |
---|
53 | %{_datadir}/rbenv |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Fri Apr 07 2017 Daisuke SUZUKI <daisuke@vinelinux.org> 1.1.0.20170407-1 |
---|
57 | - update to upstream git master |
---|
58 | |
---|
59 | * Tue Dec 06 2016 Daisuke SUZUKI <daisuke@vinelinux.org> 1.1.0.20161206-1 |
---|
60 | - update to upstream git master |
---|
61 | |
---|
62 | * Sun Nov 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.4.0.20141020-1 |
---|
63 | - update to upstream git master |
---|
64 | |
---|
65 | * Thu Apr 10 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20140410-1 |
---|
66 | - update to upstream git master |
---|
67 | |
---|
68 | * Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20131203-1 |
---|
69 | - update to upstream git master |
---|
70 | |
---|
71 | * Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20130225-1 |
---|
72 | - update to upstream git master |
---|
73 | |
---|
74 | * Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20130121-1 |
---|
75 | - update to upstream git master |
---|
76 | |
---|
77 | * Sat Dec 15 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20121215-1 |
---|
78 | - update to upstream git master |
---|
79 | |
---|
80 | * Thu Dec 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20121213-1 |
---|
81 | - update to upstream git master |
---|
82 | |
---|
83 | * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20120423-1 |
---|
84 | - initial build for Vine Linux |
---|