%global git_commit 244693ec3d0075b49b05b0b71fad08b98704dcc4 %global git_date 20160724 %global git_short_commit %(echo %{git_commit} | cut -c -8) %global git_suffix %{git_date}git%{git_short_commit} Summary : Amateur Station Tracking and Reporting system for amateur radio Name : xastir Version : 2.0.9 Release: 2.%{git_suffix}%{?dist} License : GPL Group : Applications/Networking Packager : dranch@trinnet.net # Icon : src/xastir.xpm Source : %{name}-%{version}-%{git_suffix}.tgz URL : http://www.xastir.org BuildRoot : %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires : tk, tkimg, lesstif, libXp, libXp-devel BuildRequires : geos, giflib, unixODBC, netcdf, gdal, gdal-devel BuildRequires : GraphicsMagick, pcre-devel, proj-devel, shapelib-devel BuildRequires : db4-devel, perl-HTTP-Lite, perl-Device-SerialPort, perl-Test-Simple BuildRequires : perl-Module-Build, perl-Image-Size, perl-perl-GPS, perl-Tree-R, BuildRequires : perl-Geo-Shapelib, perl-Test-Simple, perl-Module-Build %description Xastir is a graphical application that interfaces HAM radio and internet access to realtime mapping software. Install XASTIR if you are interested in APRS(tm) and HAM radio software. %prep %setup -q #%patch %build ./bootstrap.sh %configure CPPFLAGS="-I/usr/include/libgeotiff" make %{?_smp_mflags} %install rm -rf ${RPM_BUILD_ROOT} %makeinstall %{__chmod} 4755 $RPM_BUILD_ROOT/usr/bin/xastir # Docs go into package docs area instead of the Makefile install # locations listed here: rm -rf ${RPM_BUILD_ROOT}/usr/share/doc %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) # Documents: Go into special doc area at /usr/share/doc/xastir/ or # /usr/share/doc/packages/xastir/ %doc AUTHORS ChangeLog COPYING DEBUG_LEVELS FAQ INSTALL LICENSE %doc README README.Contributing README.GIT README.Getting-Started %doc README.MAPS README.win32 UPGRADE %{_prefix}/bin %{_prefix}/share/xastir/help %{_prefix}/share/xastir/config %{_prefix}/share/xastir/symbols %{_prefix}/share/man # protect user-installed map and other files from being clobbered %config %{_prefix}/share/xastir/maps %dir %attr(666,root,root) %{_prefix}/share/xastir/maps/GPS %config %{_prefix}/share/xastir/Counties %config %{_prefix}/share/xastir/fcc %config %{_prefix}/share/xastir/GNIS %config %{_prefix}/share/xastir/sounds %config %{_prefix}/share/xastir/scripts %changelog * Fri Jul 24 2016 David Ranch - Updated to newer 2.0.9 Git pull - Fixed previous spec file year dates here in the changelog * Fri Jul 8 2016 David Ranch - Updated to 2.0.9 with Git support * Fri Jul 1 2016 David Ranch - Updated to 2.0.8 * Fri Oct 30 2015 David Ranch - Updated to 2.0.7CVS and moved SPEC files to GraphicsMagick * Sun Oct 27 2013 David Ranch - Updated SPEC file to report the proper packager, show CVS checkout date - make now uses the smp_mflags RPM build variable smp_mflags to use all cores - set the proper suid root perm on the xastir binary * Tue May 15 2012 David Ranch - Updated SPEC file to support Centos6 with various dependencies * Thu Jul 03 2003 Alan Crosswell - 1.2.1 my patches now integrated into the main trunk. * Sat Jun 21 2003 Alan Crosswell - added xastir-maps.patch * Mon Jun 16 2003 Alan Crosswell - 1.2.0 * Fri Jun 06 2003 Alan Crosswell - June 5 snapshot * Thu May 15 2003 Alan Crosswell - start with chuck's spec file for 1.1.4