[packages/libspiel] - updated to 1.0.3, use system libspeechprovider

qboosh qboosh at pld-linux.org
Fri Oct 25 21:46:52 CEST 2024


commit 48f38317389e560163dfd4c42df0a704dbecb520
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 25 21:42:03 2024 +0200

    - updated to 1.0.3, use system libspeechprovider

 libspiel.spec | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/libspiel.spec b/libspiel.spec
index b5d697c..4e9224c 100644
--- a/libspiel.spec
+++ b/libspiel.spec
@@ -1,6 +1,5 @@
 # TODO:
 # - install and package apidocs
-# - unwrap libspeechprovider and use as system library
 #
 # Conditional build:
 %bcond_with	apidocs		# API documentation (not installed yet)
@@ -9,23 +8,20 @@
 Summary:	Shared library for speech synthesis clients
 Summary(pl.UTF-8):	Biblioteka współdzielona dla klientów syntezy mowy
 Name:		libspiel
-Version:	1.0.1
+Version:	1.0.3
 %define	gitref	SPIEL_%(echo %{version} | tr . _)
-# see subprojects/libspeechprovider.wrap
-%define	speechprovider_gitref	SPEECHPROVIDER_1_0_1
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/project-spiel/libspiel/tags
 Source0:	https://github.com/project-spiel/libspiel/archive/%{gitref}/%{name}-%{gitref}.tar.gz
-# Source0-md5:	aedc650f6b8b192c6578c0c431d9accd
-Source1:	https://github.com/project-spiel/libspeechprovider/archive/%{speechprovider_gitref}/%{name}-%{speechprovider_gitref}.tar.gz
-# Source1-md5:	55f67d4a6840057f9090f4e72b8e6a49
+# Source0-md5:	dde24d4005a5141d30e60aeae108d437
 URL:		https://project-spiel.org/libspiel/
 %{?with_apidocs:BuildRequires:	gi-docgen}
 BuildRequires:	glib2-devel >= 1:2.76
 BuildRequires:	gstreamer-devel >= 1.0
 BuildRequires:	gstreamer-plugins-base-devel >= 1.0
+BuildRequires:	libspeechprovider-devel >= 1.0.3
 BuildRequires:	meson >= 0.64.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
@@ -36,6 +32,7 @@ BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	dbus-devel >= 1.14.4
 %endif
 Requires:	glib2 >= 1:2.76
+Requires:	libspeechprovider >= 1.0.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,6 +52,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki spiel
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel >= 1:2.76
+Requires:	libspeechprovider-devel >= 1.0.3
 
 %description devel
 Header files for spiel library.
@@ -75,8 +73,7 @@ API documentation for spiel library.
 Dokumentacja API biblioteki spiel.
 
 %prep
-%setup -q -n %{name}-%{gitref} -a1
-%{__mv} libspeechprovider-%{speechprovider_gitref} subprojects/libspeechprovider
+%setup -q -n %{name}-%{gitref}
 
 %build
 %meson build \
@@ -108,19 +105,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS README.md
 %attr(755,root,root) %{_bindir}/spiel
-%attr(755,root,root) %{_libdir}/libspeech-provider-1.0.so
 %attr(755,root,root) %{_libdir}/libspiel-1.0.so
-%{_libdir}/girepository-1.0/SpeechProvider-1.0.typelib
 %{_libdir}/girepository-1.0/Spiel-1.0.typelib
 %{_datadir}/glib-2.0/schemas/org.monotonous.libspiel.gschema.xml
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/speech-provider
 %{_includedir}/spiel
-%{_datadir}/gir-1.0/SpeechProvider-1.0.gir
 %{_datadir}/gir-1.0/Spiel-1.0.gir
-%{_pkgconfigdir}/speech-provider-1.0.pc
 %{_pkgconfigdir}/spiel-1.0.pc
 
 %if %{with apidocs}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libspiel.git/commitdiff/48f38317389e560163dfd4c42df0a704dbecb520



More information about the pld-cvs-commit mailing list