Name: mimic Version: 1.1.0 Release: 1%{?dist} Summary: Mycroft's TTS engine, based on CMU's Flite Group: Applications/Multimedia License: MIT URL: https://mimic.mycroft.ai/ Source0: https://github.com/MycroftAI/mimic/archive/%{name}-%{version}.tar.gz BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel %description Mimic is a fast, lightweight Text-to-speech engine developed by Mycroft A.I. and VocaliD, based on Carnegie Mellon University’s FLITE software. Mimic takes in text and reads it out loud to create a high quality voice. Mimic's low-latency, small resource footprint, and good quality voices set it apart from other open source text-to-speech projects. %package devel Summary: Development files for Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for Flite, a small, fast speech synthesis engine. %prep %setup -q %build %configure --enable-shared make %{?_smp_mflags} V=1 %install make install INSTALLBINDIR=%{buildroot}%{_bindir} INSTALLLIBDIR=%{buildroot}%{_libdir} INSTALLINCDIR=%{buildroot}%{_includedir}/mimic # Remove static libraries find %{buildroot} -type f -name "*.a" -delete %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{!?_licensedir:%global license %%doc} %license COPYING %doc ACKNOWLEDGEMENTS %{_libdir}/*.so.* %{_bindir}/* %files devel %{_libdir}/*.so %{_includedir}/mimic %changelog * Fri Oct 28 2016 Peter Robinson 1.1-1 - Initial package