]> git.pld-linux.org Git - packages/emacspeak.git/blob - emacspeak.spec
- new
[packages/emacspeak.git] / emacspeak.spec
1 #
2 # TODO: - rm not needed *.el
3 #
4 Summary:        Emacspeak - speech output interface to Emacs
5 Summary(pl):    Emacspeak - mówiony interfejs wyj¶ciowy dla Emacsa
6 Name:           emacspeak
7 Version:        24
8 Release:        0.1
9 License:        GPL v2
10 Group:          Applications/Sound
11 Source0:        http://dl.sorceforge.net/emacspeak/%{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:  lynx
21 BuildRequires:  texinfo
22 BuildRequires:  perl-base
23 Requires:       emacs
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Emacspeak is a speech output system that will allow someone who
29 cannot see to work directly on a UNIX system.  Emacspeak is built on
30 top of Emacs.  Once you start emacs with emacspeak loaded, you get
31 spoken feedback for everything you do.  Your mileage will vary
32 depending on how well you can use Emacs.  There is nothing that you
33 cannot do inside Emacs :-).  This package includes speech servers
34 written in tcl to support the DECtalk Express and DECtalk MultiVoice
35 speech synthesizers.  For other synthesizers, look for separate
36 speech server packages such as emacspeak-ss and eflite.
37
38 #%description -l pl
39
40 %prep
41 %setup -q -n %{name}-%{version}.0
42 %patch0 -p1
43 %patch1 -p1
44 %patch2 -p1
45 %patch3 -p1
46 %patch4 -p1
47
48 %build
49 %{__make} config
50 %{__make} emacspeak
51
52 cd info
53 perl -pi-orig -e 's/^\@c\$$Id/@c $$Id/;             
54         s/^\@raggedright//;
55         s/\@setfilename\./@setfilename ./' emacspeak.texi
56
57 perl -pi-orig -e 's/^\s\{8\}//' tts-server.texi
58 perl -pi-orig -e 's/^ @section/@section/' tts.texi
59
60 texi2html -monolithic emacspeak.texi
61 for x in emacspeak tts-server tts; do
62         mv $x.texi-orig $x.texi
63 done
64 lynx -dump -nolist emacspeak.html > emacspeak.txt
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 install -D debian/emacspeak.conf $RPM_BUILD_ROOT%{_sysconfdir}/emacspeak.conf
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post
78 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
79
80 %postun
81 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
82
83 %files
84 %defattr(644,root,root,755)
85 %doc README debian/DOC debian/README.Debian debian/*.html
86 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/emacspeak.conf
87 %attr(755,root,root) %{_bindir}/*
88 %{_emacs_lispdir}/emacspeak
89 %{_infodir}/emacspeak.info*
90 %{_mandir}/man1/*.1*
This page took 0.075157 seconds and 3 git commands to generate.