R-littler-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %define pkg_name littler
  2. %define pkg_version 0.3.2
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: GNU R script language and command-line frontend
  5. Summary(ja): GNU R スクリプト言語およびコマンドラインフロントエンド
  6. Name: R-%{pkg_name}
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. License: GPLv2+ or later
  10. Group: Applications/Edutainment
  11. URL: https://cran.ism.ac.jp/
  12. Source0: https://cran.ism.ac.jp/src/contrib/%{pkg_name}_%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: R
  15. BuildRequires: zlib-devel bzip2-devel
  16. BuildRequires: libicu-devel
  17. BuildRequires: xz-devel
  18. BuildRequires: pcre-devel
  19. Requires: R
  20. Obsoletes: littler
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: ara_t
  24. %description
  25. littler provides hash-bang (i.e. script starting with #!/some/path)
  26. capability for GNU R, as well as simple command-line and piping use.
  27. %description -l ja
  28. 'r' (別名 'littler') プログラムは統計計算およびグラフィック向けの
  29. GNU R言語環境 への軽量なバイナリラッパーを提供します。
  30. %prep
  31. %{__rm} -rf ${RPM_BUILD_ROOT}
  32. %build
  33. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_libdir}/R/library
  34. R CMD INSTALL %{_sourcedir}/%{pkg_name}_%{version}.tar.gz \
  35. -l ${RPM_BUILD_ROOT}%{_libdir}/R/library
  36. %install
  37. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir}
  38. cd ${RPM_BUILD_ROOT}
  39. %{__ln_s} %{_libdir}/R/library/%{pkg_name}/bin/r usr/bin
  40. %clean
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %files
  43. %defattr(-, root, root)
  44. %{_bindir}/
  45. %{_libdir}/R/library
  46. %changelog
  47. * Tue Apr 11 2017 Toshiaki Ara <ara_t@384.jp> 0.3.2-1
  48. - update 0.3.2
  49. - add BuildRequires for Vine6
  50. - xz-devel pcre-devel
  51. * Sun Aug 07 2016 Toshiaki Ara <ara_t@384.jp> 0.3.1-1
  52. - update 0.3.1
  53. * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-2
  54. - correct SPEC file
  55. * Wed Jan 27 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-1
  56. - rename package from littler to R-littler
  57. - add Obsoletes: littler
  58. * Tue Jan 26 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-1
  59. - update 0.3.0
  60. * Tue Dec 03 2013 Toshiaki Ara <ara_t@384.jp> 0.1.5-1
  61. - new package