qt6-qtspeech/qt6-qtspeech.spec

106 lines
3.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtspeech
Version: 6.7.3
Release: 1mamba
Summary: Qt6 speech component
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtspeech-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libspeechd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtmultimedia-devel
## AUTOBUILDREQ-END
BuildRequires: qt6-qtdeclarative-devel >= %{version}
BuildRequires: qt6-qtmultimedia-devel >= %{version}
BuildRequires: cmake
%description
Qt6 speech component.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtspeech-everywhere-src-%{version}
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libQt6TextToSpeech.so.*
%dir %{_qt6_plugindir}/texttospeech
%{_qt6_plugindir}/texttospeech/libqtexttospeech_mock.so
%{_qt6_plugindir}/texttospeech/libqtexttospeech_speechd.so
%dir %{_qt6_qmldir}/QtTextToSpeech
%{_qt6_qmldir}/QtTextToSpeech/*
%{_qt6_archdatadir}/metatypes/qt6texttospeech_release_metatypes.json
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_qt6_headerdir}/QtTextToSpeech
%{_qt6_headerdir}/QtTextToSpeech/*
%{_libdir}/libQt6TextToSpeech.prl
%{_libdir}/libQt6TextToSpeech.so
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_texttospeech*.pri
%{_qt6_archdatadir}/modules/TextToSpeech.json
%{_libdir}/cmake/Qt6/FindFlite.cmake
%{_libdir}/cmake/Qt6/FindSpeechDispatcher.cmake
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSpeechTestsConfig.cmake
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQml*.cmake
%dir %{_libdir}/cmake/Qt6TextToSpeech
%{_libdir}/cmake/Qt6TextToSpeech/Qt6QTextToSpeech*.cmake
%{_libdir}/cmake/Qt6TextToSpeech/Qt6TextToSpeech*.cmake
%{_libdir}/pkgconfig/Qt6TextToSpeech.pc
%changelog
* Wed Oct 09 2024 Automatic Build System <autodist@openmamba.org> 6.7.3-1mamba
- automatic version update by autodist
* Fri Jun 21 2024 Automatic Build System <autodist@openmamba.org> 6.7.2-1mamba
- automatic version update by autodist
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 6.7.1-1mamba
- automatic version update by autodist
* Tue Apr 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7.0-1mamba
- update to 6.7.0
* Sun Mar 31 2024 Automatic Build System <autodist@openmamba.org> 6.6.3-1mamba
- automatic version update by autodist
* Sat Feb 17 2024 Automatic Build System <autodist@openmamba.org> 6.6.2-1mamba
- automatic version update by autodist
* Sun Jan 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.6.1-1mamba
- package created using the webbuild interface