File cwdaemon.spec of Package cwdaemon

#
# spec file for package cwdaemon
#
# Copyright (c) 2008-2023 Walter Fey DL8FCL
# Copyright (c) 2003-2004 Joop Stakenborg pg4i@amsat.org
#
# This file is under MIT license

Name:           cwdaemon
Version:        0.12.0
Release:        0
License:        GPL-2.0-only
Summary:        Morse daemon for the parallel or serial port
Url:            http://sourceforge.net/projects/cwdaemon/files/
Group:          Productivity/Hamradio/Other
Source:         %{name}-%{version}.tar.gz

BuildRequires:  pkgconfig
BuildRequires:  unixcw-devel >= 3.3.1

%description
Cwdaemon is a small daemon which uses the pc parallel or serial port 
and a simple transistor switch to output morse code to a transmitter
from a text message sent to it via the udp internet protocol.

%package examples 
Summary:        Cwdaemon examples
Group:          Development/Libraries/Other
BuildArch:      noarch
Requires:       %{name} = %{version}

%description examples
In this package are three examples of how to interface cwdaemon.
You can treat them as hints about how to write an application interfacing
cwdaemon.

%prep
%setup -q

%build
%configure
%make_build

%install
%make_install

%files
%license COPYING
%doc ChangeLog NEWS
%{_sbindir}/cwdaemon
%{_mandir}/man8/cwdaemon.8.gz
%dir %{_datadir}/cwdaemon/
%{_datadir}/cwdaemon/*.jpg
%{_datadir}/cwdaemon/*.ps
%{_datadir}/cwdaemon/cwsetup.sh
%{_datadir}/cwdaemon/cwdaemon.png

%files examples
%defattr(-,root,root)
%{_datadir}/cwdaemon/Makefile.*
%{_datadir}/cwdaemon/example.*
%{_datadir}/cwdaemon/README

%changelog
openSUSE Build Service is sponsored by