ThirdParty: ParaView-5.5.2: adjustments to automatically generated .sh and .csh
package configuration files
This commit is contained in:
parent
e8c1beed0e
commit
903e06f5ab
1 changed files with 8 additions and 8 deletions
16
ThirdParty/rpmBuild/SPECS/ParaView-5.5.2.spec
vendored
16
ThirdParty/rpmBuild/SPECS/ParaView-5.5.2.spec
vendored
|
@ -78,7 +78,7 @@ License: Unkown
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}
|
Release: %{release}
|
||||||
URL: http://www.paraview.org/files/v5.4/
|
URL: http://www.paraview.org/files/v5.5/
|
||||||
Source: %url/%{name}-v%{version}.tar.gz
|
Source: %url/%{name}-v%{version}.tar.gz
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
@ -226,7 +226,7 @@ cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
|
||||||
export PARAVIEW_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
|
export PARAVIEW_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
|
||||||
export PARAVIEW_BIN_DIR=\$PARAVIEW_DIR/bin
|
export PARAVIEW_BIN_DIR=\$PARAVIEW_DIR/bin
|
||||||
export PARAVIEW_LIB_DIR=\$PARAVIEW_DIR/lib
|
export PARAVIEW_LIB_DIR=\$PARAVIEW_DIR/lib
|
||||||
export PARAVIEW_INCLUDE_DIR=\$PARAVIEW_DIR/include/paraview-5.4
|
export PARAVIEW_INCLUDE_DIR=\$PARAVIEW_DIR/include/paraview-5.5
|
||||||
|
|
||||||
export PARAVIEW_VERSION=%{version}
|
export PARAVIEW_VERSION=%{version}
|
||||||
|
|
||||||
|
@ -235,9 +235,9 @@ export PARAVIEW_VERSION=%{version}
|
||||||
# specified directory to see if a given library is a paraview plugin.
|
# specified directory to see if a given library is a paraview plugin.
|
||||||
# In the case of \$FOAM_LIBBIN, with over 80 libraries, this is a total waste of time that will slow down the
|
# In the case of \$FOAM_LIBBIN, with over 80 libraries, this is a total waste of time that will slow down the
|
||||||
# startup of paraview or even make paraview crash on startup.
|
# startup of paraview or even make paraview crash on startup.
|
||||||
export PV_PLUGIN_PATH=\$FOAM_LIBBIN/paraview-5.4_plugins
|
export PV_PLUGIN_PATH=\$FOAM_LIBBIN/paraview-5.5_plugins
|
||||||
|
|
||||||
[ -d \$PARAVIEW_LIB_DIR/paraview-5.4 ] && _foamAddLib \$PARAVIEW_LIB_DIR/paraview-5.4
|
[ -d \$PARAVIEW_LIB_DIR/paraview-5.5 ] && _foamAddLib \$PARAVIEW_LIB_DIR/paraview-5.5
|
||||||
|
|
||||||
# Enable access to the package applications if present
|
# Enable access to the package applications if present
|
||||||
[ -d \$PARAVIEW_BIN_DIR ] && _foamAddPath \$PARAVIEW_BIN_DIR
|
[ -d \$PARAVIEW_BIN_DIR ] && _foamAddPath \$PARAVIEW_BIN_DIR
|
||||||
|
@ -256,7 +256,7 @@ cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.cs
|
||||||
setenv PARAVIEW_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
|
setenv PARAVIEW_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
|
||||||
setenv PARAVIEW_BIN_DIR \$PARAVIEW_DIR/bin
|
setenv PARAVIEW_BIN_DIR \$PARAVIEW_DIR/bin
|
||||||
setenv PARAVIEW_LIB_DIR \$PARAVIEW_DIR/lib
|
setenv PARAVIEW_LIB_DIR \$PARAVIEW_DIR/lib
|
||||||
setenv PARAVIEW_INCLUDE_DIR \$PARAVIEW_DIR/include/paraview-5.4
|
setenv PARAVIEW_INCLUDE_DIR \$PARAVIEW_DIR/include/paraview-5.5
|
||||||
|
|
||||||
setenv PARAVIEW_VERSION %{version}
|
setenv PARAVIEW_VERSION %{version}
|
||||||
|
|
||||||
|
@ -265,14 +265,14 @@ setenv PARAVIEW_VERSION %{version}
|
||||||
# specified directory to see if a given library is a paraview plugin.
|
# specified directory to see if a given library is a paraview plugin.
|
||||||
# In the case of \$FOAM_LIBBIN, with over 80 libraries, this is a total waste of time that will slow down the
|
# In the case of \$FOAM_LIBBIN, with over 80 libraries, this is a total waste of time that will slow down the
|
||||||
# startup of paraview or even make paraview crash on startup.
|
# startup of paraview or even make paraview crash on startup.
|
||||||
setenv PV_PLUGIN_PATH \$FOAM_LIBBIN/paraview-5.4_plugins
|
setenv PV_PLUGIN_PATH \$FOAM_LIBBIN/paraview-5.5_plugins
|
||||||
|
|
||||||
if ( -e \$PARAVIEW_BIN_DIR ) then
|
if ( -e \$PARAVIEW_BIN_DIR ) then
|
||||||
_foamAddPath \$PARAVIEW_BIN_DIR
|
_foamAddPath \$PARAVIEW_BIN_DIR
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ( -e \$PARAVIEW_LIB_DIR/paraview-5.4 ) then
|
if ( -e \$PARAVIEW_LIB_DIR/paraview-5.5 ) then
|
||||||
_foamAddLib \$PARAVIEW_LIB_DIR/paraview-5.4
|
_foamAddLib \$PARAVIEW_LIB_DIR/paraview-5.5
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue