diff --git a/README.md b/README.md index 80d786b..7220a36 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # espeak-ng +eSpeak NG is an open source speech synthesizer that supports 108 languages and accents. + diff --git a/espeak-ng.spec b/espeak-ng.spec new file mode 100644 index 0000000..d9d5b67 --- /dev/null +++ b/espeak-ng.spec @@ -0,0 +1,112 @@ +Name: espeak-ng +Version: 1.49.2 +Release: 1mamba +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 +URL: https://github.com/espeak-ng/espeak-ng +## GITSOURCE https://github.com/espeak-ng/espeak-ng.git 1.49.2 +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} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +# Conflicts with espeak +rm -f %{buildroot}%{_bindir}/espeak + +%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 +* Sat Nov 02 2019 Silvan Calarco 1.49.2-1mamba +- package created using the webbuild interface