R-littler-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define pkg_name littler
  2. %define pkg_version 0.3.7
  3. %define pkg_release 2%{?_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. %if %{?_dist_release} >= "vl7"
  20. BuildRequires: pcre2-devel
  21. %endif
  22. Requires: R
  23. Obsoletes: littler
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: ara_t
  27. %description
  28. littler provides hash-bang (i.e. script starting with #!/some/path)
  29. capability for GNU R, as well as simple command-line and piping use.
  30. %description -l ja
  31. 'r' (別名 'littler') プログラムは統計計算およびグラフィック向けの
  32. GNU R言語環境 への軽量なバイナリラッパーを提供します。
  33. %prep
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %build
  36. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_libdir}/R/library
  37. R CMD INSTALL %{_sourcedir}/%{pkg_name}_%{version}.tar.gz \
  38. -l ${RPM_BUILD_ROOT}%{_libdir}/R/library
  39. %install
  40. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir}
  41. cd ${RPM_BUILD_ROOT}
  42. %{__ln_s} %{_libdir}/R/library/%{pkg_name}/bin/r usr/bin
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %files
  46. %defattr(-, root, root)
  47. %{_bindir}/
  48. %{_libdir}/R/library
  49. %changelog
  50. * Sat Apr 27 2019 Toshiaki Ara <ara_t@384.jp> 0.3.7-2
  51. - rebuild under R-3.6.0
  52. * Sat Mar 16 2019 Toshiaki Ara <ara_t@384.jp> 0.3.7-1
  53. - update 0.3.7
  54. * Sun Jan 27 2019 Toshiaki Ara <ara_t@384.jp> 0.3.6-1
  55. - update 0.3.6
  56. * Fri Dec 21 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5-2
  57. - rebuild under R-3.5.2
  58. * Sun Oct 07 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5-1
  59. - update 0.3.5
  60. * Tue Aug 28 2018 Toshiaki Ara <ara_t@384.jp> 0.3.4-1
  61. - update 0.3.4
  62. - add BuildRequires: pcre2-devel for VineSeed
  63. * Sat May 05 2018 Toshiaki Ara <ara_t@384.jp> 0.3.3-3
  64. - rebuild under R-3.5.0
  65. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.3.3-2
  66. - rebuild under icu-60.2
  67. * Mon Dec 25 2017 Toshiaki Ara <ara_t@384.jp> 0.3.3-1
  68. - update 0.3.3
  69. * Tue Apr 11 2017 Toshiaki Ara <ara_t@384.jp> 0.3.2-1
  70. - update 0.3.2
  71. - add BuildRequires for Vine6
  72. - xz-devel pcre-devel
  73. * Sun Aug 07 2016 Toshiaki Ara <ara_t@384.jp> 0.3.1-1
  74. - update 0.3.1
  75. * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-2
  76. - correct SPEC file
  77. * Wed Jan 27 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-1
  78. - rename package from littler to R-littler
  79. - add Obsoletes: littler
  80. * Tue Jan 26 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-1
  81. - update 0.3.0
  82. * Tue Dec 03 2013 Toshiaki Ara <ara_t@384.jp> 0.1.5-1
  83. - new package