72 lines
2.2 KiB
RPMSpec
Executable File
72 lines
2.2 KiB
RPMSpec
Executable File
# $Id$
|
|
# $HeadURL$
|
|
#
|
|
# Von Hand auszufuellen - Version und Release anpassen!
|
|
# rpmbuild -bb --target=noarch ahtc_arcgis_bldg.spec
|
|
#
|
|
|
|
%define real_name arcgis_bldgs
|
|
%define ctc_name ahtc_%{real_name}
|
|
|
|
Summary: ArcGIS Buildings, AHTC
|
|
Name: %{ctc_name}
|
|
Version: 1.4.0
|
|
Release: 0
|
|
License: proprietary
|
|
Group: Applications/Resources
|
|
Source: %{ctc_name}-release-%{version}.tar.gz
|
|
Prefix: /
|
|
Vendor: Rheinmetall Electronics GmbH
|
|
URL: http://www.rheinmetall-defence.com
|
|
Packager: ctc
|
|
Provides: %{ctc_name}
|
|
AutoReqProv: no
|
|
|
|
%description
|
|
ArcGIS Scene Layer Package (slpk) for AHTC Buildings
|
|
|
|
%changelog
|
|
#* date +"%a %b %d %Y" text
|
|
* Thu May 24 2022 Norbert Thoden
|
|
- update to 2022-05-23_AHTC-Bridges_ret_geotifcp-alex.tif
|
|
* Thu May 12 2022 Norbert Thoden
|
|
- remove temporary 'situation_map_ahtc.ini' / 'situation_map_defaults.ini'
|
|
* Thu May 12 2022 Norbert Thoden
|
|
- Bridges are added to typical slpk by SPD. (CityEngine is more powerful than ArcGIS Pro, so the result is more beautiful.)
|
|
(So just a single slpk file.)
|
|
ATTENTION: This rpm contains a 'situation_map_ahtc.ini' / 'situation_map_defaults.ini' temporary.
|
|
* Thu Apr 21 2022 Norbert Thoden
|
|
- HotFix: add slpk for Bridges and corresponding geotiff for 3D
|
|
* Wed Feb 19 2020 Norbert Thoden
|
|
- Use CityEngine 2019.1 to fix loading issue (while zoom in/ zoom out)
|
|
* Thu May 03 2019 Norbert Thoden
|
|
- initial
|
|
|
|
%prep
|
|
%setup -q -n %{ctc_name}-release-%{version}
|
|
echo "prep done"
|
|
|
|
%build
|
|
echo "nothing to build"
|
|
# nothing to do here
|
|
|
|
|
|
%install
|
|
mkdir -p "%{buildroot}/usr/share/arcgis/resources/slpk"
|
|
cp -r %{_builddir}/%{buildsubdir}/resources/slpk/AHTC_2022_05_12.slpk %{buildroot}/usr/share/arcgis/resources/slpk
|
|
cp -r %{_builddir}/%{buildsubdir}/resources/slpk/2022-05-23_AHTC-Bridges_ret_geotifcp-alex.tif %{buildroot}/usr/share/arcgis/resources/slpk
|
|
|
|
%clean
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/share/arcgis/resources/slpk/AHTC_2022_05_12.slpk
|
|
/usr/share/arcgis/resources/slpk/2022-05-23_AHTC-Bridges_ret_geotifcp-alex.tif
|
|
|
|
%pre
|
|
%post
|
|
ln -sf /usr/share/arcgis/resources/slpk/AHTC_2022_05_12.slpk /usr/share/arcgis/resources/slpk/AHTC_LOW.slpk
|
|
%preun
|
|
%postun
|