ruby-build-vl.spec 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. %global gitdate 20120524
  2. Summary: rbenv plugin to compile and install ruby
  3. SUmmary(ja): ruby をコンパイルしてインストールするrbenvプラグイン
  4. Name: ruby-build
  5. Version: 0.0.%{gitdate}
  6. Release: 1%{?_dist_release}
  7. License: MIT
  8. Group: Development/Tools
  9. URL: https://github.com/sstephenson/ruby-build
  10. Source0: %{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. Requires: gcc
  14. Requires: zlib-devel
  15. Requires: readline-devel
  16. Requires: openssl-devel
  17. %description
  18. ruby-build provides a simple way to compile and install
  19. different versions of Ruby on UNIX-like systems.
  20. You can also use ruby-build without rbenv in environments
  21. where you need precise control over Ruby version installation.
  22. %prep
  23. %setup -q
  24. %build
  25. %install
  26. rm -rf %{buildroot}
  27. PREFIX=%{buildroot}%{_prefix} ./install.sh
  28. %clean
  29. rm -rf %{buildroot}
  30. %files
  31. %defattr(-,root,root,-)
  32. %doc LICENSE README.md
  33. %{_bindir}/ruby-build
  34. %{_bindir}/rbenv-install
  35. %{_datadir}/ruby-build
  36. %changelog
  37. * Fri Jun 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 20110914-1
  38. - initial build for Vine Linux