X-Git-Url: http://git.pld-linux.org/?p=packages%2FR-cran-xgobi.git;a=blobdiff_plain;f=R-cran-xgobi.spec;h=0b9176979c7836930006e330f9a0f96f7c7b373d;hp=2fa4a42e2b31c231d25233abb436f760f8b52307;hb=HEAD;hpb=f79271967b8693894e74c45d6ab2fe7de04aa048 diff --git a/R-cran-xgobi.spec b/R-cran-xgobi.spec index 2fa4a42..0b91769 100644 --- a/R-cran-xgobi.spec +++ b/R-cran-xgobi.spec @@ -1,16 +1,16 @@ %define fversion %(echo %{version} |tr r -) %define modulename xgobi Summary: Interface to the XGobi and XGvis programs for graphical data analysis -Summary(pl): Interfejsy do programów XGobi i XGvis dla graficznej analizy danych +Summary(pl.UTF-8): Interfejsy do programów XGobi i XGvis do graficznej analizy danych Name: R-cran-%{modulename} -Version: 1.2r12 -Release: 1 +Version: 1.2r15 +Release: 2 License: Copyright (C) by Bellcore, non-profit use and redistribution permitted (see COPYING for details) Group: Applications/Math Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz -# Source0-md5: 3edae689c69c12ef71df1ee269c1b1b8 -BuildRequires: R-base >= 2.0.0 -Requires(post,postun): R-base >= 2.0.0 +# Source0-md5: f940376554daab0cc17a0c0530bc9dfa +BuildRequires: R >= 2.8.1 +Requires(post,postun): R >= 2.8.1 Requires(post,postun): perl-base Requires(post,postun): textutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -18,8 +18,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Interface to the XGobi and XGvis programs for graphical data analysis. -%description -Interfejsy do programów XGobi i XGvis dla graficznej analizy danych. +%description -l pl.UTF-8 +Interfejsy do programów XGobi i XGvis do graficznej analizy danych. %prep %setup -q -c @@ -29,6 +29,7 @@ R CMD build %{modulename} %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir}/R/library/ R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/ %clean @@ -36,15 +37,15 @@ rm -rf $RPM_BUILD_ROOT %post (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt - R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist) + R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index) %postun if [ -f %{_libdir}/R/bin/Rcmd ];then (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt - R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist) + R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index) fi %files %defattr(644,root,root,755) -%doc %{modulename}/{DESCRIPTION,README,COPYING,ChangeLog} +%doc %{modulename}/{DESCRIPTION,README,ChangeLog} %{_libdir}/R/library/%{modulename}