diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec index 0370c47..8243382 100644 --- a/speech-dispatcher.spec +++ b/speech-dispatcher.spec @@ -2,7 +2,7 @@ Name: speech-dispatcher Version: 0.8.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: To provide a high-level device independent layer for speech synthesis Group: System Environment/Libraries @@ -133,19 +133,15 @@ tar xf %{SOURCE1} make %{?_smp_mflags} V=1 %install -for dir in \ - config/ doc/ include/ src/audio/ src/api/ src/modules/ src/tests/ src/server/ src/clients/ - do - pushd $dir - make install DESTDIR=%{buildroot} INSTALL="install -p" - popd -done +make install DESTDIR=%{buildroot} INSTALL="install -p" mkdir -p %{buildroot}%{_unitdir} install -p -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/ install -p -m 0644 sound-icons-0.1/* %{buildroot}%{_datadir}/sounds/%{name}/ +%find_lang speech-dispatcher + #Remove %{_infodir}/dir file rm -f %{buildroot}%{_infodir}/dir @@ -190,7 +186,7 @@ if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/ssip.info %{_infodir}/dir || : fi -%files +%files -f speech-dispatcher.lang %{!?_licensedir:%global license %%doc} %license COPYING %doc NEWS README @@ -204,7 +200,7 @@ fi %exclude %{_sysconfdir}/speech-dispatcher/modules/festival.conf %exclude %{_sysconfdir}/speech-dispatcher/modules/flite.conf %{_bindir}/speech-dispatcher -%{_datadir}/speech-dispatcher/conf/desktop/speechd.desktop +%{_datadir}/speech-dispatcher/ %{_libdir}/libspeechd.so.2 %{_libdir}/libspeechd.so.2.6.0 %dir %{_libdir}/speech-dispatcher-modules/ @@ -220,6 +216,7 @@ fi %files devel %{_includedir}/* %{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc %files doc %{_infodir}/* @@ -245,6 +242,10 @@ fi %{python3_sitearch}/speechd* %changelog +* Thu Jan 25 2018 Rex Dieter - 0.8.8-2 +- include translations, pkgconfig support (#1538715) +- own %%_datadir/speech-dispatcher (#1480893) + * Tue Nov 7 2017 Peter Robinson 0.8.8-1 - 0.8.8