From: twittner Date: Sun, 17 Sep 2006 13:28:45 +0000 (+0000) Subject: - new X-Git-Tag: auto/th/emacspeak-24-1~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Femacspeak.git;a=commitdiff_plain;h=5c76988ca061873bef15bbaa811fb9bfede3bb20 - new Changed files: emacspeak.spec -> 1.1 --- diff --git a/emacspeak.spec b/emacspeak.spec new file mode 100644 index 0000000..0fb17e7 --- /dev/null +++ b/emacspeak.spec @@ -0,0 +1,90 @@ +# +# TODO: - rm not needed *.el +# +Summary: Emacspeak - speech output interface to Emacs +Summary(pl): Emacspeak - mówiony interfejs wyj¶ciowy dla Emacsa +Name: emacspeak +Version: 24 +Release: 0.1 +License: GPL v2 +Group: Applications/Sound +Source0: http://dl.sorceforge.net/emacspeak/%{name}-%{version}.tar.bz2 +# Source0-md5: 3ff73f803dd2562018085cecdbdbef83 +Patch0: %{name}-debian.patch +Patch1: %{name}-Makefile.patch +Patch2: %{name}-emacspeak.conf.patch +Patch3: %{name}-emacspeak.sh.patch +Patch4: %{name}-tclsh.patch +URL: http://emacspeak.sorceforge.net/ +BuildRequires: emacs +BuildRequires: lynx +BuildRequires: texinfo +BuildRequires: perl-base +Requires: emacs +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Emacspeak is a speech output system that will allow someone who +cannot see to work directly on a UNIX system. Emacspeak is built on +top of Emacs. Once you start emacs with emacspeak loaded, you get +spoken feedback for everything you do. Your mileage will vary +depending on how well you can use Emacs. There is nothing that you +cannot do inside Emacs :-). This package includes speech servers +written in tcl to support the DECtalk Express and DECtalk MultiVoice +speech synthesizers. For other synthesizers, look for separate +speech server packages such as emacspeak-ss and eflite. + +#%description -l pl + +%prep +%setup -q -n %{name}-%{version}.0 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 + +%build +%{__make} config +%{__make} emacspeak + +cd info +perl -pi-orig -e 's/^\@c\$$Id/@c $$Id/; + s/^\@raggedright//; + s/\@setfilename\./@setfilename ./' emacspeak.texi + +perl -pi-orig -e 's/^\s\{8\}//' tts-server.texi +perl -pi-orig -e 's/^ @section/@section/' tts.texi + +texi2html -monolithic emacspeak.texi +for x in emacspeak tts-server tts; do + mv $x.texi-orig $x.texi +done +lynx -dump -nolist emacspeak.html > emacspeak.txt + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install -D debian/emacspeak.conf $RPM_BUILD_ROOT%{_sysconfdir}/emacspeak.conf + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 + +%postun +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 + +%files +%defattr(644,root,root,755) +%doc README debian/DOC debian/README.Debian debian/*.html +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/emacspeak.conf +%attr(755,root,root) %{_bindir}/* +%{_emacs_lispdir}/emacspeak +%{_infodir}/emacspeak.info* +%{_mandir}/man1/*.1*