2024-01-05 22:05:07 +01:00
|
|
|
Name: emacspeak
|
2024-05-25 00:13:52 +02:00
|
|
|
Version: 60.0
|
2024-02-28 23:22:08 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 22:05:07 +01:00
|
|
|
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>
|
2024-01-05 22:05:08 +01:00
|
|
|
URL: https://emacspeak.sourceforge.net/
|
2024-01-05 22:05:07 +01:00
|
|
|
Source: https://github.com/tvraman/emacspeak/releases/download/%{version}/emacspeak-%{version}.tar.bz2
|
2024-01-05 22:05:07 +01:00
|
|
|
License: GPL
|
2024-01-05 22:05:07 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libespeak-ng-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtcl-devel
|
|
|
|
BuildRequires: perl-HTML-TableExtract
|
2024-01-05 22:05:07 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 22:05:07 +01:00
|
|
|
BuildRequires: perl-libwww
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires(post):%{__install_info}
|
2024-01-05 22:05:07 +01:00
|
|
|
BuildRequires: emacs-nox
|
|
|
|
|
|
|
|
%description
|
|
|
|
Emacspeak speech-enables Emacs to turn Emacs into a complete audio desktop.
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 22:05:07 +01:00
|
|
|
sed -i "s|-m32||" servers/linux-outloud/Makefile
|
|
|
|
rm -f lisp/sudoku.el
|
2024-01-05 22:05:07 +01:00
|
|
|
# remove prebuilt x86_64 binary
|
|
|
|
rm -f etc/pickup-c/pickup
|
2024-01-05 22:05:07 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 22:05:07 +01:00
|
|
|
make config
|
|
|
|
#:<< _EOF
|
|
|
|
%make
|
|
|
|
%make espeak outloud
|
2024-01-05 22:05:07 +01:00
|
|
|
make -C etc/pickup-c/
|
2024-01-05 22:05:07 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 22:05:07 +01:00
|
|
|
|
2024-05-25 00:13:52 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak
|
|
|
|
cp -pr bash-utils etc lisp media servers sounds stumpwm xsl %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak/
|
|
|
|
|
|
|
|
make -C servers/native-espeak install LIBPARENTDIR=%{buildroot}%{_libdir}
|
|
|
|
ln -sf %{_libdir}/emacspeak/servers/native-espeak/tclespeak.so %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak/servers/native-espeak/
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
sed -e "s/FLAVOR/emacs/" -e "s!ELCDIR!%{_datadir}/emacs/site-lisp/emacspeak!" etc/emacspeak.sh > %{buildroot}%{_bindir}/emacspeak
|
|
|
|
chmod 0755 %{buildroot}%{_bindir}/emacspeak
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_infodir}
|
|
|
|
cp -p info/*.info* %{buildroot}%{_infodir}
|
|
|
|
|
|
|
|
# remove unwanted data files
|
|
|
|
( cd %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak
|
|
|
|
rm etc/bootstrap.sh
|
|
|
|
rm -r etc/pickup-c
|
|
|
|
rm -r servers/*outloud*
|
|
|
|
rm servers/mac
|
|
|
|
rm servers/native-espeak/tclespeak.{cpp,o}
|
|
|
|
rm etc/COPYRIGHT
|
|
|
|
chmod a-x servers/.servers servers/tts-lib.tcl
|
|
|
|
find \( -name .nosearch -o -name Makefile \) -delete
|
|
|
|
)
|
2024-01-05 22:05:07 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-05-25 00:13:52 +02:00
|
|
|
%{_bindir}/emacspeak
|
2024-01-05 22:05:07 +01:00
|
|
|
%dir %{_libdir}/emacspeak
|
2024-02-28 23:22:08 +01:00
|
|
|
%{_libdir}/emacspeak/*
|
2024-05-25 00:13:52 +02:00
|
|
|
%dir %{_datadir}/emacs/site-lisp/emacspeak
|
|
|
|
%{_datadir}/emacs/site-lisp/emacspeak/*
|
|
|
|
%{_infodir}/emacspeak.info*
|
|
|
|
%{_infodir}/introducing-emacspeak.info*
|
|
|
|
%{_infodir}/turning-twenty.info*
|
2024-01-05 22:05:07 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-05-25 00:13:52 +02:00
|
|
|
* Fri May 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 60.0-2mamba
|
|
|
|
- fix install section (from Fedora)
|
|
|
|
|
|
|
|
* Tue May 21 2024 Automatic Build System <autodist@openmamba.org> 60.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-28 23:22:08 +01:00
|
|
|
* Wed Feb 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 59.0-2mamba
|
|
|
|
- fix requirements for /usr/local/bin/perl
|
|
|
|
|
|
|
|
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 59.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:05:08 +01:00
|
|
|
* Wed Sep 13 2023 Automatic Build System <autodist@mambasoft.it> 58.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
* Sun May 08 2022 Automatic Build System <autodist@mambasoft.it> 56.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
* Mon Jan 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 55.0-2mamba
|
|
|
|
- fix prebuilt x86_64 binary installed
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
* Tue Jan 11 2022 Automatic Build System <autodist@mambasoft.it> 55.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 22:05:07 +01:00
|
|
|
* Tue Sep 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 30.0-1mamba
|
|
|
|
- package created by autospec
|