rbenv-vl.spec 2.2 KB

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