Files
qt5-legatus-legacy/specs/external/situation_map/qatar/qatar_map_doha_aerial.spec
T
2026-08-13 18:33:10 +02:00

63 lines
2.0 KiB
RPMSpec
Executable File

# $Id$
# $HeadURL$
#
# Von Hand auszufuellen - Version und Release anpassen!
# rpmbuild -bb --target=noarch qatar_map_doha_aerial.spec
#
%define ctc_name qatar_map_doha_aerial
Summary: ArcGIS Maps (tpk) Doha
Name: %{ctc_name}
Version: 1
Release: 1
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
Qatar local Maps 2021-12-09_Qatar_Doha_Aerial_50cm_32639_Lvl8.tpk 2021-12-09_Qatar_Doha_Aerial_50cm_WebMerc_Lvl18.tpk
%changelog
#* date +"%a %b %d %Y" text
* Mon Dec 20 2021 Norbert Thoden
- initial (data from Planet Labs)
%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/TilePackage/Qatar"
cp -r %{_builddir}/%{buildsubdir}/resources/TilePackage/Qatar/2021-12-09_Qatar_Doha_Aerial_50cm_32639_Lvl8.tpk %{buildroot}/usr/share/arcgis/resources/TilePackage/Qatar
cp -r %{_builddir}/%{buildsubdir}/resources/TilePackage/Qatar/2021-12-09_Qatar_Doha_Aerial_50cm_WebMerc_Lvl18.tpk %{buildroot}/usr/share/arcgis/resources/TilePackage/Qatar
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/usr/share/arcgis/resources/TilePackage/Qatar/2021-12-09_Qatar_Doha_Aerial_50cm_32639_Lvl8.tpk
/usr/share/arcgis/resources/TilePackage/Qatar/2021-12-09_Qatar_Doha_Aerial_50cm_WebMerc_Lvl18.tpk
%pre
%post
ln -sf /usr/share/arcgis/resources/TilePackage/Qatar/2021-12-09_Qatar_Doha_Aerial_50cm_32639_Lvl8.tpk /usr/share/arcgis/resources/TilePackage/Qatar/Qatar_Doha_Aerial_32639.tpk
ln -sf /usr/share/arcgis/resources/TilePackage/Qatar/2021-12-09_Qatar_Doha_Aerial_50cm_WebMerc_Lvl18.tpk /usr/share/arcgis/resources/TilePackage/Qatar/Qatar_Doha_Aerial_WebMerc.tpk
%preun
%postun