rbenv-vl.spec 2.1 KB

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