summaryrefslogtreecommitdiffstats
path: root/ax25-apps.spec.in
blob: dbac6dd32877e1eb525c31a2cff73b2c89ee0917 (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
Name:           ax25-apps
Version:        @BASEVERSION@.@EXTRAVERSION@
Release:        1%{?dist}
Summary:        AX.25 ham radio applications

#ax25ipd is BSD licensed, rest is GPLv2+
License:        GPLv2+ and BSD
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:  ncurses-devel

%description
This package provides specific user applications for hamradio that use AX.25
Net/ROM or ROSE network protocols:

 * axcall: a general purpose AX.25, NET/ROM and ROSE connection program.
 * axlisten: a network monitor of all AX.25 traffic heard by the system.
 * ax25ipd: an RFC1226 compliant daemon which provides encapsulation of
   AX.25 traffic over IP.
 * ax25mond: retransmits data received from sockets into an AX.25 monitor
   socket.

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

%build
%configure --program-transform-name='s@^call$@ax&@;s@^listen$@ax&@'
make %{?_smp_mflags}

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%doc AUTHORS ChangeLog COPYING README
%doc ax25ipd/COPYING.ax25ipd ax25ipd/HISTORY.ax25ipd ax25ipd/README.ax25ipd
%doc ax25rtd/TODO.ax25rtd ax25rtd/README.ax25rtd
%{_bindir}/*
%config(noreplace) %{_sysconfdir}/ax25/ax25ipd.conf
%config(noreplace) %{_sysconfdir}/ax25/ax25mond.conf
%config(noreplace) %{_sysconfdir}/ax25/ax25rtd.conf
%{_sbindir}/*
%{_mandir}/man?/*

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