diff --git a/.cvsignore b/.cvsignore index e69de29..55f29f4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +emacspeak.tar.gz diff --git a/emacspeak-15.0-fixpref.patch b/emacspeak-15.0-fixpref.patch new file mode 100644 index 0000000..ba5db33 --- /dev/null +++ b/emacspeak-15.0-fixpref.patch @@ -0,0 +1,11 @@ +--- emacspeak-15.0/info/Makefile.fixpref Tue Mar 5 12:33:18 2002 ++++ emacspeak-15.0/info/Makefile Tue Mar 5 12:34:00 2002 +@@ -11,7 +11,7 @@ + + install: emacspeak.info + if test -x /sbin/install-info ; then \ +- install-info emacspeak.info /etc/info-dir; \ ++ install-info emacspeak.info $(infodir)/info-dir; \ + fi + $(INSTALL) -m 644 emacspeak.info* $(infodir) + diff --git a/emacspeak.spec b/emacspeak.spec new file mode 100644 index 0000000..ab215f3 --- /dev/null +++ b/emacspeak.spec @@ -0,0 +1,103 @@ +#$Id: emacspeak.spec,v 1.1 2004/09/09 04:30:41 cvsdist Exp $cho +Summary: emacspeak -- The Complete Audio Desktop +Name: emacspeak +Version: 15.0 +Release: 3 +License: GPL +Group: Applications/Editors +Source: http://cs.cornell.edu/home/raman/emacspeak/emacspeak.tar.gz +URL: http://cs.cornell.edu/home/raman/emacspeak/emacspeak.html +Patch0: emacspeak-15.0-fixpref.patch +Requires: emacs +Prereq: info +BuildRequires: emacs findutils perl +ExclusiveArch: i386 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + + +%description +Emacspeak is a speech interface that allows visually impaired users to +interact independently and efficiently with the computer. Available free of +cost on the Internet, Emacspeak has dramatically changed how the author and +hundreds of blind and visually impaired users around the world interact with +the personal computer and the Internet. A rich suite of task-oriented +speech-enabled tools provides efficient speech-enabled access to the evolving +semantic WWW. When combined with Linux running on low-cost PC hardware, +Emacspeak/Linux provides a reliable, stable speech-friendly solution that +opens up the Internet to visually impaired users around the world. With +support for the freely downloadable IBM ViaVoice Outloud speech synthesis +engine, Emacspeak now turns Linux into the first zero-cost Internet access +solution for blind and visually impaired users. + +%prep +%setup +%patch0 -p1 + +# This shouldn't be in the tarball... +rm -fr `find -type d -name "CVS"` +rm -f realaudio/.nosearch + +%build +make config SRC=`pwd` +make + +%install +export PATH=$PATH:/sbin +mkdir -p $RPM_BUILD_ROOT/usr/share/info +make install prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT/usr/share/info +rm -f $RPM_BUILD_ROOT/usr/share/info/*dir* $RPM_BUILD_ROOT/usr/share/info/*gz +perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT/usr/bin/emacspeak + + +%post +if [ "$1" = 0 ]; then + /sbin/install-info %{_infodir}/emacspeak.info.gz %{_infodir}/dir --section "Accessibility" +fi + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --delete %{_infodir}/emacspeak.info.gz %{_infodir}/dir --section "Accessibility" +done +fi + + + + +%files +%defattr(-,root,root) +%doc servers/linux-outloud/VIAVOICE +%doc etc/NEWS* +%doc etc/FAQ +%doc etc/HELP +%doc etc/COPYRIGHT +%doc etc/tips.html +%doc etc/applications.html +%doc info/*.texi +%doc user-guide/acknowledgments.html +%doc user-guide/before-you-begin.html +%doc user-guide/entertainment.html +%doc user-guide/index.html +%doc user-guide/introduction.html +%doc user-guide/productivity.html +%doc user-guide/system-administration.html +%doc user-guide/working-online.html +%doc user-guide/working-with-files.html +%doc user-guide/espk-article.sgml +/usr/share/emacs/site-lisp/emacspeak/ +/usr/bin/* +%{_infodir}/* + +%changelog +* Thu Mar 28 2002 Trond Eivind Glomsr�d 15.0-3 +- Remove traces of the buildroot from /usr/bin/emacspeak (#62198) + +* Fri Mar 22 2002 Trond Eivind Glomsr�d 15.0-2 +- Remove CVS directories +- Various other cleanups + +* Tue Mar 5 2002 Trond Eivind Glomsr�d +- Add Changelog +- s/Copyright/License/ +- Remove vendor/packager +- Use Buildroot + diff --git a/sources b/sources index e69de29..c7769fd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1f8e94067e0641faca3792adc331fa19 emacspeak.tar.gz