83 lines
2.3 KiB
RPMSpec
83 lines
2.3 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: qt5-qtspeech
|
|
Version: 5.15.2
|
|
Release: 2mamba
|
|
Summary: Qt5 speech components
|
|
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: libstdc++6-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Qt5 speech components.
|
|
|
|
%package -n libQt5TextToSpeech
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n libQt5TextToSpeech
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n libQt5TextToSpeech-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: libQt5TextToSpeech = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n libQt5TextToSpeech-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
|
|
%_qt5_qmake
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n libQt5TextToSpeech -p /sbin/ldconfig
|
|
%postun -n libQt5TextToSpeech -p /sbin/ldconfig
|
|
|
|
%files -n libQt5TextToSpeech
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQt5TextToSpeech.so.*
|
|
%doc LICENSE.*
|
|
|
|
%files -n libQt5TextToSpeech-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qt5/QtTextToSpeech
|
|
%{_includedir}/qt5/QtTextToSpeech/*
|
|
%dir %{_libdir}/cmake/Qt5TextToSpeech
|
|
%{_libdir}/libQt5TextToSpeech.la
|
|
%{_libdir}/libQt5TextToSpeech.prl
|
|
%{_libdir}/libQt5TextToSpeech.so
|
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_texttospeech*.pri
|
|
%{_libdir}/cmake/Qt5TextToSpeech/Qt5TextToSpeechConfig*.cmake
|
|
%{_libdir}/pkgconfig/Qt5TextToSpeech.pc
|
|
|
|
%changelog
|
|
* Wed Nov 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
|
- bump release
|
|
|
|
* Wed Nov 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
|
- package created using the webbuild interface
|