]> git.pld-linux.org Git - packages/emacspeak.git/blame - emacspeak.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/emacspeak.git] / emacspeak.spec
CommitLineData
5c76988c 1#
2# TODO: - rm not needed *.el
3#
4Summary: Emacspeak - speech output interface to Emacs
f653eb34 5Summary(pl.UTF-8): Emacspeak - mówiony interfejs wyjściowy dla Emacsa
5c76988c 6Name: emacspeak
7Version: 24
613cc62f 8Release: 1
5c76988c 9License: GPL v2
10Group: Applications/Sound
613cc62f 11Source0: http://emacspeak.googlecode.com/files/%{name}-%{version}.tar.bz2
5c76988c 12# Source0-md5: 3ff73f803dd2562018085cecdbdbef83
13Patch0: %{name}-debian.patch
14Patch1: %{name}-Makefile.patch
15Patch2: %{name}-emacspeak.conf.patch
16Patch3: %{name}-emacspeak.sh.patch
17Patch4: %{name}-tclsh.patch
18URL: http://emacspeak.sorceforge.net/
19BuildRequires: emacs
613cc62f 20BuildRequires: emacs-gnus
5c76988c 21BuildRequires: lynx
5c76988c 22BuildRequires: perl-base
e1a2db00 23BuildRequires: texinfo
5c76988c 24Requires: emacs
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Emacspeak is a speech output system that will allow someone who
30cannot see to work directly on a UNIX system. Emacspeak is built on
31top of Emacs. Once you start emacs with emacspeak loaded, you get
32spoken feedback for everything you do. Your mileage will vary
33depending on how well you can use Emacs. There is nothing that you
34cannot do inside Emacs :-). This package includes speech servers
e1a2db00 35written in Tcl to support the DECtalk Express and DECtalk MultiVoice
5c76988c 36speech synthesizers. For other synthesizers, look for separate
37speech server packages such as emacspeak-ss and eflite.
38
591ffa61
JR
39%description -l pl.UTF-8
40Emacspeak to system wyjścia mówionego pozwalający niewidomym pracować
41bezpośrednio na systemie uniksowym. Emacspeak jest zbudowany w oparciu
e1a2db00 42o Emacsa. Po uruchomieniu Emacsa z wczytanym Emacspeakiem otrzymujemy
591ffa61
JR
43mówione potwierdzenie wszystkiego, co robimy. Korzyści zależą od tego,
44na ile dobrze umiemy korzystać z Emacsa - nie ma niczego, czego by się
45nie dało w nim zrobić :-). Ten pakiet zawiera serwery mowy napisane w
46Tcl-u do obsługi syntezatorów mowy DECtalk Express i DECtalk
47MultiVoice. Dla innych syntezatorów dostępne są oddzielne pakiety
48serweró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
62cd 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
70texi2html -monolithic emacspeak.texi
71for x in emacspeak tts-server tts; do
72 mv $x.texi-orig $x.texi
73done
74lynx -dump -nolist emacspeak.html > emacspeak.txt
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82install -D debian/emacspeak.conf $RPM_BUILD_ROOT%{_sysconfdir}/emacspeak.conf
83
84%clean
85rm -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*
This page took 0.067171 seconds and 4 git commands to generate.