ThirdParty: some more comments, and adjustments to path of generated .tgz files
This commit is contained in:
parent
a723c7ec7f
commit
5877080cb2
23 changed files with 25 additions and 22 deletions
3
ThirdParty/README.ThirdParty
vendored
3
ThirdParty/README.ThirdParty
vendored
|
@ -67,6 +67,9 @@ For every packages, this is the basic process we will be going through when star
|
|||
Please note that a compressed tarball (.tgz) is now also generated for systems where using rpm for installing packages
|
||||
as a non-root user might be a problem.
|
||||
|
||||
The .rpm files will be located under the directory $WM_THIRD_PARTY_DIR/rpmBuild/RPMS
|
||||
The .tgz files will be located under the directory $WM_THIRD_PARTY_DIR/rpmBuild/TGZS
|
||||
|
||||
d: The default installation root directory is "$WM_THIRD_PARTY_DIR". This can be overriden though when installing the RPM.
|
||||
|
||||
Relocating the RPM root installation directory:
|
||||
|
|
|
@ -152,7 +152,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
|
@ -159,7 +159,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
|
@ -261,7 +261,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
%clean
|
||||
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/Python-2.7.spec
vendored
2
ThirdParty/rpmBuild/SPECS/Python-2.7.spec
vendored
|
@ -137,7 +137,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/bison-2.4.3.spec
vendored
2
ThirdParty/rpmBuild/SPECS/bison-2.4.3.spec
vendored
|
@ -140,7 +140,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/cmake-2.8.3.spec
vendored
2
ThirdParty/rpmBuild/SPECS/cmake-2.8.3.spec
vendored
|
@ -137,7 +137,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/flex-2.5.35.spec
vendored
2
ThirdParty/rpmBuild/SPECS/flex-2.5.35.spec
vendored
|
@ -140,7 +140,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/gcc-4.4.5.spec
vendored
2
ThirdParty/rpmBuild/SPECS/gcc-4.4.5.spec
vendored
|
@ -162,7 +162,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec
vendored
2
ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec
vendored
|
@ -155,7 +155,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/gmp-5.0.1.spec
vendored
2
ThirdParty/rpmBuild/SPECS/gmp-5.0.1.spec
vendored
|
@ -139,7 +139,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
|
@ -171,7 +171,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/m4-1.4.16.spec
vendored
2
ThirdParty/rpmBuild/SPECS/m4-1.4.16.spec
vendored
|
@ -140,7 +140,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
|
@ -158,7 +158,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/metis-5.0pre2.spec
vendored
2
ThirdParty/rpmBuild/SPECS/metis-5.0pre2.spec
vendored
|
@ -160,7 +160,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/mpc-0.8.2.spec
vendored
2
ThirdParty/rpmBuild/SPECS/mpc-0.8.2.spec
vendored
|
@ -146,7 +146,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/mpfr-3.0.0.spec
vendored
2
ThirdParty/rpmBuild/SPECS/mpfr-3.0.0.spec
vendored
|
@ -143,7 +143,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/openmpi-1.4.1.spec
vendored
2
ThirdParty/rpmBuild/SPECS/openmpi-1.4.1.spec
vendored
|
@ -169,7 +169,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/openmpi-1.4.3.spec
vendored
2
ThirdParty/rpmBuild/SPECS/openmpi-1.4.3.spec
vendored
|
@ -233,7 +233,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/openmpi-1.5.spec
vendored
2
ThirdParty/rpmBuild/SPECS/openmpi-1.5.spec
vendored
|
@ -231,7 +231,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
|
@ -148,7 +148,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
|
@ -156,7 +156,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
2
ThirdParty/rpmBuild/SPECS/zoltan-3.5.spec
vendored
2
ThirdParty/rpmBuild/SPECS/zoltan-3.5.spec
vendored
|
@ -139,7 +139,7 @@ DOT_CSH_EOF
|
|||
|
||||
#finally, generate a .tgz file for systems where using rpm for installing packages
|
||||
# as a non-root user might be a problem.
|
||||
(mkdir -p %{_topdir}/TGZ; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZ/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
(mkdir -p %{_topdir}/TGZS; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{name}-%{version}.tgz packages/%{name}-%{version})
|
||||
|
||||
|
||||
%clean
|
||||
|
|
Reference in a new issue