File flwkey.spec of Package flwkey

#
# spec file for package flwkey
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           flwkey
Version:        1.2.4
Release:        0
Summary:        Modem program for the K1EL Winkeyer series
License:        GPL-2.0
Group:          Productivity/Hamradio/Morse
URL:            http://www.w1hkj.com/
#Git-Clone:     https://git.code.sf.net/p/fldigi/flwkey
Source:         http://sourceforge.net/projects/fldigi/files/%{name}/%{name}-%{version}.tar.gz
BuildRequires:  fltk-devel
BuildRequires:  flxmlrpc-devel
BuildRequires:  gcc-c++
BuildRequires:  update-desktop-files
Requires(post): update-desktop-files
Requires(postun): update-desktop-files

%description
FLWKEY is a simple interface to the Winkeyer series of CW code generators. It
can be used with both the Winkeyer 1.x and 2.x series as well as the RigExpert
and other units that either use the K1EL chipset or emulate it's behavior.

%prep
%setup -q

%build
export BUILD_DATE=`date -d@0`
export BUILD_USER=openSUSE
export BUILD_HOST=openSUSE
%configure
%make_build

%install
%make_install

%suse_update_desktop_file -i flwkey

%check

%files
%license COPYING
%doc AUTHORS ChangeLog README
%{_bindir}/flwkey
%{_datadir}/applications/flwkey.desktop
%{_datadir}/pixmaps/flwkey.xpm

%changelog
openSUSE Build Service is sponsored by