From: wrobell Date: Fri, 28 Sep 2012 20:10:19 +0000 (+0100) Subject: - ver. 0.92.892 X-Git-Tag: auto/th/R-cran-rgl-0.93.991-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=0c787a5690ed942909af40ebeaa232430ede1e45;p=packages%2FR-cran-rgl.git - ver. 0.92.892 - removed unnecessary documentation index rebuild --- diff --git a/R-cran-rgl.spec b/R-cran-rgl.spec index 0039577..dee37b5 100644 --- a/R-cran-rgl.spec +++ b/R-cran-rgl.spec @@ -3,20 +3,18 @@ Summary: 3D visualization device system (OpenGL) Summary(pl.UTF-8): Sterownik wyświetlania 3D (OpenGL) Name: R-cran-%{modulename} -Version: 0.64r13 -Release: 2 +Version: 0.92.892 +Release: 1 License: GPL Group: Applications/Math Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz -# Source0-md5: bbbae92de0e3127cec4e8fd9d794d096 -URL: http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl +# Source0-md5: 84f00f465dfedfaf8cb0e3cc499ee660 +URL: http://rgl.neoscientists.org/ BuildRequires: R >= 2.8.1 BuildRequires: OpenGL-devel BuildRequires: libpng-devel BuildRequires: libstdc++-devel Requires(post,postun): R >= 2.8.1 -Requires(post,postun): perl-base -Requires(post,postun): textutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -33,22 +31,13 @@ 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 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 --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 --index) -fi - %files %defattr(644,root,root,755) -%doc %{modulename}/{DESCRIPTION,README,README-X11} +%doc %{modulename}/{DESCRIPTION,README} %{_libdir}/R/library/%{modulename}