rpms/demorse/F-8 demorse-0.8-makefile.patch, NONE, 1.1 demorse.spec, NONE, 1.1 sources, 1.1, 1.2
Robert 'Bob' Jensen (bjensen)
fedora-extras-commits at redhat.com
Wed Feb 20 01:45:03 UTC 2008
Author: bjensen
Update of /cvs/pkgs/rpms/demorse/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27006
Modified Files:
sources
Added Files:
demorse-0.8-makefile.patch demorse.spec
Log Message:
Committing in demorse for F8.
Modified Files:
Makefile sources
Added Files:
demorse-0.8-makefile.patch demorse.spec
demorse-0.8-makefile.patch:
--- NEW FILE demorse-0.8-makefile.patch ---
diff -up demorse-0.8/Makefile.orig demorse-0.8/Makefile
--- demorse-0.8/Makefile.orig 2007-11-21 22:26:26.000000000 +0100
+++ demorse-0.8/Makefile 2007-11-21 22:50:35.000000000 +0100
@@ -2,10 +2,12 @@
SHELL = /bin/sh
PROJECT = demorse
-BINDIR = /usr/local/bin
-DOCDIR = /usr/local/share/
+BINDIR = /usr/bin/
+DOCDIR = /usr/share/doc/
CC = gcc -Wall -O2
+DESTDIR=
+
objects = decode.o demorse.o detect.o sound.o
$(PROJECT) : $(objects)
@@ -14,12 +16,11 @@ $(PROJECT) : $(objects)
$(objects) : $(PROJECT).h
install : $(PROJECT)
- install -m 755 --strip $(PROJECT) $(BINDIR)
- install -m 644 doc/$(PROJECT).html $(DOCDIR)
+ install -D -m 755 $(PROJECT) $(DESTDIR)$(BINDIR)/$(PROJECT)
uninstall :
- rm $(BINDIR)/$(PROJECT)
- rm $(DOCDIR)/$(PROJECT).html
+ rm $(DESTDIR)$(BINDIR)/$(PROJECT)
+ rm $(DESTDIR)$(DOCDIR)/$(PROJECT).html
clean :
rm -f *.o *~
--- NEW FILE demorse.spec ---
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 at bobjensen.com> 0.8-3
- Initial SPEC
* Wed Nov 21 2007 Sindre Pedersen Bjørdal <foolish at 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 at bobjensen.com> 0.8-0
- Initial SPEC
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/demorse/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Feb 2008 20:37:18 -0000 1.1
+++ sources 20 Feb 2008 01:44:24 -0000 1.2
@@ -0,0 +1 @@
+d96d63ba6f43b9d22ae8e910d4544d95 demorse-0.8.tar.gz
More information about the fedora-extras-commits
mailing list