- Amend: update build.sh to build the full set of rpms Change-Id: I182f23ffc67f2dc84a0e5436b2830311e29f534f Conflicts: rpms/awips2.edex/Installer.edex-datadelivery/datadelivery.patch0 Former-commit-id:23fb13a41c
[formerly7d7511af9b
] [formerly19d80d96c3
] [formerly23fb13a41c
[formerly7d7511af9b
] [formerly19d80d96c3
] [formerlyc0458d512d
[formerly19d80d96c3
[formerly 45adc2b64e9037273e1013631ba7a8fbef400c35]]]] Former-commit-id:c0458d512d
Former-commit-id:2a9f4d41c9
[formerlyf68943aeef
] [formerly b7074896173a8852588739234ce215ff22e0dba5 [formerly6b305d4ea3
]] Former-commit-id: ba3cdfa1c21458bf0f95c2202e0d7749db484d77 [formerly5b55bd8c72
] Former-commit-id:a3f3f45f4b
69 lines
1.4 KiB
RPMSpec
69 lines
1.4 KiB
RPMSpec
#
|
|
# AWIPS II Edex "component" spec file
|
|
#
|
|
%define __prelink_undo_cmd %{nil}
|
|
# 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-java-repack-jars[[:space:]].*$!!g')
|
|
|
|
Name: awips2-%{_component_name}
|
|
Summary: awips2-%{_component_name} Installation
|
|
Version: %{_component_version}
|
|
Release: %{_component_release}
|
|
Group: AWIPSII
|
|
BuildRoot: %{_build_root}
|
|
URL: N/A
|
|
License: N/A
|
|
Distribution: N/A
|
|
Vendor: Raytheon
|
|
Packager: Bryan Kowal
|
|
|
|
provides: awips2-%{_component_name}
|
|
requires: awips2
|
|
requires: awips2-edex-base
|
|
requires: awips2-python
|
|
requires: awips2-java
|
|
requires: awips2-psql
|
|
|
|
%description
|
|
AWIPS II Edex - Installs AWIPS II Edex Plugins.
|
|
|
|
%prep
|
|
# Verify That The User Has Specified A BuildRoot.
|
|
if [ "%{_build_root}" = "" ]
|
|
then
|
|
echo "ERROR: The RPM Build Root has not been specified."
|
|
exit 1
|
|
fi
|
|
|
|
if [ -d %{_build_root} ]; then
|
|
rm -rf %{_build_root}
|
|
fi
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{_build_root}
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
unzip %{_baseline_workspace}/build.edex/edex/dist/%{_component_name}.zip \
|
|
-d %{_build_root}
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
%pre
|
|
%post
|
|
%preun
|
|
%postun
|
|
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%files
|
|
%defattr(644,awips,fxalpha,755)
|
|
%dir /awips2
|
|
%dir /awips2/edex
|
|
/awips2/edex/*
|