106 lines
3.5 KiB
RPMSpec
106 lines
3.5 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: qt5-qtvirtualkeyboard
|
||
|
Version: 5.15.2
|
||
|
Release: 2mamba
|
||
|
Summary: Qt5 virtual keyboard 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/5.15/%{version}/submodules/qtvirtualkeyboard-everywhere-src-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libQt5Svg-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libglvnd-devel
|
||
|
BuildRequires: libhunspell-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libxcb-devel
|
||
|
BuildRequires: qt5-qtbase-devel
|
||
|
BuildRequires: qt5-qtdeclarative-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Provides: libQt5VirtualKeyboard
|
||
|
Obsoletes: libQt5VirtualKeyboard <= 5.15.2-1mamba
|
||
|
Provides: libQt5HunspellInputMethod
|
||
|
Obsoletes: libQt5HunspellInputMethod <= 5.15.2-1mamba
|
||
|
|
||
|
%description
|
||
|
Qt5 virtual keyboard component.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n qtvirtualkeyboard-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 -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libQt5HunspellInputMethod.so.*
|
||
|
%{_libdir}/libQt5VirtualKeyboard.so.*
|
||
|
%dir %{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/Settings
|
||
|
%{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/Settings/*
|
||
|
%dir %{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/Styles
|
||
|
%{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/Styles/*
|
||
|
%{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/libqtquickvirtualkeyboardplugin.so
|
||
|
%{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/plugins.qmltypes
|
||
|
%{_libdir}/qt5/qml/QtQuick/VirtualKeyboard/qmldir
|
||
|
%{_libdir}/qt5/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so
|
||
|
%dir %{_libdir}/qt5/plugins/virtualkeyboard
|
||
|
%{_libdir}/qt5/plugins/virtualkeyboard/libqtvirtualkeyboard_*.so
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/qt5/QtHunspellInputMethod
|
||
|
%{_includedir}/qt5/QtHunspellInputMethod/*
|
||
|
%dir %{_includedir}/qt5/QtVirtualKeyboard
|
||
|
%{_includedir}/qt5/QtVirtualKeyboard/*
|
||
|
%{_libdir}/libQt5HunspellInputMethod.la
|
||
|
%{_libdir}/libQt5HunspellInputMethod.prl
|
||
|
%{_libdir}/libQt5HunspellInputMethod.so
|
||
|
%{_libdir}/libQt5VirtualKeyboard.la
|
||
|
%{_libdir}/libQt5VirtualKeyboard.prl
|
||
|
%{_libdir}/libQt5VirtualKeyboard.so
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_hunspellinputmethod_private.pri
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_virtualkeyboard.pri
|
||
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_virtualkeyboard_private.pri
|
||
|
%{_libdir}/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake
|
||
|
%dir %{_libdir}/cmake/Qt5HunspellInputMethod
|
||
|
%{_libdir}/cmake/Qt5HunspellInputMethod/Qt5HunspellInputMethodConfig*.cmake
|
||
|
%dir %{_libdir}/cmake/Qt5VirtualKeyboard
|
||
|
%{_libdir}/cmake/Qt5VirtualKeyboard/Qt5VirtualKeyboard*.cmake
|
||
|
%{_libdir}/pkgconfig/Qt5VirtualKeyboard.pc
|
||
|
%doc README.md
|
||
|
|
||
|
%changelog
|
||
|
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
||
|
- bump release
|
||
|
|
||
|
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
||
|
- package created using the webbuild interface
|