forked from Xastir/Xastir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxastir.spec.in
86 lines (73 loc) · 2.73 KB
/
xastir.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Summary : Amateur Station Tracking and Reporting system for amateur radio
Name : @PACKAGE@
Version : @VERSION@
Release : 1
#Epoch : 1
License : GPL
Group : Applications/Networking
Packager : [email protected]
# Icon : src/@[email protected]
Source : https://github.com/Xastir/Xastir/archive/xastir@[email protected]
URL : http://xastir.org
BuildRoot : %{_tmppath}/%{name}-buildroot
#BuildRequires reflect Centos/RHEL naming conventions - edit package names to suit other RPM-based distros
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 CONTRIBUTING README.GIT README.Getting-Started
%doc README.MAPS README.sudo 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 8 2017 David Ranch <[email protected]>
- Updated to 2.0.9 with Git support
* Thu Jul 03 2003 Alan Crosswell <[email protected]>
- 1.2.1 my patches now integrated into the main trunk.
* Sat Jun 21 2003 Alan Crosswell <[email protected]>
- added xastir-maps.patch
* Mon Jun 16 2003 Alan Crosswell <[email protected]>
- 1.2.0
* Fri Jun 06 2003 Alan Crosswell <[email protected]>
- June 5 snapshot
* Thu May 15 2003 Alan Crosswell <[email protected]>
- start with chuck's spec file for 1.1.4