SPECS: R.spec - linked perl modules to perl_vendorlib

baggins baggins at pld-linux.org
Wed Jan 24 17:04:59 CET 2007


Author: baggins                      Date: Wed Jan 24 16:04:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- linked perl modules to perl_vendorlib

---- Files affected:
SPECS:
   R.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: SPECS/R.spec
diff -u SPECS/R.spec:1.82 SPECS/R.spec:1.83
--- SPECS/R.spec:1.82	Wed Jan 24 16:21:38 2007
+++ SPECS/R.spec	Wed Jan 24 17:04:54 2007
@@ -1,9 +1,7 @@
 # $Revision$, $Date$
 # TODO:
-# - move perl R libraries to standard perl location
 # - script for rpm to autoprovides/autorequires R internals
 #
-
 %define	KernSmooth_version	2.22r19
 %define	VR_version		7.2r30
 %define	boot_version		1.2r27
@@ -20,7 +18,7 @@
 Summary(pl):	Język do analizy danych oraz grafiki
 Name:		R
 Version:	2.4.1
-Release:	0.1
+Release:	0.2
 License:	Mixed (distributable), mostly GPL
 Group:		Development/Languages
 # CRAN master site: ftp://cran.r-project.org/pub/R/src/
@@ -189,6 +187,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir}/R,%{_includedir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT%{perl_vendorlib}/{R,Text}
 
 %{__make} install \
 	rhome=$RPM_BUILD_ROOT%{_libdir}/R \
@@ -206,6 +205,9 @@
 sed -i -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libdir}/%{name}/bin/%{name}
 ln -sf %{_libdir}/%{name}/bin/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
 
+ln -s %{_libdir}/%{name}/perl/R/* $RPM_BUILD_ROOT%{perl_vendorlib/R/
+ln -s %{_libdir}/%{name}/perl/Text/* $RPM_BUILD_ROOT%{perl_vendorlib}/Text/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -248,6 +250,10 @@
 %ghost %{_libdir}/R/doc/html/packages.html
 %{_desktopdir}/*.desktop
 
+%dir %{perl_vendorlib}/R
+%{perl_vendorlib}/R/*
+%{perl_vendorlib}/Text/*
+
 %attr(755,root,root) %{_libdir}/%{name}/modules
 
 %{_libdir}/%{name}/library/KernSmooth
@@ -285,6 +291,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2007/01/24 16:04:54  baggins
+- linked perl modules to perl_vendorlib
+
 Revision 1.82  2007/01/24 15:21:38  baggins
 - resurrected R-recommended package, R won't pass make check without recomended
   and if we skip check then results may be undeterministic
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/R.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list