emacspeak/emacspeak.spec

134 lines
3.9 KiB
RPMSpec

Name: emacspeak
Version: 56.0
Release: 1mamba
Summary: Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://emacspeak.sourceforge.net/
Source: https://github.com/tvraman/emacspeak/releases/download/%{version}/emacspeak-%{version}.tar.bz2
Patch0: %{name}-30.0-no_install_info.patch
Patch1: %{name}-30.0-tclsh.patch
Patch2: %{name}-30.0-python.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libespeak-ng-devel
BuildRequires: libgcc
BuildRequires: libperl
BuildRequires: libstdc++6-devel
BuildRequires: libtcl-devel
BuildRequires: perl-HTML-TableExtract
BuildRequires: perl-devel
BuildRequires: perl-libwww
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRequires: emacs-nox
%description
Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
#%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
# remove prebuilt x86_64 binary
rm -f etc/pickup-c/pickup
%build
make config
#:<< _EOF
%make
%make espeak outloud
make -C etc/pickup-c/
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_libdir}/emacspeak
cp -a * %{buildroot}%{_libdir}/emacspeak/
rm -f %{buildroot}%{_infodir}/turning-twenty.info*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
#%{_bindir}/emacspeak
%dir %{_libdir}/emacspeak
%{_libdir}/emacspeak/attic-readme
%{_libdir}/emacspeak/README
%{_libdir}/emacspeak/Makefile
%{_libdir}/emacspeak/README.md
%{_libdir}/emacspeak/run
%{_libdir}/emacspeak/runq
%dir %{_libdir}/emacspeak/bash-utils
%{_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/.codespell
%{_libdir}/emacspeak/info/*
%dir %{_libdir}/emacspeak/js
%{_libdir}/emacspeak/js/Readme.org
%{_libdir}/emacspeak/js/node/.indium.json
%dir %{_libdir}/emacspeak/js/node
%{_libdir}/emacspeak/js/node/*
%dir %{_libdir}/emacspeak/lisp/
%{_libdir}/emacspeak/lisp/*
%{_libdir}/emacspeak/lisp/.voices.txt
%dir %{_libdir}/emacspeak/media/
%{_libdir}/emacspeak/media/*
%{_libdir}/emacspeak/media/.nosearch
%dir %{_libdir}/emacspeak/nyxttalk
%{_libdir}/emacspeak/nyxttalk/*
%{_libdir}/emacspeak/servers/
%{_libdir}/emacspeak/sounds/
%{_libdir}/emacspeak/stumpwm/
%dir %{_libdir}/emacspeak/xsl
%{_libdir}/emacspeak/xsl/.nosearch
%{_libdir}/emacspeak/xsl/*
%changelog
* Sun May 08 2022 Automatic Build System <autodist@mambasoft.it> 56.0-1mamba
- automatic version update by autodist
* Mon Jan 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 55.0-2mamba
- fix prebuilt x86_64 binary installed
* Tue Jan 11 2022 Automatic Build System <autodist@mambasoft.it> 55.0-1mamba
- automatic version update by autodist
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 54.0-1mamba
- update to 54.0
* Fri Feb 05 2021 Automatic Build System <autodist@mambasoft.it> 53.0-1mamba
- automatic version update by autodist
* 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
- package created by autospec