2 # TODO: - rm not needed *.el
4 Summary: Emacspeak - speech output interface to Emacs
5 Summary(pl.UTF-8): Emacspeak - mówiony interfejs wyjściowy dla Emacsa
10 Group: Applications/Sound
11 Source0: http://emacspeak.googlecode.com/files/%{name}-%{version}.tar.bz2
12 # Source0-md5: 3ff73f803dd2562018085cecdbdbef83
13 Patch0: %{name}-debian.patch
14 Patch1: %{name}-Makefile.patch
15 Patch2: %{name}-emacspeak.conf.patch
16 Patch3: %{name}-emacspeak.sh.patch
17 Patch4: %{name}-tclsh.patch
18 URL: http://emacspeak.sorceforge.net/
20 BuildRequires: emacs-gnus
22 BuildRequires: perl-base
23 BuildRequires: texinfo
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Emacspeak is a speech output system that will allow someone who
30 cannot see to work directly on a UNIX system. Emacspeak is built on
31 top of Emacs. Once you start emacs with emacspeak loaded, you get
32 spoken feedback for everything you do. Your mileage will vary
33 depending on how well you can use Emacs. There is nothing that you
34 cannot do inside Emacs :-). This package includes speech servers
35 written in Tcl to support the DECtalk Express and DECtalk MultiVoice
36 speech synthesizers. For other synthesizers, look for separate
37 speech server packages such as emacspeak-ss and eflite.
39 %description -l pl.UTF-8
40 Emacspeak to system wyjścia mówionego pozwalający niewidomym pracować
41 bezpośrednio na systemie uniksowym. Emacspeak jest zbudowany w oparciu
42 o Emacsa. Po uruchomieniu Emacsa z wczytanym Emacspeakiem otrzymujemy
43 mówione potwierdzenie wszystkiego, co robimy. Korzyści zależą od tego,
44 na ile dobrze umiemy korzystać z Emacsa - nie ma niczego, czego by się
45 nie dało w nim zrobić :-). Ten pakiet zawiera serwery mowy napisane w
46 Tcl-u do obsługi syntezatorów mowy DECtalk Express i DECtalk
47 MultiVoice. Dla innych syntezatorów dostępne są oddzielne pakiety
48 serwerów mowy, takie jak emacspeak-ss czy eflite.
51 %setup -q -n %{name}-%{version}.0
60 %{__make} -j1 emacspeak
63 %{__perl} -pi-orig -e 's/^\@c\$$Id/@c $$Id/;
65 s/\@setfilename\./@setfilename ./' emacspeak.texi
67 %{__perl} -pi-orig -e 's/^\s\{8\}//' tts-server.texi
68 %{__perl} -pi-orig -e 's/^ @section/@section/' tts.texi
70 texi2html -monolithic emacspeak.texi
71 for x in emacspeak tts-server tts; do
72 mv $x.texi-orig $x.texi
74 lynx -dump -nolist emacspeak.html > emacspeak.txt
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
82 install -D debian/emacspeak.conf $RPM_BUILD_ROOT%{_sysconfdir}/emacspeak.conf
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/postshell
88 -/usr/sbin/fix-info-dir -c %{_infodir}
90 %postun -p /sbin/postshell
91 -/usr/sbin/fix-info-dir -c %{_infodir}
94 %defattr(644,root,root,755)
95 %doc README debian/DOC debian/README.Debian debian/*.html
96 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/emacspeak.conf
97 %attr(755,root,root) %{_bindir}/*
98 %{_emacs_lispdir}/emacspeak
99 %{_infodir}/emacspeak.info*