rbenv-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. %global gitdate 20130225
  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. * Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20130225-1
  43. - update to upstream git master
  44. * Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0.20130121-1
  45. - update to upstream git master
  46. * Sat Dec 15 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20121215-1
  47. - update to upstream git master
  48. * Thu Dec 13 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20121213-1
  49. - update to upstream git master
  50. * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.20120423-1
  51. - initial build for Vine Linux