Blob Blame History Raw
Name:		demorse
Version:	0.8
Release:	3%{?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.8-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
%patch0 -p1


%build
make %{?_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
* 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