summaryrefslogtreecommitdiffstats
path: root/ax25-tools.spec.in
blob: 4b99e75c04c05ce13cd0c5ad6494eeb2649ca581 (plain)
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
Name:           ax25-tools
Version:        @BASEVERSION@.@EXTRAVERSION@
Release:        1%{?dist}
Summary:        Non-GUI tools used to configure an AX.25 enabled computer

Group:          Applications/Communications
License:        GPLv2+
URL:            http://www.linux-ax25.org/
Source0:        http://www.linux-ax25.org/pub/%{name}/%{name}-@VERSION@.tar.gz
BuildRoot:      %{_tmppath}/%{name}-@VERSION@-%{release}-root-%(%{__id_u} -n)
BuildRequires:	gcc gcc-c++
BuildRequires:	libax25-devel
BuildRequires:	fltk-devel

%description
ax25-tools is a collection of tools that are used to configure an ax.25 enabled
computer. They will configure interfaces and assign callsigns to ports as well
as Net/ROM and ROSE configuration.  This package only contains the command
line programs; the GUI programs are contained in ax25-tools-x package.

 * m6pack - handle multiple 6pack TNCs on a single interface
 * ax25d - general purpose AX.25, NET/ROM and Rose daemon
 * axctl - configure/Kill running AX.25 connections
 * axparms - configure AX.25 interfaces
 * axspawn - allow automatic login to a Linux system
 * axwrapper - run non-ax.25-aware programs from ax25d
 * beacon - transmit periodic messages on an AX.25 port
 * bpqparms - configure BPQ ethernet devices
 * mheardd - display AX.25 calls recently heard
 * rxecho - transparently route AX.25 packets between ports
 * mheard - collect information about packet activity
 * dmascc_cfg - configure dmascc devices
 * sethdlc - get/set Linux HDLC packet radio modem driver port information
 * smmixer - get/set Linux soundcard packet radio modem driver mixer
 * kissattach - Attach a KISS or 6PACK interface
 * kissnetd - create a virtual network
 * kissparms - configure KISS TNCs
 * mkiss - attach multiple KISS interfaces
 * net2kiss - convert a network AX.25 driver to a KISS stream on a pty
 * netromd - send and receive NET/ROM routing messages
 * nodesave - saves NET/ROM routing information
 * nrattach - start a NET/ROM interface
 * nrparms - configure a NET/ROM interface
 * nrsdrv - KISS to NET/ROM serial converter
 * rsattach - start a ROSE interface
 * rsdwnlnk - user exit from the ROSE network
 * rsmemsiz - monitor the ROSE subsystem
 * rsusers.sh - monitor AX.25, NET/ROM and ROSE users
 * rsparms - configure a ROSE interface
 * rsuplnk - User entry into the ROSE network
 * rip98d - RIP98 routing daemon
 * ttylinkd - TTYlink daemon for AX.25, NET/ROM, ROSE and IP
 * ax25_call - Make an AX.25 connection
 * netrom_call - Make a NET/ROM connection
 * rose_call - Make a ROSE connection
 * tcp_call - Make a TCP connection
 * yamcfg - configure a YAM interface

%package docs
Summary:	Documentation for ax25-tools and ax25-tools-x
Group:		Documentation
BuildArch:	noarch

%description docs
This package contains the documentation for ax25-tools and ax25-tools-x.

%package x

Summary:	Tools used to configure an AX.25 enabled computer
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description x
ax25-tools is a collection of tools that are used to configure an ax.25 enabled
computer.  This package contains the GUI programs to configure Baycom modem
and sound modem.

 * smdiag - Linux soundcard packet radio modem driver diagnostics utility
 * xfhdlcchpar - kernel HDLC radio modem driver channel parameter utility
 * xfhdlcst - kernel HDLC radio modem driver status display utility
 * xfsmdiag - kernel soundcard radio modem driver diagnostics utility
 * xfsmmixer - kernel soundcard radio modem driver mixer utility

%prep
%setup -q -n %{name}-@VERSION@

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT dist_doc_DATA= install
make DESTDIR=$RPM_BUILD_ROOT installconf

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/axgetput
%{_bindir}/bget
%{_bindir}/bput
%{_bindir}/mheard
%{_bindir}/sethdlc
%{_bindir}/smmixer
%{_sbindir}/ax25_call
%{_sbindir}/ax25d
%{_sbindir}/axctl
%{_sbindir}/axparms
%{_sbindir}/axspawn
%{_sbindir}/axwrapper
%{_sbindir}/beacon
%{_sbindir}/bpqparms
%{_sbindir}/dmascc_cfg
%{_sbindir}/kissattach
%{_sbindir}/kissnetd
%{_sbindir}/kissparms
%{_sbindir}/m6pack
%{_sbindir}/mcs2h
%{_sbindir}/mheardd
%{_sbindir}/mkiss
%{_sbindir}/net2kiss
%{_sbindir}/netrom_call
%{_sbindir}/netromd
%{_sbindir}/nodesave
%{_sbindir}/nrattach
%{_sbindir}/nrparms
%{_sbindir}/nrsdrv
%{_sbindir}/rip98d
%{_sbindir}/rose_call
%{_sbindir}/rsattach
%{_sbindir}/rsdwnlnk
%{_sbindir}/rsmemsiz
%{_sbindir}/rsparms
%{_sbindir}/rsuplnk
%{_sbindir}/rsusers.sh
%{_sbindir}/rxecho
%{_sbindir}/spattach
%{_sbindir}/tcp_call
%{_sbindir}/ttylinkd
%{_sbindir}/yamcfg
%config(noreplace) %{_sysconfdir}/ax25/ax25.profile
%config(noreplace) %{_sysconfdir}/ax25/ax25d.conf
%config(noreplace) %{_sysconfdir}/ax25/axspawn.conf
%config(noreplace) %{_sysconfdir}/ax25/nrbroadcast
%config(noreplace) %{_sysconfdir}/ax25/rip98d.conf
%config(noreplace) %{_sysconfdir}/ax25/rxecho.conf
%config(noreplace) %{_sysconfdir}/ax25/ttylinkd.conf
%attr(0755,root,root) %{_localstatedir}/ax25
%attr(0755,root,root) %{_localstatedir}/ax25/mheard
%config(noreplace) %{_localstatedir}/ax25/mheard/mheard.dat

%files docs
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%doc yamdrv/README.yamdrv user_call/README.user_call tcpip/ttylinkd.README dmascc/README.dmascc
%{_mandir}/man?/*
%{_docdir}/*

%files x
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_bindir}/smdiag
%{_sbindir}/xfhdlcchpar
%{_sbindir}/xfhdlcst
%{_sbindir}/xfsmdiag
%{_sbindir}/xfsmmixer

%changelog
* Tue Jun 4 2013 Ralf Baechle <ralf@linux-mips.org>
- Move doc files to separate docs package.
- Reset Release to 1.

* Sat Jun 25 2011 Ralf Baechle <ralf@linux-mips.org>
- Add BuildRequires to libax25-devel, libXext-devel and libX11-devel.
- Move smdiag, xfhdlcchpar, xfhdlcst, xfsmdiag and xfsmmixer into a separate
  package.
- Bump Release to 4.

* Fri Jun 24 2011 Ralf Baechle <ralf@linux-mips.org>
- Add BuildRequires to libXi-devel and fltk-devel
- Bump Release to 2.

* Sat Jun 27 2009 Ralf Baechle <ralf@linux-mips.org>
- Initial version