6e5c339
# https://gcc.gnu.org/gcc-10/porting_to.html#common
6e5c339
# https://github.com/ve7fet/linuxax25/issues/7
6e5c339
%define _legacy_common_support 1
6e5c339
6653659
Name:		ax25-tools
6e5c339
Version:	1.0.4
bc0c3d8
Release:	10%{?dist}
6653659
Summary:	Tools used to configure an ax.25 enabled computer
2f5d843
6653659
License:	GPLv2+
6653659
URL:		http://www.linux-ax25.org/wiki/LinuxAX25
6653659
2f5d843
# Official upstream is not active, moving to supported fork.
2f5d843
# https://github.com/ve7fet/linuxax25
f6f1bf1
Source0:        https://github.com/ve7fet/linuxax25/archive/ax25tools-%{version}.tar.gz
6653659
Source1:	smdiag.desktop
6653659
Source2:	xfhdlcchpar.desktop
6653659
Source3:	xfhdlcsd.desktop
6653659
Source4:	xfsmdiag.desktop
6653659
Source5:	xfsmmixer.desktop
6653659
#Temporary Icon
6653659
Source6:	%{name}.png
6653659
3f06fcd
BuildRequires:	automake gcc gcc-c++
6653659
BuildRequires:	libax25-devel
6653659
BuildRequires:	ncurses-devel
6653659
BuildRequires:	libXt-devel
88dcf48
BuildRequires:	libXi-devel
b0d2505
BuildRequires:	fltk-devel
6653659
BuildRequires:	libX11-devel
333cfab
BuildRequires:  mesa-libGL-devel
6653659
BuildRequires:	desktop-file-utils
956b001
BuildRequires: make
88dcf48
333cfab
832d9e1
%description
832d9e1
ax25-tools is a collection of tools that are used to configure an ax.25 enabled
832d9e1
computer. They will configure interfaces and assign callsigns to ports as well
6653659
as Net/ROM and ROSE configuration.  This package only contains the command
6653659
line programs; the GUI programs are contained in ax25-tools-x package.
6653659
6653659
 * m6pack - handle multiple 6pack TNCs on a single interface
6653659
 * ax25d - general purpose AX.25, NET/ROM and Rose daemon
6653659
 * axctl - configure/Kill running AX.25 connections
6653659
 * axparms - configure AX.25 interfaces
6653659
 * axspawn - allow automatic login to a Linux system
6653659
 * beacon - transmit periodic messages on an AX.25 port
6653659
 * bpqparms - configure BPQ ethernet devices
6653659
 * mheardd - display AX.25 calls recently heard
6653659
 * rxecho - transparently route AX.25 packets between ports
6653659
 * mheard - collect information about packet activity
6653659
 * dmascc_cfg - configure dmascc devices
6653659
 * sethdlc - get/set Linux HDLC packet radio modem driver port information
6653659
 * smmixer - get/set Linux soundcard packet radio modem driver mixer
6653659
 * kissattach - Attach a KISS or 6PACK interface
6653659
 * kissnetd - create a virtual network
6653659
 * kissparms - configure KISS TNCs
6653659
 * mkiss - attach multiple KISS interfaces
6653659
 * net2kiss - convert a network AX.25 driver to a KISS stream on a pty
6653659
 * netromd - send and receive NET/ROM routing messages
6653659
 * nodesave - saves NET/ROM routing information
6653659
 * nrattach - start a NET/ROM interface
6653659
 * nrparms - configure a NET/ROM interface
6653659
 * nrsdrv - KISS to NET/ROM serial converter
6653659
 * rsattach - start a ROSE interface
6653659
 * rsdwnlnk - user exit from the ROSE network
6653659
 * rsmemsiz - monitor the ROSE subsystem
6653659
 * rsusers.sh - monitor AX.25, NET/ROM and ROSE users
6653659
 * rsparms - configure a ROSE interface
6653659
 * rsuplnk - User entry into the ROSE network
6653659
 * rip98d - RIP98 routing daemon
6653659
 * ttylinkd - TTYlink daemon for AX.25, NET/ROM, ROSE and IP
6653659
 * ax25_call - Make an AX.25 connection
6653659
 * netrom_call - Make a NET/ROM connection
6653659
 * rose_call - Make a ROSE connection
6653659
 * tcp_call - Make a TCP connection
6653659
 * yamcfg - configure a YAM interface
6653659
333cfab
6653659
%package x
6653659
Summary:	X tools used to configure an AX.25 enabled computer
333cfab
Requires:	%{name}%{?_isa} = %{version}-%{release}
6653659
6653659
%description x
6653659
ax25-tools-x is a collection of tools that are used to configure an ax.25 enabled
6653659
computer.  This package contains the GUI programs to configure Baycom modem
6653659
and sound modem.
6653659
6653659
 * smdiag - Linux soundcard packet radio modem driver diagnostics utility
6653659
 * xfhdlcchpar - kernel HDLC radio modem driver channel parameter utility
6653659
 * xfhdlcst - kernel HDLC radio modem driver status display utility
6653659
 * xfsmdiag - kernel soundcard radio modem driver diagnostics utility
6653659
 * xfsmmixer - kernel soundcard radio modem driver mixer utility
6653659
333cfab
6653659
%package docs
6653659
Summary:	Documentation for ax25-tools and ax25-tools-x
2f5d843
BuildArch:      noarch
6653659
6653659
%description docs
6653659
ax25-tools is a collection of tools that are used to configure an ax.25 enabled
6653659
computer.  This package contains the GUI programs to configure Baycom modem
6653659
and sound modem. This package contains the documentation for ax25-tools and
6653659
ax25-tools-x
832d9e1
333cfab
832d9e1
%prep
9354b4d
%autosetup -p1 -n ax25tools-%{version}
832d9e1
333cfab
832d9e1
%build
2f5d843
./autogen.sh
693f52d
%configure --with-xutils
2f5d843
make %{?_smp_mflags} CFLAGS="%{optflags}"
832d9e1
333cfab
832d9e1
%install
333cfab
%make_install
832d9e1
6653659
# no upstream .desktop or icon yet so we'll use a temporary one
6653659
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
6653659
cp %{SOURCE6} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
6653659
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
6653659
desktop-file-install	\
6653659
	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
6653659
desktop-file-install	\
6653659
	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE2}
6653659
desktop-file-install	\
6653659
	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
6653659
desktop-file-install	\
6653659
	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE4}
6653659
desktop-file-install	\
6653659
	--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE5}
6653659
832d9e1
#don't include these twice
2f5d843
rm -rf $RPM_BUILD_ROOT%{_docdir}/ax25tools
832d9e1
333cfab
832d9e1
%files
693f52d
%doc AUTHORS ChangeLog
2f5d843
%doc doc/README*
693f52d
%license COPYING
832d9e1
%{_bindir}/*
832d9e1
%{_sbindir}/*
2f5d843
%{_localstatedir}/ax25/mheard/
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/ax25.profile
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/ax25d.conf
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/axports
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/axspawn.conf
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/nrbroadcast
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/nrports
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/rip98d.conf
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/rsports
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/rxecho.conf
2f5d843
%config(noreplace) %{_sysconfdir}/ax25/ttylinkd.conf
333cfab
%exclude %{_bindir}/smdiag
333cfab
%exclude %{_sbindir}/xfhdlcchpar
333cfab
%exclude %{_sbindir}/xfhdlcst
333cfab
%exclude %{_sbindir}/xfsmdiag
333cfab
%exclude %{_sbindir}/xfsmmixer
6653659
6653659
%files x
333cfab
%{_bindir}/smdiag
333cfab
%{_sbindir}/xfhdlcchpar
333cfab
%{_sbindir}/xfhdlcst
333cfab
%{_sbindir}/xfsmdiag
333cfab
%{_sbindir}/xfsmmixer
6653659
%{_datadir}/pixmaps/%{name}.png
6653659
%{_datadir}/applications/*.desktop
6653659
6653659
%files docs
2f5d843
%doc COPYING
832d9e1
%{_mandir}/man?/*
832d9e1
333cfab
1d82d1b
%changelog
bc0c3d8
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-10
bc0c3d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
bc0c3d8
0c72345
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
0c72345
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
0c72345
3c4df45
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-8
3c4df45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3c4df45
4e325dc
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-7
4e325dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
4e325dc
893b8b0
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
893b8b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
893b8b0
554f751
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
554f751
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
554f751
8eb19cd
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
8eb19cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8eb19cd
d7bceb3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
d7bceb3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d7bceb3
0f0628c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
0f0628c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0f0628c
6e5c339
* Sun Feb 16 2020 Richard Shaw <hobbes1069@gmail.com> - 1.0.4-1
6e5c339
- Update to 1.0.4.
6e5c339
920691e
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-11
920691e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
920691e
16aee51
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-10
16aee51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
16aee51
0065faf
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-9
0065faf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0065faf
29dd97f
* Tue Aug 14 2018 Richard Shaw <hobbes1069@gmail.com> - 1.0.3-8
29dd97f
- Add patch for mkiss segfault.
29dd97f
dab3ee6
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-7
dab3ee6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
dab3ee6
092d31a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-6
092d31a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
092d31a
ab569a4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
ab569a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ab569a4
8640aa3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
8640aa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8640aa3
d770439
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
d770439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d770439
8497d7d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
8497d7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8497d7d
2f5d843
* Fri Sep 18 2015 Richard Shaw <hobbes1069@gmail.com> - 0.0.10-0.15.rc4
2f5d843
- Update to latest upstream release.
2f5d843
2f5d843
* Fri Sep 18 2015 Richard Shaw <hobbes1069@gmail.com> - 0.0.10-0.14.rc2
333cfab
- Prevent duplicate binaries from being packaged, fixes BZ#1058070.
333cfab
- Add patch to allow more than 4 netrom ports, fixes BZ#1152001.
333cfab
- Spec file cleanup.
333cfab
c6e396f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.13.rc2
c6e396f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c6e396f
25bdaae
* Mon Apr 20 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 0.0.10-0.12.rc2
25bdaae
- Fixed crash when processing ROSE packets (by rose-fix patch)
25bdaae
  Resolves: rhbz#1210008
25bdaae
2599ba3
* Tue Apr  7 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 0.0.10-0.11.rc2
2599ba3
- Fixed netrom nrattach
2599ba3
  Resolves: rhbz#981833
2599ba3
- Fixed format string build error
2599ba3
Rex Dieter a700c10
* Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> 0.0.10-0.10.rc2
Rex Dieter a700c10
- rebuild (fltk)
Rex Dieter a700c10
655dd39
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.9.rc2
655dd39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
655dd39
d4789a2
* Fri Jun 20 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.0.10-0.8.rc2
d4789a2
- Fix FTBFS with automake-1.14 and -Werror=format-security (#1105990)
d4789a2
- Cleanup spec
d4789a2
ca37d69
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.7.rc2
ca37d69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ca37d69
ea04ea8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.6.rc2
ea04ea8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ea04ea8
6a51bf1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.5.rc2
6a51bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a51bf1
bc47589
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.4.rc2
bc47589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bc47589
4d31083
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.10-0.3.rc2
4d31083
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4d31083
0a23fb0
* Sat Jul 30 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.10-0.2.rc2
0a23fb0
- Rebuild for broken deps on Rawhide/F16
0a23fb0
6653659
* Mon Jun 27 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.10-0.1.rc2
6653659
- New upstream release
6653659
6653659
* Sun Jun 26 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.9-9
6653659
- Add .desktop files for GUI applications in ax25-tools-x
6653659
- Upload source to git
6653659
6653659
* Sun Jun 26 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.9-8
6653659
- Seperate documentation into sperate package
6653659
6653659
* Sun Jun 26 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.9-7
6653659
- Attempt rebuild including upstream recommendations
6653659
- Additional BuildRequires libX11-devel
6653659
88dcf48
* Tue Jun 21 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.9-6
88dcf48
- Rebuild test including new BRs
88dcf48
88dcf48
* Tue Jun 21 2011 Ralf Baechle <ralf@linux-mips.org> - 0.0.9-5
88dcf48
- Added BRs libXi-devel, fltk-devel
88dcf48
88dcf48
* Tue Jun 21 2011 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 0.0.9-4
88dcf48
- Rebuild per bz #545272
88dcf48
16f1854
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-3
16f1854
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
16f1854
3e4a11e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
3e4a11e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3e4a11e
b0d2505
* Thu Mar 12 2009 Randall J. Berry <dp67@fedoraproject.org> 0.0.9-1
b0d2505
- Upstream update to 0.0.9, #488049
b0d2505
- Upstream URL has changed
b0d2505
- Remove patches applied to newer source
1d82d1b
ae21e03
* Thu Dec 11 2008 Sindre Pedersen Bjørdal <foolish@guezz.net> 0.0.8-3
ae21e03
- Fix pseudo-terminal issue, #475045
ae21e03
832d9e1
* Sat Feb 16 2008 Robert 'Bob' Jensen <bob@bobjensen.com> 0.0.8-2
832d9e1
- Submit for review
ae21e03
832d9e1
* Thu Dec 06 2007 Sindre Pedersen Bjørdal <foolish@guezz.net> 0.0.8-1
832d9e1
- Initial Build