Browse Source

correct SPEC file: including PDF files

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10283 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 9 years ago
parent
commit
6ed011a3bc
1 changed files with 27 additions and 3 deletions
  1. 27 3
      R/R/R-vl.spec

+ 27 - 3
R/R/R-vl.spec

@@ -1,6 +1,6 @@
 %define pkg_name    R
 %define pkg_version 3.3.0
-%define pkg_release 1%{?_dist_release}
+%define pkg_release 2%{?_dist_release}
 
 Summary:     A language for data analysis and graphics
 Summary(ja): データ解析・グラフィック化の言語
@@ -35,6 +35,28 @@ BuildRequires: texlive-collection-latexextra
 BuildRequires: texlive-collection-fontsextra
 BuildRequires: texlive-collection-plainextra
 BuildRequires: texlive-collection-fontsrecommended
+# rpm -qa --qf "BuildRequires: %{name}\n" | grep -v -e "doc$" | \
+#   grep texlive-collection-lang
+BuildRequires: texlive-collection-langenglish
+BuildRequires: texlive-collection-langkorean
+BuildRequires: texlive-collection-langitalian
+BuildRequires: texlive-collection-langpolish
+BuildRequires: texlive-collection-langgerman
+BuildRequires: texlive-collection-langjapanese
+BuildRequires: texlive-collection-langgreek
+BuildRequires: texlive-collection-langcyrillic
+BuildRequires: texlive-collection-langeuropean
+BuildRequires: texlive-collection-langspanish
+BuildRequires: texlive-collection-langcjk
+BuildRequires: texlive-collection-langczechslovak
+BuildRequires: texlive-collection-langfrench
+BuildRequires: texlive-collection-langarabic
+BuildRequires: texlive-collection-langother
+BuildRequires: texlive-collection-langportuguese
+BuildRequires: texlive-collection-langindic
+BuildRequires: texlive-collection-langafrican
+BuildRequires: texlive-collection-langchinese
+
 BuildRequires: java-1.7.0-openjdk-devel
 
 Requires: libgfortran
@@ -145,10 +167,9 @@ LANG=C %{__make} check
 # We can only "make info" if we have an up to date version of texinfo
 %{?INFO: %{__make} info}
 
-
 %install
 %{make_install}
-%{__make} install-pdf %{?INFO:install-info}
+%{__make} install-pdf %{?INFO:install-info} DESTDIR=${RPM_BUILD_ROOT}
 %{__rm} -f ${RPM_BUILD_ROOT}%{_infodir}/dir
 %{__rm} -f ${RPM_BUILD_ROOT}%{_infodir}/dir.old
 
@@ -241,6 +262,9 @@ echo "%{_libdir}/R/lib" > \
 
 
 %changelog
+* Sat May 14 2016 Toshiaki Ara <ara_t@384.jp> 3.3.0-2vl7
+- add BuildRequires: texlive-collection-lang*
+
 * Tue May 03 2016 Toshiaki Ara <ara_t@384.jp> 3.3.0-1vl7
 - Updated to 3.3.0
 - add BuildRequires: pcre-devel xz-devel