build and deploy 16.2.2-el7
This commit is contained in:
parent
9b48ad93b8
commit
25943c4c40
108 changed files with 624 additions and 451 deletions
10
README.md
10
README.md
|
@ -46,15 +46,15 @@ selinux should be **disabled** [(read more about selinux at redhat.com)](https:/
|
||||||
|
|
||||||
wget -O /etc/yum.repos.d/awips2.repo http://www.unidata.ucar.edu/software/awips2/doc/awips2.repo
|
wget -O /etc/yum.repos.d/awips2.repo http://www.unidata.ucar.edu/software/awips2/doc/awips2.repo
|
||||||
|
|
||||||
#### create user `awips` and group `fxalpha`
|
#### create user `awips` and group `awips`
|
||||||
|
|
||||||
groupadd fxalpha
|
groupadd awips
|
||||||
useradd -G fxalpha awips
|
useradd -G awips awips
|
||||||
|
|
||||||
#### create /awips2 and set owner to awips:fxalpha
|
#### create /awips2 and set owner to awips:awips
|
||||||
|
|
||||||
mkdir -p /awips2/data_store
|
mkdir -p /awips2/data_store
|
||||||
chown -R awips:fxalpha /awips2
|
chown -R awips:awips /awips2
|
||||||
|
|
||||||
#### edit /etc/security/limits.conf
|
#### edit /etc/security/limits.conf
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@ public class PydevSetup {
|
||||||
public static void preventFundingPopup() {
|
public static void preventFundingPopup() {
|
||||||
IPreferenceStore pydevPrefStore = PydevPlugin.getDefault()
|
IPreferenceStore pydevPrefStore = PydevPlugin.getDefault()
|
||||||
.getPreferenceStore();
|
.getPreferenceStore();
|
||||||
pydevPrefStore.setValue(PydevShowBrowserMessage.PYDEV_FUNDING_SHOWN,
|
pydevPrefStore.setValue(PydevShowBrowserMessage.PYDEV_FUNDING_SHOW_AT_TIME,
|
||||||
"true");
|
"true");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ class Procedure (SmartScript.SmartScript):
|
||||||
# file name so that a browser can properly interpret it as a kml file to be open with Google
|
# file name so that a browser can properly interpret it as a kml file to be open with Google
|
||||||
# Earth or equivalent application.
|
# Earth or equivalent application.
|
||||||
|
|
||||||
# Also, make sure the ownership of the kml.txt files created below is fxa:fxalpha with permissions set
|
# Also, make sure the ownership of the kml.txt files created below is fxa:awips with permissions set
|
||||||
# to 666.
|
# to 666.
|
||||||
|
|
||||||
# You can test the kml files created by copying them outside AWIPS and renaming them .kml. Then open them with
|
# You can test the kml files created by copying them outside AWIPS and renaming them .kml. Then open them with
|
||||||
|
|
|
@ -66,7 +66,7 @@ create () {
|
||||||
[ $run_type == 1 ] && (
|
[ $run_type == 1 ] && (
|
||||||
cp $stddict $1
|
cp $stddict $1
|
||||||
chown awips $1
|
chown awips $1
|
||||||
chgrp fxalpha $1
|
chgrp awips $1
|
||||||
chmod 644 $1
|
chmod 644 $1
|
||||||
)
|
)
|
||||||
echo "$1, created the standard dictionary"
|
echo "$1, created the standard dictionary"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# database ownership
|
# database ownership
|
||||||
POSTGRESQL_PORT=5432
|
POSTGRESQL_PORT=5432
|
||||||
POSTGRESQL_USER=awips
|
POSTGRESQL_USER=awips
|
||||||
AWIPS_DEFAULT_GROUP="fxalpha"
|
AWIPS_DEFAULT_GROUP="awips"
|
||||||
|
|
||||||
# AWIPS II installations
|
# AWIPS II installations
|
||||||
POSTGRESQL_INSTALL="/awips2/postgresql"
|
POSTGRESQL_INSTALL="/awips2/postgresql"
|
||||||
|
|
|
@ -13,7 +13,7 @@ for f in $* ; do
|
||||||
mv $f ${f}.bak
|
mv $f ${f}.bak
|
||||||
mv ${f}.$$ $f
|
mv ${f}.$$ $f
|
||||||
chmod 664 $f
|
chmod 664 $f
|
||||||
chown awips:fxalpha $f
|
chown awips:awips $f
|
||||||
echo "converted $f"
|
echo "converted $f"
|
||||||
else
|
else
|
||||||
echo "No conversion needed for $f"
|
echo "No conversion needed for $f"
|
||||||
|
|
|
@ -35,5 +35,5 @@ echo -e ' <substitute key="ARsites" value="PAFC, PAFG, PAJK" />
|
||||||
</menuContributionFile>
|
</menuContributionFile>
|
||||||
' >> $f.tmp
|
' >> $f.tmp
|
||||||
mv -f ${f}.tmp $f
|
mv -f ${f}.tmp $f
|
||||||
chown awips:fxalpha $f; chmod 664 $f
|
chown awips:awips $f; chmod 664 $f
|
||||||
done
|
done
|
||||||
|
|
|
@ -28,7 +28,7 @@ function change()
|
||||||
mv index.xml.bak index.xml
|
mv index.xml.bak index.xml
|
||||||
|
|
||||||
# change permissions and ownership
|
# change permissions and ownership
|
||||||
chown awips.fxalpha index.xml ../../../../site/$site/menus/radar/index.xml
|
chown awips.awips index.xml ../../../../site/$site/menus/radar/index.xml
|
||||||
|
|
||||||
# create backup of the original file
|
# create backup of the original file
|
||||||
cp dialRadars.xml dialRadars.xml.bak
|
cp dialRadars.xml dialRadars.xml.bak
|
||||||
|
@ -42,7 +42,7 @@ function change()
|
||||||
mv dialRadars.xml.bak dialRadars.xml
|
mv dialRadars.xml.bak dialRadars.xml
|
||||||
|
|
||||||
# change permissions and ownership
|
# change permissions and ownership
|
||||||
chown awips.fxalpha dialRadars.xml ../../../../site/$site/menus/radar/dialRadars.xml
|
chown awips.awips dialRadars.xml ../../../../site/$site/menus/radar/dialRadars.xml
|
||||||
|
|
||||||
# move back to original directory
|
# move back to original directory
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
@ -63,14 +63,14 @@ function change()
|
||||||
mv index.xml ../../../../site/$site/menus/radar/index.xml
|
mv index.xml ../../../../site/$site/menus/radar/index.xml
|
||||||
mv index.xml.bak index.xml
|
mv index.xml.bak index.xml
|
||||||
|
|
||||||
chown awips.fxalpha index.xml ../../../../site/$site/menus/radar/index.xml
|
chown awips.awips index.xml ../../../../site/$site/menus/radar/index.xml
|
||||||
|
|
||||||
cp dialRadars.xml dialRadars.xml.bak
|
cp dialRadars.xml dialRadars.xml.bak
|
||||||
sed -i 's/dualPol\/baseLocalRadarMenu.xml/baseLocalRadarMenu.xml/g' dialRadars.xml
|
sed -i 's/dualPol\/baseLocalRadarMenu.xml/baseLocalRadarMenu.xml/g' dialRadars.xml
|
||||||
sed -i 's/dualPol\/baseTerminalLocalRadarMenu.xml/baseTerminalLocalRadarMenu.xml/g' dialRadars.xml
|
sed -i 's/dualPol\/baseTerminalLocalRadarMenu.xml/baseTerminalLocalRadarMenu.xml/g' dialRadars.xml
|
||||||
mv dialRadars.xml ../../../../site/$site/menus/radar/dialRadars.xml
|
mv dialRadars.xml ../../../../site/$site/menus/radar/dialRadars.xml
|
||||||
mv dialRadars.xml.bak dialRadars.xml
|
mv dialRadars.xml.bak dialRadars.xml
|
||||||
chown awips.fxalpha dialRadars.xml ../../../../site/$site/menus/radar/dialRadars.xml
|
chown awips.awips dialRadars.xml ../../../../site/$site/menus/radar/dialRadars.xml
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
else
|
else
|
||||||
echo "Menus not configured for $site"
|
echo "Menus not configured for $site"
|
||||||
|
|
|
@ -188,10 +188,10 @@ echo "Files successfully copied!"
|
||||||
echo "Changing ownership of received configuration"
|
echo "Changing ownership of received configuration"
|
||||||
if [ $USER = "root" ]
|
if [ $USER = "root" ]
|
||||||
then
|
then
|
||||||
chown -R awips:fxalpha ${LOCALIZATION_PATH}/edex_static/site/${SITE_ID_CAPS}
|
chown -R awips:awips ${LOCALIZATION_PATH}/edex_static/site/${SITE_ID_CAPS}
|
||||||
chown -R awips:fxalpha ${LOCALIZATION_PATH}/common_static/site/${SITE_ID_CAPS}
|
chown -R awips:awips ${LOCALIZATION_PATH}/common_static/site/${SITE_ID_CAPS}
|
||||||
chown -R awips:fxalpha ${LOCALIZATION_PATH}/cave_static/site/${SITE_ID_CAPS}
|
chown -R awips:awips ${LOCALIZATION_PATH}/cave_static/site/${SITE_ID_CAPS}
|
||||||
chown -R awips:fxalpha /awips2/GFESuite/ServiceBackup/data # DR 16464
|
chown -R awips:awips /awips2/GFESuite/ServiceBackup/data # DR 16464
|
||||||
elif [ $USER = "awips" ]
|
elif [ $USER = "awips" ]
|
||||||
then
|
then
|
||||||
echo "Files already owned by awips"
|
echo "Files already owned by awips"
|
||||||
|
|
|
@ -187,12 +187,12 @@ export LOG_FILE="${DXwrkDir}/log/${currdate}/netcdf_rsync.log"
|
||||||
if [ ! -d ${DXwrkDir}/log ] ;then
|
if [ ! -d ${DXwrkDir}/log ] ;then
|
||||||
mkdir -p ${DXwrkDir}/log
|
mkdir -p ${DXwrkDir}/log
|
||||||
chmod 777 ${DXwrkDir}/log
|
chmod 777 ${DXwrkDir}/log
|
||||||
chown awips:fxalpha ${DXwrkDir}/log
|
chown awips:awips ${DXwrkDir}/log
|
||||||
fi
|
fi
|
||||||
if [ ! -d ${DXwrkDir}/log/${currdate} ] ;then
|
if [ ! -d ${DXwrkDir}/log/${currdate} ] ;then
|
||||||
mkdir -p ${DXwrkDir}/log/${currdate}
|
mkdir -p ${DXwrkDir}/log/${currdate}
|
||||||
chmod 777 ${DXwrkDir}/log/${currdate}
|
chmod 777 ${DXwrkDir}/log/${currdate}
|
||||||
chown awips:fxalpha ${DXwrkDir}/log/${currdate}
|
chown awips:awips ${DXwrkDir}/log/${currdate}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Log file header
|
# Log file header
|
||||||
|
@ -211,7 +211,7 @@ if [ ! -d ${WRKDIR} ] ;then
|
||||||
echo " changing permissions of ${WRKDIR} directory..." >> $LOG_FILE
|
echo " changing permissions of ${WRKDIR} directory..." >> $LOG_FILE
|
||||||
chmod 777 ${WRKDIR}
|
chmod 777 ${WRKDIR}
|
||||||
echo " changing ownership of ${WRKDIR} directory to fxa..." >> $LOG_FILE
|
echo " changing ownership of ${WRKDIR} directory to fxa..." >> $LOG_FILE
|
||||||
chown awips:fxalpha ${WRKDIR}
|
chown awips:awips ${WRKDIR}
|
||||||
else
|
else
|
||||||
echo " ${WRKDIR} directory exists!" >> $LOG_FILE
|
echo " ${WRKDIR} directory exists!" >> $LOG_FILE
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -7,7 +7,7 @@ DXwrkDir=$IFPS_DATA/rsyncGridsToCWF # must be a non-nas1 drive with enough spac
|
||||||
if [ ! -d ${DXwrkDir} ] ;then
|
if [ ! -d ${DXwrkDir} ] ;then
|
||||||
mkdir -p ${DXwrkDir}
|
mkdir -p ${DXwrkDir}
|
||||||
chmod 777 ${DXwrkDir}
|
chmod 777 ${DXwrkDir}
|
||||||
chown awips:fxalpha ${DXwrkDir}
|
chown awips:awips ${DXwrkDir}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Turn On/Off certain script functionality. ###
|
### Turn On/Off certain script functionality. ###
|
||||||
|
|
|
@ -76,12 +76,12 @@ export LOG_FILE="${HTI_HOME}/logs/${currdate}/make_hti.log"
|
||||||
if [ ! -d ${HTI_HOME}/logs ] ;then
|
if [ ! -d ${HTI_HOME}/logs ] ;then
|
||||||
mkdir -p ${HTI_HOME}/logs
|
mkdir -p ${HTI_HOME}/logs
|
||||||
chmod 777 ${HTI_HOME}/logs
|
chmod 777 ${HTI_HOME}/logs
|
||||||
chown awips:fxalpha ${HTI_HOME}/logs
|
chown awips:awips ${HTI_HOME}/logs
|
||||||
fi
|
fi
|
||||||
if [ ! -d ${HTI_HOME}/logs/${currdate} ] ;then
|
if [ ! -d ${HTI_HOME}/logs/${currdate} ] ;then
|
||||||
mkdir -p ${HTI_HOME}/logs/${currdate}
|
mkdir -p ${HTI_HOME}/logs/${currdate}
|
||||||
chmod 777 ${HTI_HOME}/logs/${currdate}
|
chmod 777 ${HTI_HOME}/logs/${currdate}
|
||||||
chown awips:fxalpha ${HTI_HOME}/logs/${currdate}
|
chown awips:awips ${HTI_HOME}/logs/${currdate}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Log file header
|
# Log file header
|
||||||
|
@ -100,7 +100,7 @@ if [ ! -d ${PRODUCTdir} ]; then
|
||||||
echo " **** Changing permissions of ${PRODUCTdir} directory..." >> $LOG_FILE
|
echo " **** Changing permissions of ${PRODUCTdir} directory..." >> $LOG_FILE
|
||||||
chmod 777 $PRODUCTdir
|
chmod 777 $PRODUCTdir
|
||||||
echo " **** Changing ownership of ${PRODUCTdir} directory..." >> $LOG_FILE
|
echo " **** Changing ownership of ${PRODUCTdir} directory..." >> $LOG_FILE
|
||||||
chown awips:fxalpha $PRODUCTdir
|
chown awips:awips $PRODUCTdir
|
||||||
else
|
else
|
||||||
echo " ${PRODUCTdir} exists." >> $LOG_FILE
|
echo " ${PRODUCTdir} exists." >> $LOG_FILE
|
||||||
fi
|
fi
|
||||||
|
@ -176,7 +176,7 @@ then
|
||||||
echo " Changing permissions on ${PRODUCTdir}/archive..." >> $LOG_FILE
|
echo " Changing permissions on ${PRODUCTdir}/archive..." >> $LOG_FILE
|
||||||
chmod 777 ${PRODUCTdir}/archive
|
chmod 777 ${PRODUCTdir}/archive
|
||||||
echo " Changing ownership on ${PRODUCTdir}/archive..." >> $LOG_FILE
|
echo " Changing ownership on ${PRODUCTdir}/archive..." >> $LOG_FILE
|
||||||
chown awips:fxalpha ${PRODUCTdir}/archive
|
chown awips:awips ${PRODUCTdir}/archive
|
||||||
else
|
else
|
||||||
echo " ${PRODUCTdir}/archive directory exists!" >> $LOG_FILE
|
echo " ${PRODUCTdir}/archive directory exists!" >> $LOG_FILE
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -47,13 +47,13 @@ yum groupinstall awips2-cave -y 2>&1 | tee -a /tmp/cave-install.log
|
||||||
|
|
||||||
if getent passwd awips &>/dev/null; then
|
if getent passwd awips &>/dev/null; then
|
||||||
echo ''
|
echo ''
|
||||||
echo "Setting permissions to user awips:fxalpha"
|
echo "Setting permissions to user awips:awips"
|
||||||
/bin/chown -R awips:fxalpha /awips2/cave /awips2/alertviz
|
/bin/chown -R awips:awips /awips2/cave /awips2/alertviz
|
||||||
else
|
else
|
||||||
echo ''
|
echo ''
|
||||||
echo "--- user awips does not exist"
|
echo "--- user awips does not exist"
|
||||||
echo "--- you should set owner/group permissions for /awips2/cave and /awips2/alertviz:"
|
echo "--- you should set owner/group permissions for /awips2/cave and /awips2/alertviz:"
|
||||||
echo "tried to run 'chown -R awips:fxalpha /awips2/cave /awips2/alertviz'"
|
echo "tried to run 'chown -R awips:awips /awips2/cave /awips2/alertviz'"
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "Done..."
|
echo "Done..."
|
||||||
|
|
|
@ -54,7 +54,7 @@ service qpidd stop
|
||||||
if [ ! -d /awips2/data_store ]; then
|
if [ ! -d /awips2/data_store ]; then
|
||||||
mkdir -p /awips2/data_store
|
mkdir -p /awips2/data_store
|
||||||
fi
|
fi
|
||||||
chown -R awips:fxalpha /awips2/data_store
|
chown -R awips:awips /awips2/data_store
|
||||||
|
|
||||||
if [[ $1 -eq "reinstall" ]]; then
|
if [[ $1 -eq "reinstall" ]]; then
|
||||||
echo ''
|
echo ''
|
||||||
|
|
|
@ -162,10 +162,10 @@ echo -e "\e[1;32m---------------------------------------------------------------
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/eclipse
|
%dir /awips2/eclipse
|
||||||
/awips2/eclipse/*
|
/awips2/eclipse/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/eclipse/about.html
|
/awips2/eclipse/about.html
|
||||||
/awips2/eclipse/artifacts.xml
|
/awips2/eclipse/artifacts.xml
|
||||||
/awips2/eclipse/eclipse
|
/awips2/eclipse/eclipse
|
||||||
|
|
|
@ -24,25 +24,25 @@ if [ $ID_AWIPS != 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for existence of group fxalpha
|
# Check for existence of group awips
|
||||||
#
|
#
|
||||||
getent group fxalpha >/dev/null
|
getent group awips >/dev/null
|
||||||
GROUP_FXALPHA=$?
|
GROUP_FXALPHA=$?
|
||||||
if [ $GROUP_FXALPHA != 0 ]; then
|
if [ $GROUP_FXALPHA != 0 ]; then
|
||||||
echo "The fxalpha group does not exist on this system"
|
echo "The awips group does not exist on this system"
|
||||||
echo "As root:"
|
echo "As root:"
|
||||||
echo " groupadd fxalpha"
|
echo " groupadd awips"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for user awips in group fxalpha
|
# Check for user awips in group awips
|
||||||
#
|
#
|
||||||
AWIPS_IN_FXALPHA=`groups awips | grep fxalpha`
|
AWIPS_IN_FXALPHA=`groups awips | grep awips`
|
||||||
if [ "${AWIPS_IN_FXALPHA}" = "0" ]; then
|
if [ "${AWIPS_IN_FXALPHA}" = "0" ]; then
|
||||||
echo "The awips user must be in the fxalpha group on this system"
|
echo "The awips user must be in the awips group on this system"
|
||||||
echo "As root:"
|
echo "As root:"
|
||||||
echo " usermod -a -G fxalpha awips"
|
echo " usermod -a -G awips awips"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ rm -rf org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}.jar
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/alertviz
|
%dir /awips2/alertviz
|
||||||
/awips2/alertviz/.eclipseproduct
|
/awips2/alertviz/.eclipseproduct
|
||||||
|
@ -146,7 +146,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%dir /awips2/alertviz/plugins
|
%dir /awips2/alertviz/plugins
|
||||||
/awips2/alertviz/plugins/*
|
/awips2/alertviz/plugins/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/alertviz/alertviz
|
/awips2/alertviz/alertviz
|
||||||
/awips2/alertviz/*.so
|
/awips2/alertviz/*.so
|
||||||
/awips2/alertviz/*.sh
|
/awips2/alertviz/*.sh
|
||||||
|
|
|
@ -219,11 +219,11 @@ do
|
||||||
done
|
done
|
||||||
popd > /dev/null 2>&1
|
popd > /dev/null 2>&1
|
||||||
if getent passwd awips &>/dev/null; then
|
if getent passwd awips &>/dev/null; then
|
||||||
/bin/chown -R awips:fxalpha /awips2/cave
|
/bin/chown -R awips:awips /awips2/cave
|
||||||
else
|
else
|
||||||
echo "--- Warning: user/group awips:fxalpha does not exist"
|
echo "--- Warning: user/group awips:awips does not exist"
|
||||||
echo "--- you will need to check owner/group/permissions for /awips2/cave"
|
echo "--- you will need to check owner/group/permissions for /awips2/cave"
|
||||||
echo "tried to run 'chown -R awips:fxalpha /awips2/cave'"
|
echo "tried to run 'chown -R awips:awips /awips2/cave'"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -288,6 +288,6 @@ echo "uninstall COMPLETE: ${LOG_TIMESTAMP}"
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/cave/.repository
|
%dir /awips2/cave/.repository
|
||||||
/awips2/cave/.repository/*
|
/awips2/cave/.repository/*
|
||||||
|
|
|
@ -176,14 +176,14 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
/etc/profile.d/awips2Cave.csh
|
/etc/profile.d/awips2Cave.csh
|
||||||
/etc/profile.d/awips2Cave.sh
|
/etc/profile.d/awips2Cave.sh
|
||||||
|
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/cave
|
%dir /awips2/cave
|
||||||
/awips2/cave/*.ini
|
/awips2/cave/*.ini
|
||||||
%dir /awips2/cave/etc
|
%dir /awips2/cave/etc
|
||||||
/awips2/cave/etc/*
|
/awips2/cave/etc/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/cave/caveEnvironment
|
%dir /awips2/cave/caveEnvironment
|
||||||
/awips2/cave/caveEnvironment/*
|
/awips2/cave/caveEnvironment/*
|
||||||
/awips2/cave/*.sh
|
/awips2/cave/*.sh
|
||||||
|
|
|
@ -307,7 +307,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/cave
|
%dir /awips2/cave
|
||||||
%docdir /awips2/cave/about_files
|
%docdir /awips2/cave/about_files
|
||||||
|
@ -326,7 +326,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
/awips2/cave/plugins/*
|
/awips2/cave/plugins/*
|
||||||
/awips2/cave/.eclipseproduct
|
/awips2/cave/.eclipseproduct
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/cave/caveEnvironment
|
%dir /awips2/cave/caveEnvironment
|
||||||
/awips2/cave/caveEnvironment/*
|
/awips2/cave/caveEnvironment/*
|
||||||
/awips2/cave/cave
|
/awips2/cave/cave
|
||||||
|
|
|
@ -61,13 +61,13 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/adapt
|
%dir /awips2/adapt
|
||||||
%dir /awips2/adapt/climate
|
%dir /awips2/adapt/climate
|
||||||
%dir /awips2/adapt/climate/data
|
%dir /awips2/adapt/climate/data
|
||||||
/awips2/adapt/climate/data/*
|
/awips2/adapt/climate/data/*
|
||||||
%dir /awips2/adapt/climate/bin
|
%dir /awips2/adapt/climate/bin
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/adapt/climate/bin/Linux
|
%dir /awips2/adapt/climate/bin/Linux
|
||||||
/awips2/adapt/climate/bin/Linux/*
|
/awips2/adapt/climate/bin/Linux/*
|
||||||
|
|
|
@ -94,22 +94,22 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,awips,fxalpha,-)
|
%defattr(-,awips,awips,-)
|
||||||
%dir /awips2/ant
|
%dir /awips2/ant
|
||||||
%dir /awips2/ant/bin
|
%dir /awips2/ant/bin
|
||||||
%attr(755,awips,fxalpha) /awips2/ant/bin/ant
|
%attr(755,awips,awips) /awips2/ant/bin/ant
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/ant.bat
|
%attr(644,awips,awips) /awips2/ant/bin/ant.bat
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/ant.cmd
|
%attr(644,awips,awips) /awips2/ant/bin/ant.cmd
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/antenv.cmd
|
%attr(644,awips,awips) /awips2/ant/bin/antenv.cmd
|
||||||
%attr(755,awips,fxalpha) /awips2/ant/bin/antRun
|
%attr(755,awips,awips) /awips2/ant/bin/antRun
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/antRun.bat
|
%attr(644,awips,awips) /awips2/ant/bin/antRun.bat
|
||||||
%attr(755,awips,fxalpha) /awips2/ant/bin/antRun.pl
|
%attr(755,awips,awips) /awips2/ant/bin/antRun.pl
|
||||||
%attr(755,awips,fxalpha) /awips2/ant/bin/complete-ant-cmd.pl
|
%attr(755,awips,awips) /awips2/ant/bin/complete-ant-cmd.pl
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/envset.cmd
|
%attr(644,awips,awips) /awips2/ant/bin/envset.cmd
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/lcp.bat
|
%attr(644,awips,awips) /awips2/ant/bin/lcp.bat
|
||||||
%attr(755,awips,fxalpha) /awips2/ant/bin/runant.pl
|
%attr(755,awips,awips) /awips2/ant/bin/runant.pl
|
||||||
%attr(755,awips,fxalpha) /awips2/ant/bin/runant.py
|
%attr(755,awips,awips) /awips2/ant/bin/runant.py
|
||||||
%attr(644,awips,fxalpha) /awips2/ant/bin/runrc.cmd
|
%attr(644,awips,awips) /awips2/ant/bin/runrc.cmd
|
||||||
%docdir /awips2/ant/docs
|
%docdir /awips2/ant/docs
|
||||||
/awips2/ant/docs
|
/awips2/ant/docs
|
||||||
/awips2/ant/etc
|
/awips2/ant/etc
|
||||||
|
|
|
@ -55,12 +55,12 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,775)
|
%defattr(644,awips,awips,775)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
%dir /awips2/edex/data
|
%dir /awips2/edex/data
|
||||||
%dir /awips2/edex/data/share
|
%dir /awips2/edex/data/share
|
||||||
%dir /awips2/edex/data/share/aviation
|
%dir /awips2/edex/data/share/aviation
|
||||||
%dir /awips2/edex/data/share/aviation/tmp
|
%dir /awips2/edex/data/share/aviation/tmp
|
||||||
%defattr(664,awips,fxalpha,755)
|
%defattr(664,awips,awips,755)
|
||||||
/awips2/edex/data/share/aviation/*.txt
|
/awips2/edex/data/share/aviation/*.txt
|
||||||
|
|
|
@ -96,16 +96,15 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/fxa
|
%dir /awips2/fxa
|
||||||
%docdir /awips2/fxa/licenses
|
%docdir /awips2/fxa/licenses
|
||||||
%dir /awips2/fxa/licenses
|
%dir /awips2/fxa/licenses
|
||||||
/awips2/fxa/licenses/*
|
/awips2/fxa/licenses/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/fxa/bin
|
%dir /awips2/fxa/bin
|
||||||
%dir /awips2/fxa/data
|
%dir /awips2/fxa/data
|
||||||
%dir /awips2/fxa/nationalData
|
%dir /awips2/fxa/nationalData
|
||||||
%attr(755,awips,fxalpha) /awips2/fxa/bin/*
|
%attr(755,awips,awips) /awips2/fxa/bin/*
|
||||||
%attr(755,awips,fxalpha) /awips2/fxa/data/*
|
%attr(755,awips,awips) /awips2/fxa/data/*
|
||||||
%attr(755,awips,fxalpha) /awips2/fxa/nationalData/*
|
%attr(755,awips,awips) /awips2/fxa/nationalData/*
|
||||||
%config(noreplace) /awips2/fxa/bin/setup.env
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/collab-dataserver
|
%dir /awips2/collab-dataserver
|
||||||
%dir /awips2/collab-dataserver/bin
|
%dir /awips2/collab-dataserver/bin
|
||||||
|
@ -91,7 +91,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%dir /awips2/collab-dataserver/lib
|
%dir /awips2/collab-dataserver/lib
|
||||||
/awips2/collab-dataserver/lib/*
|
/awips2/collab-dataserver/lib/*
|
||||||
|
|
||||||
%defattr(775,awips,fxalpha,775)
|
%defattr(775,awips,awips,775)
|
||||||
%dir /awips2/collab-dataserver/lib/uframe
|
%dir /awips2/collab-dataserver/lib/uframe
|
||||||
/awips2/collab-dataserver/lib/uframe/*
|
/awips2/collab-dataserver/lib/uframe/*
|
||||||
%dir /awips2/collab-dataserver/lib/foss
|
%dir /awips2/collab-dataserver/lib/foss
|
||||||
|
|
|
@ -152,7 +152,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
/awips2/edex/*
|
/awips2/edex/*
|
||||||
|
|
|
@ -57,9 +57,9 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
/awips2/data/postgresql.conf
|
/awips2/data/postgresql.conf
|
||||||
|
|
||||||
%defattr(644,awips,fxalpha,700)
|
%defattr(644,awips,awips,700)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/data
|
%dir /awips2/data
|
||||||
|
|
|
@ -57,8 +57,8 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
/awips2/data/postgresql.conf
|
/awips2/data/postgresql.conf
|
||||||
|
|
||||||
%defattr(644,awips,fxalpha,700)
|
%defattr(644,awips,awips,700)
|
||||||
%dir /awips2/data
|
%dir /awips2/data
|
||||||
|
|
|
@ -128,7 +128,7 @@ function printFailureMessage()
|
||||||
|
|
||||||
AWIPS_DEFAULT_OWNER="awips"
|
AWIPS_DEFAULT_OWNER="awips"
|
||||||
AWIPS_DEFAULT_USER="awips"
|
AWIPS_DEFAULT_USER="awips"
|
||||||
AWIPS_DEFAULT_GROUP="fxalpha"
|
AWIPS_DEFAULT_GROUP="awips"
|
||||||
AWIPS_DEFAULT_PORT="5432"
|
AWIPS_DEFAULT_PORT="5432"
|
||||||
|
|
||||||
# This Is The Log File That We Will Use To Log All SQL Interactions.
|
# This Is The Log File That We Will Use To Log All SQL Interactions.
|
||||||
|
@ -299,7 +299,7 @@ copy_addl_config
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/database
|
%dir /awips2/database
|
||||||
%dir /awips2/database/sqlScripts
|
%dir /awips2/database/sqlScripts
|
||||||
|
@ -307,7 +307,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
/awips2/database/sqlScripts/share/sql/sql_install.log
|
/awips2/database/sqlScripts/share/sql/sql_install.log
|
||||||
/awips2/database/sqlScripts/share/sql/pg_hba.conf
|
/awips2/database/sqlScripts/share/sql/pg_hba.conf
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/database/sqlScripts/share/sql
|
%dir /awips2/database/sqlScripts/share/sql
|
||||||
/awips2/database/sqlScripts/share/sql/*.sql
|
/awips2/database/sqlScripts/share/sql/*.sql
|
||||||
/awips2/database/sqlScripts/share/sql/*.sh
|
/awips2/database/sqlScripts/share/sql/*.sh
|
||||||
|
|
|
@ -109,7 +109,7 @@ fi
|
||||||
|
|
||||||
RPM_PROJECT="%{_baseline_workspace}/rpms"
|
RPM_PROJECT="%{_baseline_workspace}/rpms"
|
||||||
POSTGRES_INITD="%{_baseline_workspace}/rpms/awips2.core/Installer.postgres/scripts/init.d/edex_postgres"
|
POSTGRES_INITD="%{_baseline_workspace}/rpms/awips2.core/Installer.postgres/scripts/init.d/edex_postgres"
|
||||||
QPID_INITD="%{_baseline_workspace}/foss/qpid-java-broker-0.32/src/patch/qpid-java-broker/wrapper/qpidd"
|
QPID_INITD="%{_baseline_workspace}/foss/qpid-java-broker-0.32/src/patch/qpid-java-broker-0.32/wrapper/qpidd"
|
||||||
EDEX_INITD="${RPM_PROJECT}/awips2.edex/Installer.edex/scripts/init.d/edex_camel"
|
EDEX_INITD="${RPM_PROJECT}/awips2.edex/Installer.edex/scripts/init.d/edex_camel"
|
||||||
HTTPD_PYPIES_INITD="%{_baseline_workspace}/rpms/awips2.core/Installer.httpd-pypies/configuration/etc/init.d/httpd-pypies"
|
HTTPD_PYPIES_INITD="%{_baseline_workspace}/rpms/awips2.core/Installer.httpd-pypies/configuration/etc/init.d/httpd-pypies"
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ fi
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
|
|
||||||
%dir /usr/local/edex-environment
|
%dir /usr/local/edex-environment
|
||||||
|
|
|
@ -126,7 +126,7 @@ function createEnvironment()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 6) Adjust permissions.
|
# 6) Adjust permissions.
|
||||||
chown -R awips:fxalpha ${EDEX_ENV_DIR}/${env_name}
|
chown -R awips:awips ${EDEX_ENV_DIR}/${env_name}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -61,7 +61,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%defattr(775,awips,fxalpha,775)
|
%defattr(775,awips,awips,775)
|
||||||
%dir /awips2/edex/data/gfe
|
%dir /awips2/edex/data/gfe
|
||||||
/awips2/edex/data/gfe/*
|
/awips2/edex/data/gfe/*
|
||||||
|
|
|
@ -79,19 +79,14 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,root,root,-)
|
%defattr(644,awips,awips,755)
|
||||||
%defattr(644,awips,fxalpha,755)
|
|
||||||
%dir /awips2
|
|
||||||
%dir /awips2/GFESuite
|
%dir /awips2/GFESuite
|
||||||
/awips2/GFESuite/*
|
%defattr(755,awips,awips,755)
|
||||||
%defattr(755,awips,fxalpha,755)
|
|
||||||
%dir /awips2/GFESuite/bin
|
|
||||||
/awips2/GFESuite/bin/*
|
/awips2/GFESuite/bin/*
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/GFESuite/bin/src
|
%dir /awips2/GFESuite/bin/src
|
||||||
/awips2/GFESuite/bin/src/*
|
|
||||||
%dir /awips2/GFESuite/exportgrids
|
%dir /awips2/GFESuite/exportgrids
|
||||||
/awips2/GFESuite/exportgrids/*
|
/awips2/GFESuite/exportgrids/*
|
||||||
%defattr(644,awips,fxalpha,775)
|
%defattr(644,awips,awips,775)
|
||||||
%dir /awips2/GFESuite/products
|
%dir /awips2/GFESuite/products
|
||||||
/awips2/GFESuite/products/*
|
/awips2/GFESuite/products/*
|
||||||
|
|
|
@ -80,39 +80,13 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,root,root,-)
|
%defattr(644,awips,awips,755)
|
||||||
%defattr(644,awips,fxalpha,755)
|
|
||||||
%dir /awips2
|
|
||||||
%dir /awips2/GFESuite
|
%dir /awips2/GFESuite
|
||||||
/awips2/GFESuite/*
|
|
||||||
%defattr(644,awips,fxalpha,775)
|
|
||||||
%dir /awips2/GFESuite/nwps
|
|
||||||
/awips2/GFESuite/nwps/*
|
/awips2/GFESuite/nwps/*
|
||||||
%defattr(775,awips,fxalpha,775)
|
%defattr(775,awips,awips,775)
|
||||||
%dir /awips2/GFESuite/hti
|
/awips2/GFESuite/hti*
|
||||||
/awips2/GFESuite/hti/*
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/GFESuite/nwps/bin
|
|
||||||
/awips2/GFESuite/nwps/bin/*
|
|
||||||
%dir /awips2/GFESuite/nwps/etc
|
|
||||||
/awips2/GFESuite/nwps/etc/*
|
|
||||||
%dir /awips2/GFESuite/nwps/domains
|
|
||||||
/awips2/GFESuite/nwps/domains/*
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
|
||||||
%dir /awips2/GFESuite/bin
|
|
||||||
/awips2/GFESuite/bin/*
|
/awips2/GFESuite/bin/*
|
||||||
%dir /awips2/GFESuite/hti/bin
|
|
||||||
/awips2/GFESuite/hti/bin/*
|
|
||||||
%defattr(755,awips,fxalpha,777)
|
|
||||||
%dir /awips2/GFESuite/hti/etc
|
|
||||||
/awips2/GFESuite/hti/etc/*
|
|
||||||
%defattr(644,awips,fxalpha,755)
|
|
||||||
%dir /awips2/GFESuite/bin/src
|
|
||||||
/awips2/GFESuite/bin/src/*
|
|
||||||
%dir /awips2/GFESuite/exportgrids
|
%dir /awips2/GFESuite/exportgrids
|
||||||
/awips2/GFESuite/exportgrids/*
|
%defattr(755,awips,awips,777)
|
||||||
%defattr(755,awips,fxalpha,777)
|
/awips2/GFESuite/ServiceBackup*
|
||||||
%dir /awips2/GFESuite/ServiceBackup/scripts
|
|
||||||
/awips2/GFESuite/ServiceBackup/scripts/*
|
|
||||||
%defattr(644,awips,fxalpha,775)
|
|
||||||
%dir /awips2/GFESuite/products
|
|
||||||
/awips2/GFESuite/products/*
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
|
|
||||||
%dir /awips2/groovy
|
%dir /awips2/groovy
|
||||||
%dir /awips2/groovy/conf
|
%dir /awips2/groovy/conf
|
||||||
|
@ -84,5 +84,5 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%doc /awips2/groovy/LICENSE.txt
|
%doc /awips2/groovy/LICENSE.txt
|
||||||
%doc /awips2/groovy/NOTICE.txt
|
%doc /awips2/groovy/NOTICE.txt
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/groovy/bin/*
|
/awips2/groovy/bin/*
|
||||||
|
|
|
@ -6,6 +6,15 @@
|
||||||
%define vstring CentOS
|
%define vstring CentOS
|
||||||
%define mpms worker event
|
%define mpms worker event
|
||||||
|
|
||||||
|
%define HTTP_FOSS_DIR "%{_baseline_workspace}/foss/%{HTTP_PACKAGE_NAME}/packaged/"
|
||||||
|
%define HTTP_PACKAGE_NAME "httpd-%{version}"
|
||||||
|
%define HTTP_PATCHES_TAR "%{HTTP_PACKAGE_NAME}-SOURCES.tar"
|
||||||
|
%define HTTP_PATCHES_RPM "httpd-%{version}-%{release}_7.src.rpm"
|
||||||
|
%define HTTP_SOURCE_TAR "%{HTTP_PACKAGE_NAME}.tar.gz"
|
||||||
|
%define RPMBUILD_PYPIES_DIR "%{_baseline_workspace}/rpmbuild/BUILD/httpd-pypies"
|
||||||
|
%define RPMBUILD_HTTP_DIR %RPMBUILD_PYPIES_DIR/%HTTP_PACKAGE_NAME
|
||||||
|
|
||||||
|
|
||||||
# Drop automatic provides for module DSOs
|
# Drop automatic provides for module DSOs
|
||||||
%{?filter_setup:
|
%{?filter_setup:
|
||||||
%filter_provides_in /awips2/httpd_pypies%{_libdir}/httpd/modules/.*\.so$
|
%filter_provides_in /awips2/httpd_pypies%{_libdir}/httpd/modules/.*\.so$
|
||||||
|
@ -618,7 +627,7 @@ echo "cleaning"
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,awips,fxalpha)
|
%defattr(-,awips,awips)
|
||||||
|
|
||||||
%doc ABOUT_APACHE README CHANGES LICENSE VERSIONING NOTICE
|
%doc ABOUT_APACHE README CHANGES LICENSE VERSIONING NOTICE
|
||||||
|
|
||||||
|
@ -696,11 +705,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
/awips2/httpd_pypies%{contentdir}/error/include/*.html
|
/awips2/httpd_pypies%{contentdir}/error/include/*.html
|
||||||
/awips2/httpd_pypies%{contentdir}/noindex/*
|
/awips2/httpd_pypies%{contentdir}/noindex/*
|
||||||
|
|
||||||
#%attr(0710,awips,fxalpha) %dir /awips2/httpd_pypies/run/httpd
|
#%attr(0710,awips,awips) %dir /awips2/httpd_pypies/run/httpd
|
||||||
%attr(0700,awips,fxalpha) %dir /awips2/httpd_pypies%{_localstatedir}/log/httpd
|
%attr(0700,awips,awips) %dir /awips2/httpd_pypies%{_localstatedir}/log/httpd
|
||||||
%attr(0700,awips,fxalpha) %dir /awips2/httpd_pypies%{_localstatedir}/lib/dav
|
%attr(0700,awips,awips) %dir /awips2/httpd_pypies%{_localstatedir}/lib/dav
|
||||||
%attr(0700,awips,fxalpha) %dir /awips2/httpd_pypies%{_localstatedir}/cache/httpd
|
%attr(0700,awips,awips) %dir /awips2/httpd_pypies%{_localstatedir}/cache/httpd
|
||||||
%attr(0700,awips,fxalpha) %dir /awips2/httpd_pypies%{_localstatedir}/cache/httpd/proxy
|
%attr(0700,awips,awips) %dir /awips2/httpd_pypies%{_localstatedir}/cache/httpd/proxy
|
||||||
|
|
||||||
%{_unitdir}/*.service
|
%{_unitdir}/*.service
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ WSGIPythonHome /awips2/python
|
||||||
<VirtualHost *>
|
<VirtualHost *>
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
#wsgi is setup in embedded mode, Daemon Process not doing anything
|
#wsgi is setup in embedded mode, Daemon Process not doing anything
|
||||||
#WSGIDaemonProcess pypies user=awips group=fxalpha python-path=/awips2/python/lib/python2.7/site-packages processes=50 threads=1 umask=0000 display-name=pypies deadlock-timeout=30
|
#WSGIDaemonProcess pypies user=awips group=awips python-path=/awips2/python/lib/python2.7/site-packages processes=50 threads=1 umask=0000 display-name=pypies deadlock-timeout=30
|
||||||
WSGIScriptAlias / /awips2/httpd_pypies/var/www/wsgi/pypies.wsgi
|
WSGIScriptAlias / /awips2/httpd_pypies/var/www/wsgi/pypies.wsgi
|
||||||
|
|
||||||
<Directory /awips2/httpd_pypies/var/www/wsgi>
|
<Directory /awips2/httpd_pypies/var/www/wsgi>
|
||||||
|
|
|
@ -64,7 +64,7 @@ Include conf.modules.d/*.conf
|
||||||
# running httpd, as with most system services.
|
# running httpd, as with most system services.
|
||||||
#
|
#
|
||||||
User awips
|
User awips
|
||||||
Group fxalpha
|
Group awips
|
||||||
|
|
||||||
# 'Main' server configuration
|
# 'Main' server configuration
|
||||||
#
|
#
|
||||||
|
|
|
@ -71,6 +71,6 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(777,awips,fxalpha,777)
|
%defattr(777,awips,awips,777)
|
||||||
%dir /awips2/edex/data/share/hydroapps
|
%dir /awips2/edex/data/share/hydroapps
|
||||||
/awips2/edex/data/share/hydroapps/*
|
/awips2/edex/data/share/hydroapps/*
|
||||||
|
|
|
@ -194,7 +194,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_java_build_loc}
|
rm -rf %{_java_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/java
|
%dir /awips2/java
|
||||||
%dir /awips2/java/bin
|
%dir /awips2/java/bin
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ rm -rf %{_java_build_loc}
|
||||||
|
|
||||||
/awips2/java/src.zip
|
/awips2/java/src.zip
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/java/bin/*
|
/awips2/java/bin/*
|
||||||
/awips2/java/lib/*
|
/awips2/java/lib/*
|
||||||
/awips2/java/jre/bin/*
|
/awips2/java/jre/bin/*
|
||||||
|
|
|
@ -178,7 +178,7 @@ rm -f %{_ldm_src_tar}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
chown -R ldm:fxalpha ${_ldm_dir}
|
chown -R ldm:awips ${_ldm_dir}
|
||||||
|
|
||||||
# create .bash_profile
|
# create .bash_profile
|
||||||
if [ ! -f /usr/local/ldm/.bash_profile ]; then
|
if [ ! -f /usr/local/ldm/.bash_profile ]; then
|
||||||
|
@ -188,7 +188,7 @@ if [ ! -f /usr/local/ldm/.bash_profile ]; then
|
||||||
/usr/local/ldm/.bash_profile
|
/usr/local/ldm/.bash_profile
|
||||||
echo 'export MANPATH=$HOME/share/man:/usr/share/man' >> \
|
echo 'export MANPATH=$HOME/share/man:/usr/share/man' >> \
|
||||||
/usr/local/ldm/.bash_profile
|
/usr/local/ldm/.bash_profile
|
||||||
/bin/chown ldm:fxalpha /usr/local/ldm/.bash_profile
|
/bin/chown ldm:awips /usr/local/ldm/.bash_profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd . > /dev/null 2>&1
|
pushd . > /dev/null 2>&1
|
||||||
|
@ -242,8 +242,8 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
/bin/chmod a+x ${_ldm_dir}/bin/*
|
/bin/chmod a+x ${_ldm_dir}/bin/*
|
||||||
/bin/chown ldm:fxalpha ${_ldm_root_dir}/bin
|
/bin/chown ldm:awips ${_ldm_root_dir}/bin
|
||||||
/bin/chown -R ldm:fxalpha ${_ldm_dir}/etc ${_ldm_dir}/decoders
|
/bin/chown -R ldm:awips ${_ldm_dir}/etc ${_ldm_dir}/decoders
|
||||||
popd > /dev/null 2>&1
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
# construct pqact
|
# construct pqact
|
||||||
|
@ -294,7 +294,7 @@ if [ $? -ne 0 ]; then
|
||||||
echo "FATAL: failed to remove edexBridge.tar and decrypt_file.tar!"
|
echo "FATAL: failed to remove edexBridge.tar and decrypt_file.tar!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
/bin/chown -R ldm:fxalpha ${_ldm_dir}/SOURCES
|
/bin/chown -R ldm:awips ${_ldm_dir}/SOURCES
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "FATAL: failed to change owner of ldm SOURCES directory."
|
echo "FATAL: failed to change owner of ldm SOURCES directory."
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -427,7 +427,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,ldm,fxalpha,-)
|
%defattr(-,ldm,awips,-)
|
||||||
%dir /usr/local/ldm
|
%dir /usr/local/ldm
|
||||||
%dir /usr/local/ldm/SOURCES
|
%dir /usr/local/ldm/SOURCES
|
||||||
/usr/local/ldm/SOURCES/*
|
/usr/local/ldm/SOURCES/*
|
||||||
|
|
|
@ -14,14 +14,14 @@ if [ "$myhost" = "cpsbn" ]; then
|
||||||
else
|
else
|
||||||
mknod /dev/p_LOG p
|
mknod /dev/p_LOG p
|
||||||
fi
|
fi
|
||||||
chmod 664 /dev/p_LOG && chgrp fxalpha /dev/p_LOG
|
chmod 664 /dev/p_LOG && chgrp awips /dev/p_LOG
|
||||||
|
|
||||||
if [ -p /dev/p_LOST ];then
|
if [ -p /dev/p_LOST ];then
|
||||||
echo "Pipe /dev/p_LOST exists"
|
echo "Pipe /dev/p_LOST exists"
|
||||||
else
|
else
|
||||||
mknod /dev/p_LOST p
|
mknod /dev/p_LOST p
|
||||||
fi
|
fi
|
||||||
chmod 664 /dev/p_LOST && chgrp fxalpha /dev/p_LOST
|
chmod 664 /dev/p_LOST && chgrp awips /dev/p_LOST
|
||||||
|
|
||||||
if [ -f /etc/profile.d/AWIPS.sh ];then
|
if [ -f /etc/profile.d/AWIPS.sh ];then
|
||||||
. /etc/profile.d/awips2.sh
|
. /etc/profile.d/awips2.sh
|
||||||
|
|
|
@ -50,7 +50,7 @@ function handle_ramdisk() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo -ne "Fixing Permissions:\t"
|
echo -ne "Fixing Permissions:\t"
|
||||||
if ! chown -R ldm:fxalpha /data/ldm/data && failure
|
if ! chown -R ldm:awips /data/ldm/data && failure
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
return 1
|
return 1
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
notifempty
|
notifempty
|
||||||
daily
|
daily
|
||||||
rotate 5
|
rotate 5
|
||||||
create 0660 root fxalpha
|
create 0660 root awips
|
||||||
postrotate
|
postrotate
|
||||||
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
|
|
|
@ -57,5 +57,5 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(755,awips,fxalpha,-)
|
%defattr(755,awips,awips,-)
|
||||||
/etc/profile.d/*
|
/etc/profile.d/*
|
||||||
|
|
|
@ -394,6 +394,6 @@ exit 0
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/edex/data/utility
|
%dir /awips2/edex/data/utility
|
||||||
/awips2/edex/data/utility/*
|
/awips2/edex/data/utility/*
|
||||||
|
|
|
@ -296,11 +296,11 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(666,awips,fxalpha,775)
|
%defattr(666,awips,awips,775)
|
||||||
%dir /awips2/database/sqlScripts/share/sql/maps
|
%dir /awips2/database/sqlScripts/share/sql/maps
|
||||||
/awips2/database/sqlScripts/share/sql/maps/maps.log
|
/awips2/database/sqlScripts/share/sql/maps/maps.log
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/database/sqlScripts/share/sql/maps/*.sh
|
/awips2/database/sqlScripts/share/sql/maps/*.sh
|
||||||
/awips2/database/sqlScripts/share/sql/maps/*.db
|
/awips2/database/sqlScripts/share/sql/maps/*.db
|
||||||
/awips2/database/sqlScripts/share/sql/maps/*.sql
|
/awips2/database/sqlScripts/share/sql/maps/*.sql
|
||||||
|
|
|
@ -283,108 +283,108 @@ exit 0
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,awips,fxalpha,-)
|
%defattr(-,awips,awips,-)
|
||||||
%dir /awips2/database/sqlScripts/share/sql/ncep
|
%dir /awips2/database/sqlScripts/share/sql/ncep
|
||||||
%attr(777,root,root) /awips2/database/sqlScripts/share/sql/ncep/ncep_sql_install.log
|
%attr(777,root,root) /awips2/database/sqlScripts/share/sql/ncep/ncep_sql_install.log
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/addNcepNwxAdminMessageGpTable.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/addNcepNwxAdminMessageGpTable.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepConfigTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepConfigTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepDb.sh
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepDb.sh
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepDb.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepDb.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepNcgribTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepNcgribTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepNwxTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepNwxTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepSatTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepSatTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepSchemas.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepSchemas.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/createNcepStnsTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/createNcepStnsTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/importNcepShapeFile.sh
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/importNcepShapeFile.sh
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/initializeNcepDb.sh
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/initializeNcepDb.sh
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadAirepWaypnts.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadAirepWaypnts.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadBuoys.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadBuoys.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCities.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCities.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadClimReg.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadClimReg.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCntyclst.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCntyclst.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCoastal.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCoastal.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadConfigClo.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadConfigClo.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCoordPts.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCoordPts.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCountynam.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCountynam.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCounty.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCounty.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadCpcstns.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadCpcstns.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadDlwx.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadDlwx.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadFfgzon.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadFfgzon.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadFirezones.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadFirezones.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadGeog.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadGeog.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadGfsmos.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadGfsmos.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadIdft.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadIdft.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadInactive.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadInactive.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadIntlsig.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadIntlsig.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadIsland.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadIsland.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadLsfstns.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadLsfstns.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadMardel.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadMardel.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadMarinenames.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadMarinenames.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadMarine.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadMarine.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadMsfstns.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadMsfstns.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadMzcntys.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadMzcntys.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNcepNwx.sh
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNcepNwx.sh
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNcepStns.sh
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNcepStns.sh
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNcSat.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNcSat.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNcStnsCountyclust.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNcStnsCountyclust.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNexrad.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNexrad.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNgmmos.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNgmmos.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxAdminMessagesBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxAdminMessagesBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxAviationforecastsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxAviationforecastsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxCPCProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxCPCProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxFlashFloodBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxFlashFloodBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxHPCHeatIndexBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxHPCHeatIndexBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxHPCProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxHPCProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxMarineBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxMarineBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxMasterAndGuiProducts.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxMasterAndGuiProducts.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxMOSBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxMOSBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxNHCProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxNHCProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxObservedDataBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxObservedDataBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxPtfcstProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxPtfcstProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxPublicProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxPublicProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxReconCARCAHBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxReconCARCAHBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxSPCProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxSPCProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxTropicalPacificBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxTropicalPacificBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadNwxVolcanoProductsBulletinTables.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadNwxVolcanoProductsBulletinTables.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadPermclust.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadPermclust.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadPirepNavaids.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadPirepNavaids.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadRiverbas.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadRiverbas.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadScdstn.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadScdstn.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSfstns.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSfstns.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP1.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP1.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP2.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP2.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP3.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP3.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP4.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP4.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShef_COOP.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShef_master.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShef_master.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadShpexception.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadShpexception.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSnap8.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSnap8.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSnap.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSnap.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSnstns.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSnstns.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSnworld.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSnworld.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSpcwatch.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSpcwatch.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadState.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadState.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadStns_II90.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadStns_II90.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSystns.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSystns.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadSyworld.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadSyworld.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTafstn.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTafstn.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_island.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_island.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_land.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_land.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkptlz.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkptlz.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_ovl.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_ovl.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_water.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTcabkpt_water.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTpc_countries.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTpc_countries.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadTpc_states.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadTpc_states.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadVcrdgrib1.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadVcrdgrib1.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadVolcano_small.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadVolcano_small.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadVolcano.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadVolcano.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadVors.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadVors.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadWfo.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadWfo.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadWrqpf.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadWrqpf.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadXrainsort.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadXrainsort.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadZones.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadZones.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/addUgcMzbnd.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/addUgcMzbnd.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/fixMzbnds.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/fixMzbnds.sql
|
||||||
%attr(755,awips,fxalpha) /awips2/database/sqlScripts/share/sql/ncep/loadClimodata.sql
|
%attr(755,awips,awips) /awips2/database/sqlScripts/share/sql/ncep/loadClimodata.sql
|
||||||
/awips2/database/sqlScripts/share/sql/ncep/shapefiles
|
/awips2/database/sqlScripts/share/sql/ncep/shapefiles
|
||||||
|
|
|
@ -116,7 +116,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_cdt_build_loc}
|
rm -rf %{_cdt_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/notification
|
%dir /awips2/notification
|
||||||
%dir /awips2/notification/include
|
%dir /awips2/notification/include
|
||||||
/awips2/notification/include/*
|
/awips2/notification/include/*
|
||||||
|
@ -128,6 +128,6 @@ rm -rf %{_cdt_build_loc}
|
||||||
%dir /awips2/notification/src
|
%dir /awips2/notification/src
|
||||||
/awips2/notification/src/*
|
/awips2/notification/src/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/notification/bin
|
%dir /awips2/notification/bin
|
||||||
/awips2/notification/bin/*
|
/awips2/notification/bin/*
|
||||||
|
|
|
@ -119,12 +119,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_pgadmin3_build_loc}
|
rm -rf %{_pgadmin3_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/pgadmin3
|
%dir /awips2/pgadmin3
|
||||||
%dir /awips2/pgadmin3/share
|
%dir /awips2/pgadmin3/share
|
||||||
/awips2/pgadmin3/share/*
|
/awips2/pgadmin3/share/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/pgadmin3/bin
|
%dir /awips2/pgadmin3/bin
|
||||||
/awips2/pgadmin3/bin/*
|
/awips2/pgadmin3/bin/*
|
||||||
|
|
|
@ -328,10 +328,10 @@ This is just the postgresql application. There is a separate rpm that will initi
|
||||||
and populate the AWIPS II databases.
|
and populate the AWIPS II databases.
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%attr(755,root,root) /etc/ld.so.conf.d/awips2-postgresql-%{_build_arch}.conf
|
%attr(755,root,root) /etc/ld.so.conf.d/awips2-postgresql-%{_build_arch}.conf
|
||||||
%attr(744,root,root) /etc/init.d/edex_postgres
|
%attr(744,root,root) /etc/init.d/edex_postgres
|
||||||
%attr(700,awips,fxalpha) /awips2/data
|
%attr(700,awips,awips) /awips2/data
|
||||||
%dir /awips2/postgresql
|
%dir /awips2/postgresql
|
||||||
%dir /awips2/postgresql/include
|
%dir /awips2/postgresql/include
|
||||||
/awips2/postgresql/include/*
|
/awips2/postgresql/include/*
|
||||||
|
@ -343,16 +343,16 @@ and populate the AWIPS II databases.
|
||||||
%dir /awips2/postgresql/share
|
%dir /awips2/postgresql/share
|
||||||
/awips2/postgresql/share/*
|
/awips2/postgresql/share/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/postgresql/bin
|
%dir /awips2/postgresql/bin
|
||||||
/awips2/postgresql/bin/*
|
/awips2/postgresql/bin/*
|
||||||
|
|
||||||
%files -n awips2-psql
|
%files -n awips2-psql
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/psql
|
%dir /awips2/psql
|
||||||
%dir /awips2/psql/bin
|
%dir /awips2/psql/bin
|
||||||
/awips2/psql/bin/*
|
/awips2/psql/bin/*
|
||||||
|
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/psql/lib
|
%dir /awips2/psql/lib
|
||||||
/awips2/psql/lib/*
|
/awips2/psql/lib/*
|
||||||
|
|
|
@ -67,7 +67,8 @@ mkdir -p ${RPM_BUILD_ROOT}/awips2/pypies/logs
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/pypies
|
%dir /awips2/pypies
|
||||||
/awips2/pypies/*
|
/awips2/pypies/*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
%dir /awips2/python/lib/python2.7/site-packages/pypies
|
||||||
|
/awips2/python/lib/python2.7/site-packages/pypies/*
|
||||||
|
|
|
@ -128,7 +128,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/rcm
|
%dir /awips2/rcm
|
||||||
%dir /awips2/rcm/data
|
%dir /awips2/rcm/data
|
||||||
/awips2/rcm/data/*
|
/awips2/rcm/data/*
|
||||||
|
@ -140,7 +140,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%dir /awips2/rcm/licenses
|
%dir /awips2/rcm/licenses
|
||||||
/awips2/rcm/licenses/*
|
/awips2/rcm/licenses/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/rcm/bin
|
%dir /awips2/rcm/bin
|
||||||
/awips2/rcm/bin/*
|
/awips2/rcm/bin/*
|
||||||
%dir /awips2/rcm/lib
|
%dir /awips2/rcm/lib
|
||||||
|
|
|
@ -151,7 +151,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_tools_build_loc}
|
rm -rf %{_tools_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/tools
|
%dir /awips2/tools
|
||||||
%dir /awips2/tools/include
|
%dir /awips2/tools/include
|
||||||
/awips2/tools/include/*
|
/awips2/tools/include/*
|
||||||
|
@ -161,6 +161,6 @@ rm -rf %{_tools_build_loc}
|
||||||
%dir /awips2/tools/licenses
|
%dir /awips2/tools/licenses
|
||||||
/awips2/tools/licenses/*
|
/awips2/tools/licenses/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/tools/bin
|
%dir /awips2/tools/bin
|
||||||
/awips2/tools/bin/*
|
/awips2/tools/bin/*
|
||||||
|
|
|
@ -70,7 +70,7 @@ done
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(664,awips,fxalpha,775)
|
%defattr(664,awips,awips,775)
|
||||||
%dir /awips2/edex/data/hdf5
|
%dir /awips2/edex/data/hdf5
|
||||||
%dir /awips2/edex/data/hdf5/topo
|
%dir /awips2/edex/data/hdf5/topo
|
||||||
/awips2/edex/data/hdf5/topo/*
|
/awips2/edex/data/hdf5/topo/*
|
||||||
|
|
|
@ -130,7 +130,7 @@ rm -f %{_topdir}/BUILD/%{_xmpp_server}-files.txt
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files -f %{_xmpp_server}-files.txt
|
%files -f %{_xmpp_server}-files.txt
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
|
|
||||||
%defattr(755,root,root,755)
|
%defattr(755,root,root,755)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/openfire
|
%dir /awips2/openfire
|
||||||
%dir /awips2/openfire/bin
|
%dir /awips2/openfire/bin
|
||||||
%dir /awips2/openfire/conf
|
%dir /awips2/openfire/conf
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
|
||||||
# executable files
|
# executable files
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/openfire/bin/openfire
|
/awips2/openfire/bin/openfire
|
||||||
/awips2/openfire/bin/extra/embedded-db-viewer.sh
|
/awips2/openfire/bin/extra/embedded-db-viewer.sh
|
||||||
/awips2/openfire/bin/extra/openfired
|
/awips2/openfire/bin/extra/openfired
|
||||||
|
|
|
@ -51,7 +51,7 @@ diff -crB openfire-a/bin/extra/redhat-postinstall.sh openfire-b/bin/extra/redhat
|
||||||
! OPENFIRE_HOME=/awips2/openfire
|
! OPENFIRE_HOME=/awips2/openfire
|
||||||
|
|
||||||
! OPENFIRE_USER="awips"
|
! OPENFIRE_USER="awips"
|
||||||
! OPENFIRE_GROUP="fxalpha"
|
! OPENFIRE_GROUP="awips"
|
||||||
|
|
||||||
if [ ! $OPENFIRE_HOME ]; then
|
if [ ! $OPENFIRE_HOME ]; then
|
||||||
if [ -d "/opt/openfire" ]; then
|
if [ -d "/opt/openfire" ]; then
|
||||||
|
|
|
@ -68,13 +68,13 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/yajsw
|
%dir /awips2/yajsw
|
||||||
/awips2/yajsw/*.jar
|
/awips2/yajsw/*.jar
|
||||||
/awips2/yajsw/*.txt
|
/awips2/yajsw/*.txt
|
||||||
%dir /awips2/yajsw/lib
|
%dir /awips2/yajsw/lib
|
||||||
/awips2/yajsw/lib/*
|
/awips2/yajsw/lib/*
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/yajsw/scripts
|
%dir /awips2/yajsw/scripts
|
||||||
/awips2/yajsw/scripts/*.sh
|
/awips2/yajsw/scripts/*.sh
|
||||||
|
|
Binary file not shown.
|
@ -89,6 +89,6 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
/awips2/edex/*
|
/awips2/edex/*
|
||||||
|
|
|
@ -154,7 +154,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
%dir /awips2/edex/bin
|
%dir /awips2/edex/bin
|
||||||
|
@ -169,5 +169,5 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%dir /awips2/edex/logs
|
%dir /awips2/edex/logs
|
||||||
%dir /awips2/edex/webapps
|
%dir /awips2/edex/webapps
|
||||||
%config(noreplace) /awips2/edex/bin/setup.env
|
%config(noreplace) /awips2/edex/bin/setup.env
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/edex/bin/*.sh
|
/awips2/edex/bin/*.sh
|
||||||
|
|
|
@ -131,10 +131,10 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
%dir /awips2/edex/conf
|
%dir /awips2/edex/conf
|
||||||
/awips2/edex/*
|
/awips2/edex/*
|
||||||
%defattr(755,awips,fxalpha,-)
|
%defattr(755,awips,awips,-)
|
||||||
/awips2/edex/scripts/*
|
/awips2/edex/scripts/*
|
||||||
|
|
|
@ -83,10 +83,10 @@
|
||||||
***************
|
***************
|
||||||
*** 87,90 ****
|
*** 87,90 ****
|
||||||
--- 134,140 ----
|
--- 134,140 ----
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
+ %dir /awips2/edex/conf
|
+ %dir /awips2/edex/conf
|
||||||
/awips2/edex/*
|
/awips2/edex/*
|
||||||
+ %defattr(755,awips,fxalpha,-)
|
+ %defattr(755,awips,awips,-)
|
||||||
+ /awips2/edex/scripts/*
|
+ /awips2/edex/scripts/*
|
||||||
|
|
|
@ -95,7 +95,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(775,awips,fxalpha,755)
|
%defattr(775,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
/awips2/edex/*
|
/awips2/edex/*
|
||||||
|
|
|
@ -226,11 +226,11 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
|
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/edex/bin
|
%dir /awips2/edex/bin
|
||||||
/awips2/edex/bin/*.sh
|
/awips2/edex/bin/*.sh
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(775,awips,fxalpha,755)
|
%defattr(775,awips,awips,755)
|
||||||
%dir /awips2
|
%dir /awips2
|
||||||
%dir /awips2/edex
|
%dir /awips2/edex
|
||||||
/awips2/edex/*
|
/awips2/edex/*
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Name: awips2-edex-upc
|
Name: awips2-edex-upc
|
||||||
Summary: AWIPS II UPC EDEX Tools
|
Summary: AWIPS II UPC EDEX Tools
|
||||||
Version: %{_component_version}
|
Version: %{_component_version}
|
||||||
Release: %{_component_release}
|
Release: %{_component_release}%{?dist}
|
||||||
Group: AWIPSII
|
Group: AWIPSII
|
||||||
BuildRoot: /tmp
|
BuildRoot: /tmp
|
||||||
BuildRoot: %{_build_root}
|
BuildRoot: %{_build_root}
|
||||||
|
@ -62,9 +62,9 @@ mkdir -p ${RPM_BUILD_ROOT}/awips2/tools/bin
|
||||||
rm -rf ${RPM_BUILD_ROOT}/*
|
rm -rf ${RPM_BUILD_ROOT}/*
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%attr(755,awips,fxalpha) /awips2/tools/bin/edex
|
%attr(755,awips,awips) /awips2/tools/bin/edex
|
||||||
%attr(755,awips,fxalpha) /awips2/tools/bin/arinfo
|
%attr(755,awips,awips) /awips2/tools/bin/arinfo
|
||||||
%attr(755,awips,fxalpha) /awips2/tools/bin/areas
|
%attr(755,awips,awips) /awips2/tools/bin/areas
|
||||||
%attr(755,awips,fxalpha) /awips2/tools/bin/wgrib
|
%attr(755,awips,awips) /awips2/tools/bin/wgrib
|
||||||
%attr(755,awips,fxalpha) /awips2/tools/bin/wgrib2
|
%attr(755,awips,awips) /awips2/tools/bin/wgrib2
|
||||||
%attr(644,awips,fxalpha) /awips2/tools/bin/sat/imgtyp.tbl
|
%attr(644,awips,awips) /awips2/tools/bin/sat/imgtyp.tbl
|
||||||
|
|
|
@ -245,7 +245,7 @@ edex_ipexit() { # abandon ip editing, post msg to guide manual edits
|
||||||
#echo -e ' fully-qualified hostname of your machine.\n'
|
#echo -e ' fully-qualified hostname of your machine.\n'
|
||||||
echo -e ' Special notes:'
|
echo -e ' Special notes:'
|
||||||
echo -e ' '$PG_FILE' *must* contain your subdomain.'
|
echo -e ' '$PG_FILE' *must* contain your subdomain.'
|
||||||
echo -e ' '$PY_FILE' *must* contain "Group fxalpha", not "Group awips"'
|
echo -e ' '$PY_FILE' *must* contain "Group awips", not "Group awips"'
|
||||||
echo ''
|
echo ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
Name: awips2-ldm
|
Name: awips2-ldm
|
||||||
Summary: AWIPS II LDM Distribution
|
Summary: AWIPS II LDM Distribution
|
||||||
Version: %{_component_version}.%{_component_release}
|
Version: %{_component_version}.%{_component_release}
|
||||||
Release: %{_ldm_version}
|
Release: %{_ldm_version}%{?dist}
|
||||||
Group: AWIPSII
|
Group: AWIPSII
|
||||||
BuildRoot: /tmp
|
BuildRoot: /tmp
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
@ -233,13 +233,13 @@ if [ $? -ne 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if getent passwd awips &>/dev/null; then
|
if getent passwd awips &>/dev/null; then
|
||||||
/bin/chown -R awips:fxalpha ${_ldm_dir} /awips2/data_store
|
/bin/chown -R awips:awips ${_ldm_dir} /awips2/data_store
|
||||||
cd /awips2/ldm/src/
|
cd /awips2/ldm/src/
|
||||||
make install_setuids
|
make install_setuids
|
||||||
else
|
else
|
||||||
echo "--- Warning: group fxalpha does not exist"
|
echo "--- Warning: group awips does not exist"
|
||||||
echo "--- you will need to check owner/group/permissions for /awips2/ldm"
|
echo "--- you will need to check owner/group/permissions for /awips2/ldm"
|
||||||
echo "tried to run 'chown -R awips:fxalpha /awips2/ldm; cd /awips2/ldm/src/; make install_setuids'"
|
echo "tried to run 'chown -R awips:awips /awips2/ldm; cd /awips2/ldm/src/; make install_setuids'"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -293,10 +293,10 @@ fi
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,awips,fxalpha,-)
|
%defattr(-,awips,awips,-)
|
||||||
%dir /awips2/ldm
|
%dir /awips2/ldm
|
||||||
%dir /awips2/ldm/SOURCES
|
%dir /awips2/ldm/SOURCES
|
||||||
/awips2/ldm/SOURCES/*
|
/awips2/ldm/SOURCES/*
|
||||||
%attr(755,root,root) /etc/init.d/edex_ldm
|
%attr(755,root,root) /etc/init.d/edex_ldm
|
||||||
%attr(600,awips,fxalpha) /var/spool/cron/awips
|
%attr(600,awips,awips) /var/spool/cron/awips
|
||||||
%attr(755,root,root) /etc/logrotate.d/ldm.log
|
%attr(755,root,root) /etc/logrotate.d/ldm.log
|
||||||
|
|
|
@ -14,14 +14,14 @@ if [ "$myhost" = "cpsbn" ]; then
|
||||||
else
|
else
|
||||||
mknod /dev/p_LOG p
|
mknod /dev/p_LOG p
|
||||||
fi
|
fi
|
||||||
chmod 664 /dev/p_LOG && chgrp fxalpha /dev/p_LOG
|
chmod 664 /dev/p_LOG && chgrp awips /dev/p_LOG
|
||||||
|
|
||||||
if [ -p /dev/p_LOST ];then
|
if [ -p /dev/p_LOST ];then
|
||||||
echo "Pipe /dev/p_LOST exists"
|
echo "Pipe /dev/p_LOST exists"
|
||||||
else
|
else
|
||||||
mknod /dev/p_LOST p
|
mknod /dev/p_LOST p
|
||||||
fi
|
fi
|
||||||
chmod 664 /dev/p_LOST && chgrp fxalpha /dev/p_LOST
|
chmod 664 /dev/p_LOST && chgrp awips /dev/p_LOST
|
||||||
|
|
||||||
if [ -f /etc/rc.config.d/AWIPS ];then
|
if [ -f /etc/rc.config.d/AWIPS ];then
|
||||||
. /etc/rc.config.d/AWIPS
|
. /etc/rc.config.d/AWIPS
|
||||||
|
|
|
@ -77,12 +77,17 @@ function lookupRPM()
|
||||||
export RPM_SPECIFICATION="${installer_dir}/pyparsing/"
|
export RPM_SPECIFICATION="${installer_dir}/pyparsing/"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
if [ "${1}" = "awips2-python-gfe" ]; then
|
||||||
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.gfe"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
if [ "${1}" = "awips2-python-nose" ]; then
|
if [ "${1}" = "awips2-python-nose" ]; then
|
||||||
export RPM_SPECIFICATION="${python_site__dir}/Installer.nose"
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.nose"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
if [ "${1}" = "awips2-python-numpy" ]; then
|
if [ "${1}" = "awips2-python-numpy" ]; then
|
||||||
export RPM_SPECIFICATION="${installer_dir}/numpy/"
|
#export RPM_SPECIFICATION="${installer_dir}/numpy/"
|
||||||
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.numpy"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
if [ "${1}" = "awips2-python-jep" ]; then
|
if [ "${1}" = "awips2-python-jep" ]; then
|
||||||
|
@ -93,6 +98,10 @@ function lookupRPM()
|
||||||
export RPM_SPECIFICATION="${python_site__dir}/Installer.pmw"
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.pmw"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
if [ "${1}" = "awips2-python-pil" ]; then
|
||||||
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.pil"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
if [ "${1}" = "awips2-python-pupynere" ]; then
|
if [ "${1}" = "awips2-python-pupynere" ]; then
|
||||||
export RPM_SPECIFICATION="${python_site__dir}/Installer.pupynere"
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.pupynere"
|
||||||
return 0
|
return 0
|
||||||
|
@ -141,12 +150,6 @@ function lookupRPM()
|
||||||
export RPM_SPECIFICATION="${python_site__dir}/Installer.cycler"
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.cycler"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
if [ "${1}" = "awips2-python-dateutil" ]; then
|
|
||||||
export RPM_SPECIFICATION="${python_site__dir}/Installer.dateutil"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ "${1}" = "awips2-python-tables" ]; then
|
if [ "${1}" = "awips2-python-tables" ]; then
|
||||||
export RPM_SPECIFICATION="${python_site__dir}/Installer.tables"
|
export RPM_SPECIFICATION="${python_site__dir}/Installer.tables"
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -109,9 +109,8 @@ fi
|
||||||
if [ "${1}" = "-pydev" ]; then
|
if [ "${1}" = "-pydev" ]; then
|
||||||
#buildRPM "awips2-python"
|
#buildRPM "awips2-python"
|
||||||
#buildRPM "awips2-python-scientific"
|
#buildRPM "awips2-python-scientific"
|
||||||
buildRPM "awips2-python-awips"
|
#buildRPM "awips2-python-awips"
|
||||||
#buildRPM "awips2-python-jep"
|
#buildRPM "awips2-python-jep"
|
||||||
#buildRPM "awips2-python-gfe"
|
|
||||||
#buildRPM "awips2-python-numpy"
|
#buildRPM "awips2-python-numpy"
|
||||||
#buildRPM "awips2-python-pyparsing"
|
#buildRPM "awips2-python-pyparsing"
|
||||||
#buildRPM "awips2-python-six"
|
#buildRPM "awips2-python-six"
|
||||||
|
@ -119,19 +118,32 @@ if [ "${1}" = "-pydev" ]; then
|
||||||
#buildRPM "awips2-python-h5py"
|
#buildRPM "awips2-python-h5py"
|
||||||
#buildRPM "awips2-pypies"
|
#buildRPM "awips2-pypies"
|
||||||
|
|
||||||
|
#buildRPM "awips2-python-setuptools"
|
||||||
|
#buildRPM "awips2-python-gfe"
|
||||||
#buildRPM "awips2-python-cycler"
|
#buildRPM "awips2-python-cycler"
|
||||||
#buildRPM "awips2-python-shapely"
|
|
||||||
#buildRPM "awips2-python-cython"
|
#buildRPM "awips2-python-cython"
|
||||||
|
#buildRPM "awips2-python-shapely"
|
||||||
|
|
||||||
|
|
||||||
#buildRPM "awips2-python-metpy"
|
#buildRPM "awips2-python-metpy"
|
||||||
#buildRPM "awips2-python-cartopy"
|
|
||||||
#buildRPM "awips2-python-scipy"
|
#buildRPM "awips2-python-scipy"
|
||||||
#buildRPM "awips2-python-matplotlib"
|
##buildRPM "awips2-python-matplotlib"
|
||||||
#buildRPM "awips2-python-basemap"
|
##buildRPM "awips2-python-basemap"
|
||||||
|
|
||||||
# DONE
|
# DONE
|
||||||
|
#buildRPM "awips2-python-cartopy"
|
||||||
#buildRPM "awips2-python-pint"
|
#buildRPM "awips2-python-pint"
|
||||||
#buildRPM "awips2-python-dateutil"
|
#buildRPM "awips2-python-dateutil"
|
||||||
|
#buildRPM "awips2-python-cherrypy"
|
||||||
|
##buildRPM "awips2-python-pil"
|
||||||
|
#buildRPM "awips2-python-pmw"
|
||||||
|
#buildRPM "awips2-python-pupynere"
|
||||||
|
#buildRPM "awips2-python-tables"
|
||||||
|
#buildRPM "awips2-python-tpg"
|
||||||
|
#buildRPM "awips2-python-werkzeug"
|
||||||
|
##buildRPM "awips2-python-pygtk"
|
||||||
|
#buildRPM "awips2-python-pycairo"
|
||||||
|
#buildRPM "awips2-notification"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -304,12 +316,14 @@ if [ "${1}" = "-maps" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${1}" = "-database" ]; then
|
if [ "${1}" = "-database" ]; then
|
||||||
|
buildRPM "awips2-postgresql" # this builds awips2-psql too
|
||||||
#buildRPM "awips2-pypies"
|
#buildRPM "awips2-pypies"
|
||||||
#buildRPM "awips2-cli"
|
#buildRPM "awips2-cli"
|
||||||
#buildRPM "awips2-edex-environment"
|
#buildRPM "awips2-edex-environment"
|
||||||
#buildRPM "awips2-edex-configuration"
|
#buildRPM "awips2-edex-configuration"
|
||||||
buildRPM "awips2-tools"
|
#buildRPM "awips2-tools"
|
||||||
#buildRPM "awips2-notification"
|
#buildRPM "awips2-notification"
|
||||||
|
|
||||||
#buildRPM "awips2-database"
|
#buildRPM "awips2-database"
|
||||||
#buildRPM "awips2-database-standalone-configuration"
|
#buildRPM "awips2-database-standalone-configuration"
|
||||||
#buildRPM "awips2-maps-database"
|
#buildRPM "awips2-maps-database"
|
||||||
|
@ -318,7 +332,7 @@ if [ "${1}" = "-database" ]; then
|
||||||
#buildRPM "awips2-gfesuite-server"
|
#buildRPM "awips2-gfesuite-server"
|
||||||
#buildRPM "awips2-data.hdf5-topo"
|
#buildRPM "awips2-data.hdf5-topo"
|
||||||
#buildRPM "awips2-data.gfe"
|
#buildRPM "awips2-data.gfe"
|
||||||
#buildRPM "awips2-python-pytz"
|
buildRPM "awips2-python-pytz"
|
||||||
#buildRPM "awips2-python-setuptools"
|
#buildRPM "awips2-python-setuptools"
|
||||||
#buildRPM "awips2-maven"
|
#buildRPM "awips2-maven"
|
||||||
#buildRPM "awips2-eclipse"
|
#buildRPM "awips2-eclipse"
|
||||||
|
@ -364,7 +378,7 @@ if [ "${1}" = "-delta" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${1}" = "-java" ]; then
|
if [ "${1}" = "-java" ]; then
|
||||||
buildJava
|
buildRPM "awips2-java"
|
||||||
fi
|
fi
|
||||||
if [ "${1}" = "-local" ]; then
|
if [ "${1}" = "-local" ]; then
|
||||||
buildLocalizationRPMs
|
buildLocalizationRPMs
|
||||||
|
@ -587,6 +601,122 @@ if [ "${1}" = "-viz" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${1}" = "-el7" ]; then
|
||||||
|
unpackHttpdPypies
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
buildRPM "awips2-httpd-pypies"
|
||||||
|
exit 0
|
||||||
|
#buildRPM "awips2-postgresql"
|
||||||
|
#buildRPM "awips2-cli"
|
||||||
|
#buildRPM "awips2-yajsw"
|
||||||
|
#buildRPM "awips2-edex-environment"
|
||||||
|
#buildRPM "awips2-edex-configuration"
|
||||||
|
#buildRPM "awips2-tools"
|
||||||
|
#buildRPM "awips2-notification"
|
||||||
|
|
||||||
|
#buildRPM "awips2-database"
|
||||||
|
#buildRPM "awips2-database-standalone-configuration"
|
||||||
|
#buildRPM "awips2-maps-database"
|
||||||
|
#buildRPM "awips2-ncep-database"
|
||||||
|
#buildRPM "awips2-gfesuite-client"
|
||||||
|
#buildRPM "awips2-gfesuite-server"
|
||||||
|
#buildRPM "awips2-data.hdf5-topo"
|
||||||
|
#buildRPM "awips2-data.gfe"
|
||||||
|
|
||||||
|
buildRPM "awips2-python"
|
||||||
|
buildRPM "awips2-python-awips"
|
||||||
|
#buildRPM "awips2-python-basemap"
|
||||||
|
#buildRPM "awips2-python-cartopy"
|
||||||
|
#buildRPM "awips2-python-cycler"
|
||||||
|
buildRPM "awips2-python-cython"
|
||||||
|
#buildRPM "awips2-python-dateutil"
|
||||||
|
buildRPM "awips2-python-gfe"
|
||||||
|
buildRPM "awips2-python-h5py"
|
||||||
|
buildRPM "awips2-python-jep"
|
||||||
|
exit 0
|
||||||
|
buildRPM "awips2-python-metpy"
|
||||||
|
buildRPM "awips2-python-matplotlib"
|
||||||
|
buildRPM "awips2-python-nose"
|
||||||
|
buildRPM "awips2-python-numpy"
|
||||||
|
buildRPM "awips2-python-pint"
|
||||||
|
buildRPM "awips2-python-pyparsing"
|
||||||
|
buildRPM "awips2-python-pytz"
|
||||||
|
buildRPM "awips2-python-qpid"
|
||||||
|
buildRPM "awips2-python-setuptools"
|
||||||
|
buildRPM "awips2-python-scientific"
|
||||||
|
buildRPM "awips2-python-scipy"
|
||||||
|
buildRPM "awips2-python-six"
|
||||||
|
buildRPM "awips2-python-shapely"
|
||||||
|
buildRPM "awips2-pypies"
|
||||||
|
buildRPM "awips2-qpid-lib"
|
||||||
|
buildRPM "awips2-qpid-java"
|
||||||
|
buildRPM "awips2-qpid-java-broker"
|
||||||
|
buildRPM "awips2-ldm"
|
||||||
|
buildRPM "awips2-edex-upc"
|
||||||
|
buildRPM "awips2"
|
||||||
|
buildRPM "awips2-common-base"
|
||||||
|
#buildEDEX
|
||||||
|
#buildShapefiles
|
||||||
|
#buildRPM "awips2-maven"
|
||||||
|
#buildRPM "awips2-eclipse"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${1}" = "-py" ]; then
|
||||||
|
#buildRPM "awips2-notification"
|
||||||
|
|
||||||
|
#buildRPM "awips2-database"
|
||||||
|
#buildRPM "awips2-database-standalone-configuration"
|
||||||
|
#buildRPM "awips2-maps-database"
|
||||||
|
#buildRPM "awips2-ncep-database"
|
||||||
|
#buildRPM "awips2-gfesuite-client"
|
||||||
|
#buildRPM "awips2-gfesuite-server"
|
||||||
|
#buildRPM "awips2-data.hdf5-topo"
|
||||||
|
#buildRPM "awips2-data.gfe"
|
||||||
|
|
||||||
|
#buildRPM "awips2-qpid-lib"
|
||||||
|
#buildRPM "awips2-qpid-java"
|
||||||
|
#buildRPM "awips2-qpid-java-broker"
|
||||||
|
|
||||||
|
#buildRPM "awips2-cli"
|
||||||
|
#buildRPM "awips2-tools"
|
||||||
|
#buildRPM "awips2-database-standalone-configuration"
|
||||||
|
#buildRPM "awips2-edex-upc"
|
||||||
|
#buildRPM "awips2-ldm"
|
||||||
|
#buildRPM "awips2-pypies"
|
||||||
|
#buildRPM "awips2-python-matplotlib"
|
||||||
|
#buildRPM "awips2-python-gfe"
|
||||||
|
#buildRPM "awips2-python-pupynere"
|
||||||
|
#buildRPM "awips2-python-tpg"
|
||||||
|
#buildRPM "awips2-python-werkzeug"
|
||||||
|
#buildRPM "awips2-python-nose"
|
||||||
|
#buildRPM "awips2-python-pmw"
|
||||||
|
#buildRPM "awips2-python-metpy"
|
||||||
|
#buildRPM "awips2-python-qpid"
|
||||||
|
#buildRPM "awips2-python-cython"
|
||||||
|
#buildRPM "awips2-python-cycler"
|
||||||
|
#buildRPM "awips2-python-dateutil"
|
||||||
|
#buildRPM "awips2-python-pint"
|
||||||
|
#buildRPM "awips2-python-pil"
|
||||||
|
#buildRPM "awips2-python-pycairo"
|
||||||
|
#buildRPM "awips2-python-pygtk"
|
||||||
|
#buildRPM "awips2-python-setuptools"
|
||||||
|
#buildRPM "awips2-yajsw"
|
||||||
|
#buildRPM "awips2-python-scientific"
|
||||||
|
#buildRPM "awips2-python-numpy"
|
||||||
|
#buildRPM "awips2-python-scipy"
|
||||||
|
#buildRPM "awips2-python-pytz"
|
||||||
|
#buildRPM "awips2-python-shapely"
|
||||||
|
#buildRPM "awips2-python-tables"
|
||||||
|
#buildRPM "awips2-python-six"
|
||||||
|
#buildRPM "awips2-python-h5py"
|
||||||
|
#buildRPM "awips2-python-jep"
|
||||||
|
#buildRPM "awips2-python-awips"
|
||||||
|
#buildRPM "awips2-python-pyparsing"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${1}" = "-shp" ]; then
|
if [ "${1}" = "-shp" ]; then
|
||||||
buildShapefiles
|
buildShapefiles
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -627,14 +757,15 @@ if [ "${1}" = "-custom" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${1}" = "-qpid" ]; then
|
if [ "${1}" = "-qpid" ]; then
|
||||||
buildRPM "awips2-python-qpid"
|
#buildRPM "awips2-python-qpid"
|
||||||
buildQPID
|
#buildRPM "awips2-qpid-lib"
|
||||||
if [ $? -ne 0 ]; then
|
#buildRPM "awips2-qpid-java"
|
||||||
exit 1
|
#buildRPM "awips2-qpid-java-broker"
|
||||||
fi
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ "${1}" = "-ldm" ]; then
|
if [ "${1}" = "-ldm" ]; then
|
||||||
buildRPM "awips2-ldm"
|
buildRPM "awips2-ldm"
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,75 @@ function buildRPM()
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
function buildJava()
|
||||||
|
{
|
||||||
|
pushd . > /dev/null 2>&1
|
||||||
|
|
||||||
|
cd ${WORKSPACE}/rpms/awips2.core/Installer.java
|
||||||
|
/bin/bash build.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd > /dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
function buildQPID()
|
||||||
|
{
|
||||||
|
# Arguments:
|
||||||
|
# ${1} == optionally -ade
|
||||||
|
|
||||||
|
pushd . > /dev/null 2>&1
|
||||||
|
|
||||||
|
# ensure that the destination rpm directories exist
|
||||||
|
if [ ! -d ${AWIPSII_TOP_DIR}/RPMS/noarch ]; then
|
||||||
|
mkdir -p ${AWIPSII_TOP_DIR}/RPMS/noarch
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ensure that the destination rpm directories exist
|
||||||
|
if [ ! -d ${AWIPSII_TOP_DIR}/RPMS/x86_64 ]; then
|
||||||
|
mkdir -p ${AWIPSII_TOP_DIR}/RPMS/x86_64
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ${WORKSPACE}/installers/RPMs/qpid-lib
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build the qpid rpms."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
pwd
|
||||||
|
|
||||||
|
/bin/bash build.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build the qpid rpms."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
#build
|
||||||
|
export AWIPS_II_TOP_DIR
|
||||||
|
cd ${WORKSPACE}/installers/RPMs/qpid-java-broker/
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build Qpid Broker"
|
||||||
|
echo "could not cd to ${WORKSPACE}/installers/RPMs/qpid-java-broker/"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
/bin/bash build.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build Qpid Broker"
|
||||||
|
echo "build.sh failed"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
function unpackHttpdPypies()
|
function unpackHttpdPypies()
|
||||||
{
|
{
|
||||||
# This function will unpack the httpd-pypies SOURCES
|
# This function will unpack the httpd-pypies SOURCES
|
||||||
|
|
|
@ -113,6 +113,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -114,6 +114,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Turn off the brp-python-bytecompile script
|
# Turn off the brp-python-bytecompile script
|
||||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||||
%define _build_arch %(uname -i)
|
%define _build_arch %(uname -i)
|
||||||
%define _installed_python %(if [ -f /awips2/python/bin/python ]; then /awips2/python/bin/python -c 'import sys; print(".".join(map(str, sys.version_info[:3])))'; else echo 0; fi)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# AWIPS II Python cherrypy Site-Package Spec File
|
# AWIPS II Python cherrypy Site-Package Spec File
|
||||||
|
@ -67,7 +66,7 @@ cd %{_baseline_workspace}/${SITE_PACKAGE_SRC_DIR}
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/python/bin/*
|
/awips2/python/bin/*
|
||||||
|
|
|
@ -111,6 +111,5 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
/awips2/python/lib/python2.7/site-packages/cycler*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
|
||||||
|
|
|
@ -111,9 +111,12 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
#%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/Cython*
|
||||||
%defattr(755,awips,fxalpha,755)
|
/awips2/python/lib/python2.7/site-packages/cython*
|
||||||
%dir /awips2/python/bin
|
/awips2/python/lib/python2.7/site-packages/pyximport*
|
||||||
/awips2/python/bin/*
|
%defattr(755,awips,awips,755)
|
||||||
|
/awips2/python/bin/cygdb
|
||||||
|
/awips2/python/bin/cython
|
||||||
|
/awips2/python/bin/cythonize
|
||||||
|
|
|
@ -99,6 +99,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -72,6 +72,6 @@ fi
|
||||||
rm -rf %{_build_root}
|
rm -rf %{_build_root}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -85,6 +85,7 @@ fi
|
||||||
rm -rf %{_build_root}
|
rm -rf %{_build_root}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
#%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/vtec*
|
||||||
|
/awips2/python/lib/python2.7/site-packages/gfe*
|
||||||
|
|
|
@ -191,6 +191,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib
|
%dir /awips2/python/lib
|
||||||
/awips2/python/lib/*
|
/awips2/python/lib/*
|
||||||
|
|
|
@ -63,6 +63,6 @@ fi
|
||||||
rm -rf %{_build_root}
|
rm -rf %{_build_root}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
#
|
#
|
||||||
Name: awips2-python-metpy
|
Name: awips2-python-metpy
|
||||||
Summary: AWIPS II Python metpy Distribution
|
Summary: AWIPS II Python metpy Distribution
|
||||||
Version: 0.3.0
|
Version: 0.3.1
|
||||||
Release: 2
|
Release: 1%{?dist}
|
||||||
Group: AWIPSII
|
Group: AWIPSII
|
||||||
BuildRoot: %{_build_root}
|
BuildRoot: %{_build_root}
|
||||||
BuildArch: %{_build_arch}
|
BuildArch: %{_build_arch}
|
||||||
|
@ -81,6 +81,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
/awips2/python/lib/python2.7/site-packages/metpy*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/MetPy*
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
%define _build_arch %(uname -i)
|
%define _build_arch %(uname -i)
|
||||||
%define _python_pkgs_dir "%{_baseline_workspace}/pythonPackages"
|
%define _python_pkgs_dir "%{_baseline_workspace}/pythonPackages"
|
||||||
%define _python_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
%define _python_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
%define _installed_python %(if [ -f /awips2/python/bin/python ]; then /awips2/python/bin/python -c 'import sys; print(".".join(map(str, sys.version_info[:3])))'; else echo 0; fi)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# AWIPS II Python nose Spec File
|
# AWIPS II Python nose Spec File
|
||||||
|
@ -86,11 +85,8 @@ rm -rf %{_python_build_loc}
|
||||||
rm -rf %{_build_root}
|
rm -rf %{_build_root}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
/awips2/python/lib/python2.7/site-packages/nose*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/man/man1/nosetests.1
|
||||||
%dir /awips2/python/man
|
%defattr(755,awips,awips,755)
|
||||||
/awips2/python/man/*
|
/awips2/python/bin/nosetests*
|
||||||
%defattr(755,awips,fxalpha,755)
|
|
||||||
%dir /awips2/python/bin
|
|
||||||
/awips2/python/bin/*
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
Name: awips2-python-numpy
|
Name: awips2-python-numpy
|
||||||
Summary: AWIPS II Python numpy Distribution
|
Summary: AWIPS II Python numpy Distribution
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 1
|
Release: 1%{?dist}
|
||||||
Group: AWIPSII
|
Group: AWIPSII
|
||||||
BuildRoot: %{_build_root}
|
BuildRoot: %{_build_root}
|
||||||
BuildArch: %{_build_arch}
|
BuildArch: %{_build_arch}
|
||||||
|
@ -20,9 +20,9 @@ Vendor: Unidata
|
||||||
Packager: Michael James
|
Packager: Michael James
|
||||||
|
|
||||||
AutoReq: no
|
AutoReq: no
|
||||||
BuildRequires: subversion
|
BuildRequires: atlas, atlas-devel, subversion
|
||||||
requires: compat-libf2c-34(x86-64) >= 3.4.6-19.el6
|
requires: compat-libf2c-34(x86-64)
|
||||||
requires: libgfortran(x86-64) >= 4.4.7-3.el6
|
requires: libgfortran(x86-64)
|
||||||
requires: awips2-python
|
requires: awips2-python
|
||||||
requires: awips2-python-nose
|
requires: awips2-python-nose
|
||||||
provides: awips2-python-numpy
|
provides: awips2-python-numpy
|
||||||
|
@ -47,6 +47,7 @@ fi
|
||||||
mkdir -p %{_python_build_loc}
|
mkdir -p %{_python_build_loc}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib64
|
||||||
NUMPY_SRC_DIR="%{_python_pkgs_dir}/numpy"
|
NUMPY_SRC_DIR="%{_python_pkgs_dir}/numpy"
|
||||||
NUMPY_TAR="numpy-%{version}.tar.gz"
|
NUMPY_TAR="numpy-%{version}.tar.gz"
|
||||||
NUMPY_PATCH="numpy.patch1"
|
NUMPY_PATCH="numpy.patch1"
|
||||||
|
@ -126,9 +127,9 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/python/bin
|
%dir /awips2/python/bin
|
||||||
/awips2/python/bin/*
|
/awips2/python/bin/*
|
||||||
|
|
|
@ -84,9 +84,7 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
/awips2/python/lib/python2.7/site-packages/PIL*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
%defattr(755,awips,awips,755)
|
||||||
%defattr(755,awips,fxalpha,755)
|
/awips2/python/bin/pil*
|
||||||
%dir /awips2/python/bin
|
|
||||||
/awips2/python/bin/*
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ fi
|
||||||
|
|
||||||
export BLAS=/awips2/python/lib
|
export BLAS=/awips2/python/lib
|
||||||
export LAPACK=/awips2/python/lib
|
export LAPACK=/awips2/python/lib
|
||||||
source /etc/profile.d/awips2.sh
|
. /etc/profile.d/awips2.sh
|
||||||
RC=$?
|
RC=$?
|
||||||
if [ ${RC} -ne 0 ]; then
|
if [ ${RC} -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -98,6 +98,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
/awips2/python/lib/python2.7/site-packages/pint*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/Pint*
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
%define _build_arch %(uname -i)
|
%define _build_arch %(uname -i)
|
||||||
%define _python_pkgs_dir "%{_baseline_workspace}/pythonPackages"
|
%define _python_pkgs_dir "%{_baseline_workspace}/pythonPackages"
|
||||||
%define _python_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
%define _python_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
%define _installed_python %(if [ -f /awips2/python/bin/python ]; then /awips2/python/bin/python -c 'import sys; print(".".join(map(str, sys.version_info[:3])))'; else echo 0; fi)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# AWIPS II Python pmw Spec File
|
# AWIPS II Python pmw Spec File
|
||||||
|
@ -21,7 +20,7 @@ Vendor: Raytheon
|
||||||
Packager: %{_build_site}
|
Packager: %{_build_site}
|
||||||
|
|
||||||
AutoReq: no
|
AutoReq: no
|
||||||
Requires: awips2-python = %{_installed_python}
|
Requires: awips2-python
|
||||||
Provides: awips2-python-pmw = %{version}
|
Provides: awips2-python-pmw = %{version}
|
||||||
|
|
||||||
BuildRequires: awips2-python
|
BuildRequires: awips2-python
|
||||||
|
@ -94,6 +93,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
#%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/Pmw*
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
%define _build_arch %(uname -i)
|
%define _build_arch %(uname -i)
|
||||||
%define _python_pkgs_dir "%{_baseline_workspace}/pythonPackages"
|
%define _python_pkgs_dir "%{_baseline_workspace}/pythonPackages"
|
||||||
%define _python_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
%define _python_build_loc %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
%define _installed_python %(if [ -f /awips2/python/bin/python ]; then /awips2/python/bin/python -c 'import sys; print(".".join(map(str, sys.version_info[:3])))'; else echo 0; fi)
|
|
||||||
%define _installed_python_numpy %(if [ -f /awips2/python/bin/python ]; then /awips2/python/bin/python -c "import numpy; print numpy.__version__"; else echo 0; fi)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# AWIPS II Python pupynere Spec File
|
# AWIPS II Python pupynere Spec File
|
||||||
|
@ -22,8 +20,8 @@ Vendor: Raytheon
|
||||||
Packager: %{_build_site}
|
Packager: %{_build_site}
|
||||||
|
|
||||||
AutoReq: no
|
AutoReq: no
|
||||||
Requires: awips2-python = %{_installed_python}
|
Requires: awips2-python
|
||||||
Requires: awips2-python-numpy = %{_installed_python_numpy}
|
Requires: awips2-python-numpy
|
||||||
Provides: awips2-python-pupynere = %{version}
|
Provides: awips2-python-pupynere = %{version}
|
||||||
|
|
||||||
BuildRequires: awips2-python
|
BuildRequires: awips2-python
|
||||||
|
@ -84,6 +82,5 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
/awips2/python/lib/python2.7/site-packages/pupynere*
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ AutoReq: no
|
||||||
requires: awips2-python
|
requires: awips2-python
|
||||||
provides: awips2-python-pycairo
|
provides: awips2-python-pycairo
|
||||||
|
|
||||||
|
BuildRequires: cairo, cairo-devel
|
||||||
%description
|
%description
|
||||||
AWIPS II Python pycairo Site-Package.
|
AWIPS II Python pycairo Site-Package.
|
||||||
|
|
||||||
|
@ -84,8 +85,7 @@ rm -rf %{_python_build_loc}
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib
|
/awips2/python/include/pycairo/pycairo.h
|
||||||
/awips2/python/lib/*
|
/awips2/python/lib/pkgconfig/pycairo.pc
|
||||||
%dir /awips2/python/include
|
/awips2/python/lib/python2.7/site-packages/cairo*
|
||||||
/awips2/python/include/*
|
|
||||||
|
|
|
@ -24,6 +24,8 @@ requires: awips2-python
|
||||||
requires: awips2-python-pycairo
|
requires: awips2-python-pycairo
|
||||||
provides: awips2-python-pygtk
|
provides: awips2-python-pygtk
|
||||||
|
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
AWIPS II Python pygtk Site-Package.
|
AWIPS II Python pygtk Site-Package.
|
||||||
|
|
||||||
|
@ -85,13 +87,16 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib
|
/awips2/python/lib/python2.7/site-packages/gtk-2.0*
|
||||||
/awips2/python/lib/*
|
/awips2/python/lib/python2.7/site-packages/pygtk*
|
||||||
%dir /awips2/python/include
|
%dir /awips2/python/lib/pygtk
|
||||||
/awips2/python/include/*
|
/awips2/python/lib/pygtk/*
|
||||||
%dir /awips2/python/share
|
/awips2/python/include/pygtk-2.0/pygobject.h
|
||||||
/awips2/python/share/*
|
/awips2/python/lib/pkgconfig/pygobject-2.0.pc
|
||||||
%defattr(755,awips,fxalpha,755)
|
/awips2/python/lib/pkgconfig/pygtk-2.0.pc
|
||||||
%dir /awips2/python/bin
|
%dir /awips2/python/share/pygtk
|
||||||
/awips2/python/bin/*
|
/awips2/python/share/pygtk/*
|
||||||
|
%defattr(755,awips,awips,755)
|
||||||
|
/awips2/python/bin/pygtk-codegen-2.0
|
||||||
|
/awips2/python/bin/pygtk-demo
|
||||||
|
|
|
@ -110,6 +110,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
#%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
#/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -93,6 +93,10 @@ fi
|
||||||
rm -rf %{_build_root}
|
rm -rf %{_build_root}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages/awips
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
%dir /awips2/python/lib/python2.7/site-packages/thrift
|
||||||
|
%dir /awips2/python/lib/python2.7/site-packages/dynamicserialize
|
||||||
|
/awips2/python/lib/python2.7/site-packages/awips/*
|
||||||
|
/awips2/python/lib/python2.7/site-packages/thrift/*
|
||||||
|
/awips2/python/lib/python2.7/site-packages/dynamicserialize/*
|
||||||
|
|
|
@ -110,9 +110,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/python/bin
|
%dir /awips2/python/bin
|
||||||
/awips2/python/bin/*
|
/awips2/python/bin/*
|
||||||
|
|
|
@ -81,11 +81,11 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
%dir /awips2/python/include
|
%dir /awips2/python/include
|
||||||
/awips2/python/include/*
|
/awips2/python/include/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/python/bin
|
%dir /awips2/python/bin
|
||||||
/awips2/python/bin/*
|
/awips2/python/bin/*
|
||||||
|
|
|
@ -112,6 +112,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -111,6 +111,6 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
|
|
|
@ -142,9 +142,9 @@ rm -rf %{_build_root}
|
||||||
rm -rf %{_python_build_loc}
|
rm -rf %{_python_build_loc}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,awips,755)
|
||||||
%dir /awips2/python/lib/python2.7/site-packages
|
%dir /awips2/python/lib/python2.7/site-packages
|
||||||
/awips2/python/lib/python2.7/site-packages/*
|
/awips2/python/lib/python2.7/site-packages/*
|
||||||
%defattr(755,awips,fxalpha,755)
|
%defattr(755,awips,awips,755)
|
||||||
%dir /awips2/python/bin
|
%dir /awips2/python/bin
|
||||||
/awips2/python/bin/*
|
/awips2/python/bin/*
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue