fix /usr/bin/tcl shebang in servers/ssh-espeak [release 52.0-2mamba;Sun May 24 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 22:05:07 +01:00
parent 107e62a8d6
commit bfe0b35648

View File

@ -1,65 +1,115 @@
Name: emacspeak Name: emacspeak
Version: 30.0 Version: 52.0
Release: 1mamba Release: 2mamba
Summary: Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop Summary: Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop
Group: System/Multimedia Group: System/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://code.google.com/p/emacspeak/ URL: http://emacspeak.sourceforge.net/
Source: http://emacspeak.googlecode.com/files/emacspeak-%{version}.tar.bz2 Source: https://github.com/tvraman/emacspeak/releases/download/%{version}/emacspeak-%{version}.tar.bz2
Patch0: %{name}-30.0-no_install_info.patch Patch0: %{name}-30.0-no_install_info.patch
Patch1: %{name}-30.0-tclsh.patch Patch1: %{name}-30.0-tclsh.patch
Patch2: %{name}-30.0-python.patch Patch2: %{name}-30.0-python.patch
License: GPL License: GPL
PreReq: %{__install_info} ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libalsa-devel
BuildRequires: libespeak-ng-devel
BuildRequires: libgcc
BuildRequires: libperl
BuildRequires: libstdc++6-devel
BuildRequires: libtcl-devel
BuildRequires: perl-devel
BuildRequires: perl-HTML-TableExtract
BuildRequires: perl-libwww
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRequires: emacs-nox BuildRequires: emacs-nox
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop. Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop.
%debug_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 #-D -T
%patch1 -p1 #:<< _EOF
%patch2 -p1 #%patch0 -p1
#%patch1 -p1
#%patch2 -p1
sed -i "s|-m32||" servers/linux-outloud/Makefile
sed -i "s|^#!/usr/bin/tcl$|#!/usr/bin/tclsh|" servers/ssh-espeak
rm -f lisp/sudoku.el
%build %build
%make libdir=%{_libdir}/emacspeak make config
#:<< _EOF
%make
%make espeak outloud
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall infodir=%{buildroot}%{_infodir} libdir=%{buildroot}%{_libdir}/emacspeak install -d -m0755 %{buildroot}%{_libdir}/emacspeak
cp -a * %{buildroot}%{_libdir}/emacspeak/
rm -f %{buildroot}%{_infodir}/turning-twenty.info*
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info <pagina-info>
%preun
%uninstall_info <pagina-info>
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/emacspeak #%{_bindir}/emacspeak
%{_libdir}/emacspeak/.nosearch
%{_libdir}/emacspeak/README %{_libdir}/emacspeak/README
%{_libdir}/emacspeak/etc/ %{_libdir}/emacspeak/Makefile
%{_libdir}/emacspeak/install-guide/ %{_libdir}/emacspeak/README.md
%{_libdir}/emacspeak/js/ %{_libdir}/emacspeak/run
%{_libdir}/emacspeak/lisp/ %{_libdir}/emacspeak/runq
%{_libdir}/emacspeak/realaudio/ %dir %{_libdir}/emacspeak/bash-utils
%{_libdir}/emacspeak/sawfish/ %{_libdir}/emacspeak/bash-utils/*
%dir %{_libdir}/emacspeak/blog-archive
%{_libdir}/emacspeak/blog-archive/*
%dir %{_libdir}/emacspeak/etc/
%{_libdir}/emacspeak/etc/.nosearch
%{_libdir}/emacspeak/etc/.youtube-dl.repos
%{_libdir}/emacspeak/etc/*
%dir %{_libdir}/emacspeak/info
%{_libdir}/emacspeak/info/.nosearch
%{_libdir}/emacspeak/info/.spell.tex
%{_libdir}/emacspeak/info/.spell.words
%{_libdir}/emacspeak/info/*
%dir %{_libdir}/emacspeak/js
%{_libdir}/emacspeak/js/Readme.org
%{_libdir}/emacspeak/js/web-indium.json
%{_libdir}/emacspeak/js/.indium.json
%dir %{_libdir}/emacspeak/js/node
%{_libdir}/emacspeak/js/node/*
%dir %{_libdir}/emacspeak/js/phantom
%{_libdir}/emacspeak/js/phantom/*
%dir %{_libdir}/emacspeak/lisp/
%{_libdir}/emacspeak/lisp/*
%{_libdir}/emacspeak/media/
%{_libdir}/emacspeak/servers/ %{_libdir}/emacspeak/servers/
%{_libdir}/emacspeak/shoutcast/
%{_libdir}/emacspeak/sounds/ %{_libdir}/emacspeak/sounds/
%{_libdir}/emacspeak/user-guide/ %{_libdir}/emacspeak/stumpwm/
%{_libdir}/emacspeak/xsl/*.xsl %{_libdir}/emacspeak/xsl/*.xsl
%{_datadir}/info/emacspeak.info* %dir %{_libdir}/emacspeak/xsl
%doc README %{_libdir}/emacspeak/xsl/.nosearch
%{_libdir}/emacspeak/xsl/*
%changelog %changelog
* Sun May 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 52.0-2mamba
- fix /usr/bin/tcl shebang in servers/ssh-espeak
* Sun May 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 52.0-1mamba
- update to 52.0
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 44.0-1mamba
- update to 44.0
* Tue Sep 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 30.0-1mamba * Tue Sep 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 30.0-1mamba
- package created by autospec - package created by autospec