2024-11-07 21:34:08 +01:00
|
|
|
%define gitcommit %(echo %version | cut -d+ -f2 | cut -d. -f2)
|
2024-01-05 22:07:53 +01:00
|
|
|
Name: espeak-ng
|
2024-11-07 21:34:08 +01:00
|
|
|
Version: 1.51.1+20240504git.f57b594
|
2024-01-05 22:07:53 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 22:07:53 +01:00
|
|
|
Summary: eSpeak NG is an open source speech synthesizer that supports 108 languages and accents
|
|
|
|
Group: System/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/espeak-ng/espeak-ng
|
2024-11-07 21:34:08 +01:00
|
|
|
Source: https://github.com/espeak-ng/espeak-ng.git/master@%{gitcommit}/espeak-ng-%{version}.tar.bz2
|
|
|
|
# Taken from fork used by piper-phonemized
|
|
|
|
Patch0: espeak-ng-1.51.1+20240504git.f57b594-add-espeak_TextToPhonemesWithTerminator.patch
|
2024-01-05 22:07:53 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 22:07:53 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 22:07:53 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-11-07 21:34:08 +01:00
|
|
|
BuildRequires: ruby-ronn-ng
|
2024-01-05 22:07:53 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 22:07:53 +01:00
|
|
|
Provides: espeak
|
|
|
|
Obsoletes: espeak < 1.50
|
|
|
|
Provides: espeak-mbrola
|
|
|
|
Obsoletes: espeak-mbrola < 1.50
|
2024-01-05 22:07:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
eSpeak NG is an open source speech synthesizer that supports 108 languages and accents.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-11-07 21:34:08 +01:00
|
|
|
%patch 0 -p1 -b .add-espeak_TextToPhonemesWithTerminator
|
2024-01-05 22:07:53 +01:00
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
%build
|
2024-01-05 22:07:53 +01:00
|
|
|
%configure \
|
|
|
|
CFLAGS="%{optflags} -fcommon"
|
|
|
|
|
2024-01-05 22:07:53 +01:00
|
|
|
%make -j1
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-11-07 21:34:08 +01:00
|
|
|
rm -f %{buildroot}%{_libdir}/libespeak.la
|
|
|
|
|
2024-01-05 22:07:53 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:07:53 +01:00
|
|
|
%{_bindir}/espeak
|
2024-01-05 22:07:53 +01:00
|
|
|
%{_bindir}/espeak-ng
|
|
|
|
%{_bindir}/speak
|
|
|
|
%{_bindir}/speak-ng
|
|
|
|
%dir %{_datadir}/espeak-ng-data
|
|
|
|
%{_datadir}/espeak-ng-data/*_dict
|
|
|
|
%{_datadir}/espeak-ng-data/intonations
|
|
|
|
%dir %{_datadir}/espeak-ng-data/lang
|
|
|
|
%{_datadir}/espeak-ng-data/lang/*
|
|
|
|
%dir %{_datadir}/espeak-ng-data/mbrola_ph
|
|
|
|
%{_datadir}/espeak-ng-data/mbrola_ph/*
|
|
|
|
%{_datadir}/espeak-ng-data/phondata
|
|
|
|
%{_datadir}/espeak-ng-data/phondata-manifest
|
|
|
|
%{_datadir}/espeak-ng-data/phonindex
|
|
|
|
%{_datadir}/espeak-ng-data/phontab
|
|
|
|
%dir %{_datadir}/espeak-ng-data/voices
|
|
|
|
%dir %{_datadir}/espeak-ng-data/voices/!v
|
|
|
|
%{_datadir}/espeak-ng-data/voices/!v/*
|
|
|
|
%dir %{_datadir}/espeak-ng-data/voices/mb
|
|
|
|
%{_datadir}/espeak-ng-data/voices/mb/*
|
|
|
|
%{_datadir}/vim/addons/ftdetect/espeakfiletype.vim
|
|
|
|
%{_datadir}/vim/addons/syntax/espeaklist.vim
|
|
|
|
%{_datadir}/vim/addons/syntax/espeakrules.vim
|
|
|
|
%{_datadir}/vim/registry/espeak.yaml
|
2024-01-05 22:07:54 +01:00
|
|
|
%{_mandir}/man1/espeak-ng.1*
|
|
|
|
%{_mandir}/man1/speak-ng.1*
|
2024-01-05 22:07:53 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libespeak-ng.so.*
|
2024-11-07 21:34:08 +01:00
|
|
|
%doc COPYING
|
2024-01-05 22:07:53 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/espeak-ng
|
|
|
|
%{_includedir}/espeak-ng/*.h
|
|
|
|
%{_includedir}/espeak/speak_lib.h
|
|
|
|
%{_libdir}/libespeak-ng.a
|
|
|
|
%{_libdir}/libespeak-ng.so
|
|
|
|
%{_libdir}/pkgconfig/espeak-ng.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-11-07 21:34:08 +01:00
|
|
|
* Fri Jun 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.51.1+20240504git.f57b594-1mamba
|
|
|
|
- update to 1.51.1+20240504git.f57b594
|
|
|
|
|
2024-01-05 22:07:54 +01:00
|
|
|
* Wed Jun 22 2022 Automatic Build System <autodist@mambasoft.it> 1.51.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:07:53 +01:00
|
|
|
* Sun Apr 03 2022 Automatic Build System <autodist@mambasoft.it> 1.51-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:07:53 +01:00
|
|
|
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-2mamba
|
|
|
|
- obsolete espeak and espeak-mbrola
|
|
|
|
|
2024-01-05 22:07:53 +01:00
|
|
|
* Sun Dec 01 2019 Automatic Build System <autodist@mambasoft.it> 1.50-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:07:53 +01:00
|
|
|
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.49.2-1mamba
|
|
|
|
- package created using the webbuild interface
|