1# NOTE: 2# “Free Standards Group, FSG, Linux Standard Base, LSB, Free 3# Standards Certified, LSB Certified and the Free Standards 4# Certified logo are trademarks, service marks and certification 5# marks, as appropriate, of Free Standards Group in the United 6# States and in other countries.” 7# 8# We are in no way representing that Xastir has been certified by 9# the FSG. To do so costs real money. We do intend some Xastir 10# binaries to install and run properly on LSB-3.0 compliant x86 11# Linux systems though... 12# 13Summary : Amateur Station Tracking and Reporting system for Amateur Radio APRS 14Name : xastir 15Version : @VERSION@ 16Release : 1 17Copyright : GPL 18Group : Applications/Networking 19Packager : Curt Mills, WE7U <archer@eskimo.com> 20# Icon : src/xastir.xpm 21Source : http://prdownloads.sourceforge.net/xastir/xastir-@VERSION@.tar.gz 22URL : http://xastir.org 23#BuildRoot : %{_tmppath}/%{name}-buildroot 24BuildRoot : RPM 25#Requires : 26#AutoReqProv : no 27PreReq : lsb >= 3.0 28# 29# 30# Stuff gleaned from the LSB appbat RPM build files: 31# 32# Force a 486 target 33#buildarchtranslate: i686 i486 34#buildarchtranslate: i586 i486 35#buildarchtranslate: pentium3 i486 36#buildarchtranslate: pentium4 i486 37#buildarchtranslate: athlon i486 38#buildarchtranslate: k6 i486a 39# 40# Overrides for LSB packaging 41# We want a non-root build. Just put everything in the same directory. 42# Only _rpmdir and _builddir are actually used in these builds but we 43# define all five of the directories for completeness. 44#%_topdir /home/archer/xastir 45#%_rpmdir %{_topdir}/rpm 46#%_specdir %{_topdir}/rpm 47#%_builddir %{_topdir}/rpm 48#%_sourcedir %{_topdir}/rpm 49#%_srcrpmdir %{_topdir}/rpm 50#%pkgroot %{_topdir}/rpm 51# 52#%_messagelevel 0 53# 54# Replace the "buildpolicy" defined in the distro's brp-(distro) file. 55# Forces uncompressed manpages so the specfiles don't vary. 56#%__os_install_post \ 57# /usr/lib/rpm/brp-strip \ 58# /usr/lib/rpm/brp-strip-comment-note 59# 60# Unpackaged files in a build root don't terminate a build 61#%_unpackaged_files_terminate_build 0 62# 63# Missing %doc files in the build directory don't terminate a build 64#%_missing_doc_files_terminate_build 0 65# 66# Force gzip payload 67#%_binary_payload w9.gzdio 68 69 70%description 71Xastir is a graphical application that interfaces HAM radio 72and internet access to real-time mapping software. 73 74Install XASTIR if you are interested in APRS(tm) and HAM radio 75software. 76 77%prep 78%setup -q 79#%patch 80%build 81%install 82%clean 83 84%files 85%defattr(-,root,root) 86 87# Documents: Go into special doc area at /opt/Xastir/share/doc/xastir/ 88%doc AUTHORS ChangeLog COPYING DEBUG_LEVELS FAQ INSTALL LICENSE 89%doc README CONTRIBUTING.md README.GIT README.Getting-Started 90%doc README.MAPS README.sudo UPGRADE COPYING.LIB.LESSTIF 91 92/opt/Xastir/bin 93/opt/Xastir/share/xastir/help 94/opt/Xastir/share/xastir/config 95/opt/Xastir/share/xastir/symbols 96/opt/Xastir/share/man 97/opt/Xastir/lib/xastir 98 99# protect user-installed map and other files from being clobbered 100%config /opt/Xastir/share/xastir/maps 101%dir %attr(666,root,root) /opt/Xastir/share/xastir/maps/GPS 102%config /opt/Xastir/share/xastir/Counties 103%config /opt/Xastir/share/xastir/fcc 104%config /opt/Xastir/share/xastir/GNIS 105%config /opt/Xastir/share/xastir/sounds 106 107%changelog 108 109