]> git.pld-linux.org Git - packages/emacspeak.git/blob - emacspeak.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/emacspeak.git] / emacspeak.spec
1 #
2 # TODO: - rm not needed *.el
3 #
4 Summary:        Emacspeak - speech output interface to Emacs
5 Summary(pl.UTF-8):      Emacspeak - mówiony interfejs wyjściowy dla Emacsa
6 Name:           emacspeak
7 Version:        24
8 Release:        1
9 License:        GPL v2
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/
19 BuildRequires:  emacs
20 BuildRequires:  emacs-gnus
21 BuildRequires:  lynx
22 BuildRequires:  perl-base
23 BuildRequires:  texinfo
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
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.
38
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.
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
60 %{__make} -j1 emacspeak
61
62 cd info
63 %{__perl} -pi-orig -e 's/^\@c\$$Id/@c $$Id/;             
64         s/^\@raggedright//;
65         s/\@setfilename\./@setfilename ./' emacspeak.texi
66
67 %{__perl} -pi-orig -e 's/^\s\{8\}//' tts-server.texi
68 %{__perl} -pi-orig -e 's/^ @section/@section/' tts.texi
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
87 %post   -p      /sbin/postshell
88 -/usr/sbin/fix-info-dir -c %{_infodir}
89
90 %postun -p      /sbin/postshell
91 -/usr/sbin/fix-info-dir -c %{_infodir}
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.085754 seconds and 3 git commands to generate.