package created by autospec [release 30.0-1mamba;Tue Sep 22 2009]

This commit is contained in:
Silvan Calarco 2024-01-05 22:05:07 +01:00
parent 150080a7dc
commit 107e62a8d6
5 changed files with 188 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# emacspeak
Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop.

View File

@ -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

View File

@ -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.

View File

@ -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 <ssh $host -l $user -p $port $tcl $tts>"
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 <ssh $host -l $user -p $port $tcl $tts>"
exec ssh -o StrictHostKeyChecking=no $host \

65
emacspeak.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <pagina-info>
%preun
%uninstall_info <pagina-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 <silvan.calarco@mambasoft.it> 30.0-1mamba
- package created by autospec