espeak-ng/espeak-ng.spec

119 lines
3.4 KiB
RPMSpec

Name: espeak-ng
Version: 1.50
Release: 2mamba
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
Source: https://github.com/espeak-ng/espeak-ng.git/%{version}/espeak-ng-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: espeak
Obsoletes: espeak < 1.50
Provides: espeak-mbrola
Obsoletes: espeak-mbrola < 1.50
%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
./autogen.sh
%build
%configure \
CFLAGS="%{optflags} -fcommon"
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/espeak
%{_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
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
#%{_libdir}/libespeak-ng-test.so.*
%{_libdir}/libespeak-ng.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/espeak-ng
%{_includedir}/espeak-ng/*.h
%{_includedir}/espeak/speak_lib.h
#%{_libdir}/libespeak-ng-test.a
#%{_libdir}/libespeak-ng-test.la
#%{_libdir}/libespeak-ng-test.so
%{_libdir}/libespeak-ng.a
%{_libdir}/libespeak-ng.la
%{_libdir}/libespeak-ng.so
%{_libdir}/libespeak.la
%{_libdir}/pkgconfig/espeak-ng.pc
%doc README.md
%changelog
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-2mamba
- obsolete espeak and espeak-mbrola
* Sun Dec 01 2019 Automatic Build System <autodist@mambasoft.it> 1.50-1mamba
- automatic version update by autodist
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.49.2-1mamba
- package created using the webbuild interface