*** xastir-1.2.0/xastir.spec.in	2003-05-15 01:07:09.000000000 -0400
--- x/xastir.spec.in	2003-06-17 09:02:22.000000000 -0400
***************
*** 5,13 ****
  #Epoch    : 1
  License   : GPL
  Group     : Applications/Networking
! Packager  : cbyam@virginia.edu
  # Icon    : src/@PACKAGE@.xpm
! Source    : http://prdownloads.sourceforge.net/@PACKAGE@/@PACKAGE@-@VERSION@.tgz
  URL       : http://www.xastir.org
  BuildRoot : %{_tmppath}/%{name}-buildroot
  Requires  : /usr/X11R6/include/Xm/Xm.h
--- 5,15 ----
  #Epoch    : 1
  License   : GPL
  Group     : Applications/Networking
! Packager  : n2ygk@weca.org
  # Icon    : src/@PACKAGE@.xpm
! Source    : http://prdownloads.sourceforge.net/@PACKAGE@/@PACKAGE@-@VERSION@.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
***************
*** 21,82 ****
  
  %prep
  %setup -q
! #%patch
  
  %build
  %configure
  make
  
  %install
! rm -rf %{RPM_BUILD_ROOT}
  %makeinstall
  
  %clean
! rm -rf %{RPM_BUILD_ROOT}
  
  %files
  %defattr(-,root,root)
  
  # Documents:  Go into special doc area
! %doc AUTHORS ChangeLog COPYING DEBUG_LEVELS FAQ INSTALL
! %doc LICENSE NEWS README 
! #%doc UPDATES
! 
! # One file with special permissions
! %attr(4555,root,root) %{_prefix}/bin/xastir
! 
! # Individual files
! %{_prefix}/bin/Coordinate.pm
! %{_prefix}/bin/callpass
! %{_prefix}/bin/coord-convert.pl
! %{_prefix}/bin/fcc-get
! %{_prefix}/bin/icontable.pl
! %{_prefix}/bin/inf2geo.pl
! %{_prefix}/bin/mapblast2geo.pl
! %{_prefix}/bin/mapfgd.pl
! %{_prefix}/bin/permutations.pl
! %{_prefix}/bin/track-get.pl
! %{_prefix}/bin/update_langfile.pl
! %{_prefix}/bin/waypoint-get.pl
! 
! # Entire directory
! #%{_prefix}/man/
! 
! # Individual files
! %{_prefix}/man/man1/xastir.1.gz
! 
! # Entire directories
! %{_prefix}/%{name}/Counties/
! #%{_prefix}/%{name}/GNIS/
! %{_prefix}/%{name}/config/
! %{_prefix}/%{name}/fcc/
! %{_prefix}/%{name}/help/
! 
! # One directory w/special permissions
! %attr(666,root,root) %{_prefix}/%{name}/maps/GPS
! 
! # Entire directories
! %{_prefix}/%{name}/sounds/
! %{_prefix}/%{name}/symbols/
  
  
--- 23,74 ----
  
  %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/xastir/doc
  
  %clean
! rm -rf ${RPM_BUILD_ROOT}
  
  %files
  %defattr(-,root,root)
  
  # 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/xastir/help
+ %{_prefix}/share/xastir/config
+ %{_prefix}/share/xastir/symbols
+ %{_prefix}/share/man
+ %{_prefix}/lib/xastir
+ 
+ # 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
+ 
+ 
+ %changelog
+ * Mon Jun 16 2003 Alan Crosswell <n2ygk@weca.org> 
+ - 1.2.0
+ * Fri Jun 06 2003 Alan Crosswell <n2ygk@weca.org> 
+ - June 5 snapshot
+ * Thu May 15 2003 Alan Crosswell <n2ygk@weca.org> 
+ - start with chuck's spec file for 1.1.4
  
