R-littler-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. %define pkg_name littler
  2. %define pkg_version 0.3.9
  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+
  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/site-library
  37. R CMD INSTALL %{_sourcedir}/%{pkg_name}_%{version}.tar.gz \
  38. -l ${RPM_BUILD_ROOT}%{_libdir}/R/site-library
  39. %install
  40. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir}
  41. cd ${RPM_BUILD_ROOT}
  42. %{__ln_s} %{_libdir}/R/site-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/site-library
  49. %changelog
  50. * Sun Mar 01 2020 Toshiaki Ara <ara_t@384.jp> 0.3.9-2
  51. - rebuild under R-3.6.3
  52. * Mon Nov 04 2019 Toshiaki Ara <ara_t@384.jp> 0.3.9-1
  53. - update 0.3.9
  54. * Sun Oct 13 2019 Toshiaki Ara <ara_t@384.jp> 0.3.8-2
  55. - rebuild with icu-65
  56. * Mon Jun 10 2019 Toshiaki Ara <ara_t@384.jp> 0.3.8-1
  57. - update 0.3.8
  58. * Tue May 21 2019 Toshiaki Ara <ara_t@384.jp> 0.3.7-4
  59. - fix missing %%{_bindir}/r
  60. * Mon May 20 2019 Toshiaki Ara <ara_t@384.jp> 0.3.7-3
  61. - move library to %%{_lib64}/R/site-library
  62. * Sat Apr 27 2019 Toshiaki Ara <ara_t@384.jp> 0.3.7-2
  63. - rebuild under R-3.6.0
  64. * Sat Mar 16 2019 Toshiaki Ara <ara_t@384.jp> 0.3.7-1
  65. - update 0.3.7
  66. * Sun Jan 27 2019 Toshiaki Ara <ara_t@384.jp> 0.3.6-1
  67. - update 0.3.6
  68. * Fri Dec 21 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5-2
  69. - rebuild under R-3.5.2
  70. * Sun Oct 07 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5-1
  71. - update 0.3.5
  72. * Tue Aug 28 2018 Toshiaki Ara <ara_t@384.jp> 0.3.4-1
  73. - update 0.3.4
  74. - add BuildRequires: pcre2-devel for VineSeed
  75. * Sat May 05 2018 Toshiaki Ara <ara_t@384.jp> 0.3.3-3
  76. - rebuild under R-3.5.0
  77. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.3.3-2
  78. - rebuild under icu-60.2
  79. * Mon Dec 25 2017 Toshiaki Ara <ara_t@384.jp> 0.3.3-1
  80. - update 0.3.3
  81. * Tue Apr 11 2017 Toshiaki Ara <ara_t@384.jp> 0.3.2-1
  82. - update 0.3.2
  83. - add BuildRequires for Vine6
  84. - xz-devel pcre-devel
  85. * Sun Aug 07 2016 Toshiaki Ara <ara_t@384.jp> 0.3.1-1
  86. - update 0.3.1
  87. * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-2
  88. - correct SPEC file
  89. * Wed Jan 27 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-1
  90. - rename package from littler to R-littler
  91. - add Obsoletes: littler
  92. * Tue Jan 26 2016 Toshiaki Ara <ara_t@384.jp> 0.3.0-1
  93. - update 0.3.0
  94. * Tue Dec 03 2013 Toshiaki Ara <ara_t@384.jp> 0.1.5-1
  95. - new package