File tlf.spec of Package tlf

#
# spec file for package tlf
#

Name:           tlf
Version:        1.4.1
Release:        0
Summary:        Contest logging program
License:        GPL-2.0-only
Group:          Productivity/Hamradio/Logging
URL:            https://github.com/Tlf/tlf
Source:         https://github.com/Tlf/tlf/archive/refs/tags/%{name}-%{version}.tar.gz
Patch0:         tlf-1.4.1-hamlib-4.2-build-fix.patch
Patch1:         tlf-1.4.1-fsf-address-fix.patch
Patch2:         tlf-1.4.1-format-security-fix.patch
Patch3:         tlf-c99.patch
Patch4:         tlf-1.4.1-gcc-15-fix.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  glib2-devel
BuildRequires:  hamlib-devel
BuildRequires:  libcmocka-devel
BuildRequires:  ncurses-devel
BuildRequires:  pkgconfig
BuildRequires:  xmlrpc-c-devel
Recommends:     cwdaemon
Recommends:     sox

%description
TLF is a curses based console mode general logging and contest program for
amateur radio.
It supports the CQWW, the WPX, the ARRL-DX, the ARRL-FD, the PACC and the EU
SPRINT shortwave contests (single operator) as well as a LOT MORE basic
contests, general QSO and DXpedition mode.

%prep
%autosetup -p1

%build
autoreconf -fi
%configure --enable-hamlib --enable-fldigi-xmlrpc
%make_build

%install
%make_install

%check
#make -C test check

%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/tlf
%{_bindir}/play_vk
%{_bindir}/soundlog
%{_datadir}/tlf
%{_datadir}/doc/tlf
%{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by