From 107e62a8d6f358cf98b4cf89ec8f381c000011fb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:05:07 +0100 Subject: [PATCH] package created by autospec [release 30.0-1mamba;Tue Sep 22 2009] --- README.md | 2 + emacspeak-30.0-no_install_info.patch | 19 ++++++ emacspeak-30.0-python.patch | 9 +++ emacspeak-30.0-tclsh.patch | 93 ++++++++++++++++++++++++++++ emacspeak.spec | 65 +++++++++++++++++++ 5 files changed, 188 insertions(+) create mode 100644 emacspeak-30.0-no_install_info.patch create mode 100644 emacspeak-30.0-python.patch create mode 100644 emacspeak-30.0-tclsh.patch create mode 100644 emacspeak.spec diff --git a/README.md b/README.md index 7614947..cea2732 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # emacspeak +Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop. + diff --git a/emacspeak-30.0-no_install_info.patch b/emacspeak-30.0-no_install_info.patch new file mode 100644 index 0000000..772c0fb --- /dev/null +++ b/emacspeak-30.0-no_install_info.patch @@ -0,0 +1,19 @@ +diff -Nru emacspeak-30.0.orig/info/Makefile emacspeak-30.0/info/Makefile +--- emacspeak-30.0.orig/info/Makefile 2008-12-08 23:32:59.000000000 +0100 ++++ emacspeak-30.0/info/Makefile 2009-09-22 21:40:48.406356391 +0200 +@@ -27,15 +27,9 @@ + $(EMACS) -batch -q -l ../utils/document-commands.el + + install: emacspeak.info +- if test -x /sbin/install-info ; then \ +- install-info emacspeak.info /etc/info-dir; \ +- fi + $(INSTALL) -m 644 *.info* $(infodir) + + uninstall: +- if test -e /sbin/install-info ; then \ +- install-info --delete $(infodir)/*.info /etc/info-dir; \ +- fi + rm -f $(infodir)/*.info* + emacspeak.info: emacspeak.texi + diff --git a/emacspeak-30.0-python.patch b/emacspeak-30.0-python.patch new file mode 100644 index 0000000..8eefe56 --- /dev/null +++ b/emacspeak-30.0-python.patch @@ -0,0 +1,9 @@ +diff -Nru emacspeak-30.0.orig/servers/python/HTTPSpeaker.py emacspeak-30.0/servers/python/HTTPSpeaker.py +--- emacspeak-30.0.orig/servers/python/HTTPSpeaker.py 2008-10-03 02:43:50.000000000 +0200 ++++ emacspeak-30.0/servers/python/HTTPSpeaker.py 2009-09-22 21:59:17.500356499 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python2.4 ++#!/usr/bin/python + + """HTTP wrapper around Emacspeak speech server. + diff --git a/emacspeak-30.0-tclsh.patch b/emacspeak-30.0-tclsh.patch new file mode 100644 index 0000000..a4339fd --- /dev/null +++ b/emacspeak-30.0-tclsh.patch @@ -0,0 +1,93 @@ +diff -Nru emacspeak-30.0.orig/sawfish/tts.jl emacspeak-30.0/sawfish/tts.jl +--- emacspeak-30.0.orig/sawfish/tts.jl 2008-10-03 02:43:53.000000000 +0200 ++++ emacspeak-30.0/sawfish/tts.jl 2009-09-22 21:55:46.155356981 +0200 +@@ -77,7 +77,7 @@ + (start-process tts-process tts-client tts-host + tts-port)) + +-(defvar tts-tcl "/usr/bin/tcl" ++(defvar tts-tcl "/usr/bin/tclsh" + "TCL interpreter") + + (defvar tts-dtk +diff -Nru emacspeak-30.0.orig/servers/dtk-exp emacspeak-30.0/servers/dtk-exp +--- emacspeak-30.0.orig/servers/dtk-exp 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/dtk-exp 2009-09-22 21:56:40.843606312 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + # $Id: dtk-exp 5528 2008-03-15 02:06:50Z tv.raman.tv $ + # Description: Interfacing to a Dectalk via TCL. + # Keywords: Emacspeak, Dectalk, TCL +diff -Nru emacspeak-30.0.orig/servers/dtk-soft emacspeak-30.0/servers/dtk-soft +--- emacspeak-30.0.orig/servers/dtk-soft 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/dtk-soft 2009-09-22 21:56:45.651606389 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + # Keywords: Emacspeak, Software Dectalk , TCL + # {{{ LCD Entry: + +diff -Nru emacspeak-30.0.orig/servers/espeak emacspeak-30.0/servers/espeak +--- emacspeak-30.0.orig/servers/espeak 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/espeak 2009-09-22 21:56:50.564356587 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + # Keywords: Emacspeak, eSpeak , TCL + # {{{ LCD Entry: + +diff -Nru emacspeak-30.0.orig/servers/outloud emacspeak-30.0/servers/outloud +--- emacspeak-30.0.orig/servers/outloud 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/outloud 2009-09-22 21:56:55.596356226 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + # Keywords: Emacspeak, ViaVoice Outloud , TCL + # {{{ LCD Entry: + +diff -Nru emacspeak-30.0.orig/servers/speech-server emacspeak-30.0/servers/speech-server +--- emacspeak-30.0.orig/servers/speech-server 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/speech-server 2009-09-22 21:57:00.539381225 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + # $Id: speech-server 4725 2007-07-02 02:12:26Z tv.raman.tv $ + # Description: Speech server + #Usage: tcl speech-server port device-specific-script +diff -Nru emacspeak-30.0.orig/servers/ssh-dtk-exp emacspeak-30.0/servers/ssh-dtk-exp +--- emacspeak-30.0.orig/servers/ssh-dtk-exp 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/ssh-dtk-exp 2009-09-22 21:57:45.190605920 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + #$Id: ssh-dtk-exp 5701 2008-07-20 17:51:31Z tv.raman.tv $ + #Description: Launch a TTS server on a remote host. + #Copyright (C) 1995 -- 2007, T. V. Raman +@@ -42,7 +42,7 @@ + } + + +-set tcl /usr/bin/tcl ++set tcl /usr/bin/tclsh + regsub {/ssh-} $argv0 {/} tts + puts stderr "Running " + exec ssh -o StrictHostKeyChecking=no $host \ +diff -Nru emacspeak-30.0.orig/servers/ssh-outloud emacspeak-30.0/servers/ssh-outloud +--- emacspeak-30.0.orig/servers/ssh-outloud 2008-10-03 02:43:51.000000000 +0200 ++++ emacspeak-30.0/servers/ssh-outloud 2009-09-22 21:57:34.101606524 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/tcl ++#!/usr/bin/tclsh + #$Id: ssh-outloud 5700 2008-07-20 17:46:53Z tv.raman.tv $ + #Description: Launch a TTS server on a remote host. + #Copyright (C) 1995 -- 2007, T. V. Raman +@@ -42,7 +42,7 @@ + } + + +-set tcl /usr/bin/tcl ++set tcl /usr/bin/tclsh + regsub {/ssh-} $argv0 {/} tts + puts stderr "Running " + exec ssh -o StrictHostKeyChecking=no $host \ diff --git a/emacspeak.spec b/emacspeak.spec new file mode 100644 index 0000000..9e2afc1 --- /dev/null +++ b/emacspeak.spec @@ -0,0 +1,65 @@ +Name: emacspeak +Version: 30.0 +Release: 1mamba +Summary: Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop +Group: System/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://code.google.com/p/emacspeak/ +Source: http://emacspeak.googlecode.com/files/emacspeak-%{version}.tar.bz2 +Patch0: %{name}-30.0-no_install_info.patch +Patch1: %{name}-30.0-tclsh.patch +Patch2: %{name}-30.0-python.patch +License: GPL +PreReq: %{__install_info} +BuildRequires: emacs-nox +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 + +%build +%make libdir=%{_libdir}/emacspeak + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeoldinstall infodir=%{buildroot}%{_infodir} libdir=%{buildroot}%{_libdir}/emacspeak + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info + +%preun +%uninstall_info + +%files +%defattr(-,root,root) +%{_bindir}/emacspeak +%{_libdir}/emacspeak/.nosearch +%{_libdir}/emacspeak/README +%{_libdir}/emacspeak/etc/ +%{_libdir}/emacspeak/install-guide/ +%{_libdir}/emacspeak/js/ +%{_libdir}/emacspeak/lisp/ +%{_libdir}/emacspeak/realaudio/ +%{_libdir}/emacspeak/sawfish/ +%{_libdir}/emacspeak/servers/ +%{_libdir}/emacspeak/shoutcast/ +%{_libdir}/emacspeak/sounds/ +%{_libdir}/emacspeak/user-guide/ +%{_libdir}/emacspeak/xsl/*.xsl +%{_datadir}/info/emacspeak.info* +%doc README + +%changelog +* Tue Sep 22 2009 Silvan Calarco 30.0-1mamba +- package created by autospec