]>
Commit | Line | Data |
---|---|---|
5c76988c | 1 | # |
2 | # TODO: - rm not needed *.el | |
3 | # | |
4 | Summary: Emacspeak - speech output interface to Emacs | |
f653eb34 | 5 | Summary(pl.UTF-8): Emacspeak - mówiony interfejs wyjściowy dla Emacsa |
5c76988c | 6 | Name: emacspeak |
7 | Version: 24 | |
613cc62f | 8 | Release: 1 |
5c76988c | 9 | License: GPL v2 |
10 | Group: Applications/Sound | |
613cc62f | 11 | Source0: http://emacspeak.googlecode.com/files/%{name}-%{version}.tar.bz2 |
5c76988c | 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/ | |
19 | BuildRequires: emacs | |
613cc62f | 20 | BuildRequires: emacs-gnus |
5c76988c | 21 | BuildRequires: lynx |
5c76988c | 22 | BuildRequires: perl-base |
e1a2db00 | 23 | BuildRequires: texinfo |
5c76988c | 24 | Requires: emacs |
25 | BuildArch: noarch | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
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 | |
e1a2db00 | 35 | written in Tcl to support the DECtalk Express and DECtalk MultiVoice |
5c76988c | 36 | speech synthesizers. For other synthesizers, look for separate |
37 | speech server packages such as emacspeak-ss and eflite. | |
38 | ||
591ffa61 JR |
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 | |
e1a2db00 | 42 | o Emacsa. Po uruchomieniu Emacsa z wczytanym Emacspeakiem otrzymujemy |
591ffa61 JR |
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. | |
5c76988c | 49 | |
50 | %prep | |
51 | %setup -q -n %{name}-%{version}.0 | |
52 | %patch0 -p1 | |
53 | %patch1 -p1 | |
54 | %patch2 -p1 | |
55 | %patch3 -p1 | |
56 | %patch4 -p1 | |
57 | ||
58 | %build | |
59 | %{__make} config | |
613cc62f | 60 | %{__make} -j1 emacspeak |
5c76988c | 61 | |
62 | cd info | |
e1a2db00 | 63 | %{__perl} -pi-orig -e 's/^\@c\$$Id/@c $$Id/; |
5c76988c | 64 | s/^\@raggedright//; |
65 | s/\@setfilename\./@setfilename ./' emacspeak.texi | |
66 | ||
e1a2db00 JB |
67 | %{__perl} -pi-orig -e 's/^\s\{8\}//' tts-server.texi |
68 | %{__perl} -pi-orig -e 's/^ @section/@section/' tts.texi | |
5c76988c | 69 | |
70 | texi2html -monolithic emacspeak.texi | |
71 | for x in emacspeak tts-server tts; do | |
72 | mv $x.texi-orig $x.texi | |
73 | done | |
74 | lynx -dump -nolist emacspeak.html > emacspeak.txt | |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
82 | install -D debian/emacspeak.conf $RPM_BUILD_ROOT%{_sysconfdir}/emacspeak.conf | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
d3336196 ER |
87 | %post -p /sbin/postshell |
88 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
5c76988c | 89 | |
d3336196 ER |
90 | %postun -p /sbin/postshell |
91 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
5c76988c | 92 | |
93 | %files | |
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* | |
100 | %{_mandir}/man1/*.1* |