Summary   : Amateur Station Tracking and Reporting system for amateur radio
Name      : @PACKAGE@
Version   : @VERSION@
Release   : 1
#Epoch    : 1
License   : GPL
Group     : Applications/Networking
Packager  : n2ygk@weca.org
# Icon    : src/xastir.xpm
#Source    : http://prdownloads.sourceforge.net/@PACKAGE@/@PACKAGE@-@VERSION@.tgz
Source    : http://prdownloads.sourceforge.net/@PACKAGE@/xastir115-2003-May-15.tar.gz
Patch0:	    xastir-datadir.patch
Patch1:	    xastir-pkglib.patch
URL       : http://www.xastir.org
BuildRoot : %{_tmppath}/%{name}-buildroot
Requires  : /usr/X11R6/include/Xm/Xm.h

%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 and HAM radio
software.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
./bootstrap.sh
%configure
make

%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall
# Docs go into package docs area instead of here:
rm -rf ${RPM_BUILD_ROOT}/usr/share/@PACKAGE@/doc

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
# One directory w/special permissions

# Documents:  Go into special doc area
%doc AUTHORS    COPYING  INSTALL  README      README.MAPS   UPGRADE
%doc ChangeLog  FAQ      LICENSE  README.CVS  README.win32

%{_prefix}/bin
%{_prefix}/share/@PACKAGE@/help
%{_prefix}/share/@PACKAGE@/config
%{_prefix}/share/@PACKAGE@/symbols
%{_prefix}/share/man
%{_prefix}/lib/xastir

# protect user-installed map and other files from being clobbered

%config %{_prefix}/share/@PACKAGE@/maps
%dir %attr(666,root,root) %{_prefix}/share/@PACKAGE@/maps/GPS
%config %{_prefix}/share/@PACKAGE@/Counties
%config %{_prefix}/share/@PACKAGE@/fcc
%config %{_prefix}/share/@PACKAGE@/GNIS
%config %{_prefix}/share/@PACKAGE@/sounds


%changelog
* Sun May 18 2003 Alan Crosswell <n2ygk@weca.org> 
- start with chuck's spec file for 1.1.4
