forked from Xastir/Xastir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xastir-lsb.spec.in
108 lines (98 loc) · 3.19 KB
/
xastir-lsb.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# NOTE:
# “Free Standards Group, FSG, Linux Standard Base, LSB, Free
# Standards Certified, LSB Certified and the Free Standards
# Certified logo are trademarks, service marks and certification
# marks, as appropriate, of Free Standards Group in the United
# States and in other countries.”
#
# We are in no way representing that Xastir has been certified by
# the FSG. To do so costs real money. We do intend some Xastir
# binaries to install and run properly on LSB-3.0 compliant x86
# Linux systems though...
#
Summary : Amateur Station Tracking and Reporting system for Amateur Radio APRS
Name : xastir
Version : @VERSION@
Release : 1
Copyright : GPL
Group : Applications/Networking
Packager : Curt Mills, WE7U <[email protected]>
# Icon : src/xastir.xpm
Source : http://prdownloads.sourceforge.net/xastir/xastir-@[email protected]
URL : http://xastir.org
#BuildRoot : %{_tmppath}/%{name}-buildroot
BuildRoot : RPM
#Requires :
#AutoReqProv : no
PreReq : lsb >= 3.0
#
#
# Stuff gleaned from the LSB appbat RPM build files:
#
# Force a 486 target
#buildarchtranslate: i686 i486
#buildarchtranslate: i586 i486
#buildarchtranslate: pentium3 i486
#buildarchtranslate: pentium4 i486
#buildarchtranslate: athlon i486
#buildarchtranslate: k6 i486a
#
# Overrides for LSB packaging
# We want a non-root build. Just put everything in the same directory.
# Only _rpmdir and _builddir are actually used in these builds but we
# define all five of the directories for completeness.
#%_topdir /home/archer/xastir
#%_rpmdir %{_topdir}/rpm
#%_specdir %{_topdir}/rpm
#%_builddir %{_topdir}/rpm
#%_sourcedir %{_topdir}/rpm
#%_srcrpmdir %{_topdir}/rpm
#%pkgroot %{_topdir}/rpm
#
#%_messagelevel 0
#
# Replace the "buildpolicy" defined in the distro's brp-(distro) file.
# Forces uncompressed manpages so the specfiles don't vary.
#%__os_install_post \
# /usr/lib/rpm/brp-strip \
# /usr/lib/rpm/brp-strip-comment-note
#
# Unpackaged files in a build root don't terminate a build
#%_unpackaged_files_terminate_build 0
#
# Missing %doc files in the build directory don't terminate a build
#%_missing_doc_files_terminate_build 0
#
# Force gzip payload
#%_binary_payload w9.gzdio
%description
Xastir is a graphical application that interfaces HAM radio
and internet access to real-time mapping software.
Install XASTIR if you are interested in APRS(tm) and HAM radio
software.
%prep
%setup -q
#%patch
%build
%install
%clean
%files
%defattr(-,root,root)
# Documents: Go into special doc area at /opt/Xastir/share/doc/xastir/
%doc AUTHORS ChangeLog COPYING DEBUG_LEVELS FAQ INSTALL LICENSE
%doc README CONTRIBUTING.md README.GIT README.Getting-Started
%doc README.MAPS README.sudo UPGRADE COPYING.LIB.LESSTIF
/opt/Xastir/bin
/opt/Xastir/share/xastir/help
/opt/Xastir/share/xastir/config
/opt/Xastir/share/xastir/symbols
/opt/Xastir/share/man
/opt/Xastir/lib/xastir
# protect user-installed map and other files from being clobbered
%config /opt/Xastir/share/xastir/maps
%dir %attr(666,root,root) /opt/Xastir/share/xastir/maps/GPS
%config /opt/Xastir/share/xastir/Counties
%config /opt/Xastir/share/xastir/fcc
%config /opt/Xastir/share/xastir/GNIS
%config /opt/Xastir/share/xastir/sounds
%changelog