Name: demorse
Version: 0.9
Release: 2%{?dist}
Summary: Command line tool for decoding Morse code signals
Group: Applications/Communications
License: GPLv2+
URL: http://5b4az.chronos.org.uk/pages/morse.html
Source0: http://5b4az.chronos.org.uk/pkg/morse/%{name}/%{name}-%{version}.tar.gz
Patch0: demorse-0.9-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
#Requires:
%description
demorse is a non-interactive command line tool for decoding Morse code signals
into text. demorse detects the "dihs" and "dahs" that make a Morse code
character via the computer's sound card, which can be connected to a radio
receiver tuned to a CW Morse code transmission or to a tone generator.
The input signal is processed by a Goertzel tone detector which produces "mark"
or "space" (signal/no signal) outputs and the resulting stream of Morse code
"elements" is decoded into an ASCII character for printing to the screen.
Currently demorse is a non- interactive command line tool for the console and
decoded Morse signals are sent to stdout.
%prep
%setup -q -n demorse
%patch0 -p1
%build
make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
#doesn't contain a copy of GPLv2 License, queried upstream
%defattr(-,root,root,-)
%doc AUTHORS README doc/demorse.html doc/Morsecode.txt
%{_bindir}/%{name}
%changelog
* Fri Feb 29 2008 David Woodhouse <dwmw2@infradead.org> 0.9-2
- Fix CFLAGS
* Fri Feb 29 2008 Robert 'Bob' Jensen <bob@bobjensen.com> 0.9-1
- New Upstream Version
* Sun Feb 17 2008 Robert 'Bob' Jensen <bob@bobjensen.com> 0.8-3
- Initial SPEC
* Wed Nov 21 2007 Sindre Pedersen Bjørdal <foolish@guezz.net> 0.8-2
- Update License tag
- Copy of GPL is missing form upstream tarball, make note of this
- Rewrite makefile Patch
- include doc files
* Tue May 15 2007 Robert 'Bob' Jensen <bob@bobjensen.com> 0.8-0
- Initial SPEC