From c3d9d1991f651a1d53c4a147afb04fe72035fb47 Mon Sep 17 00:00:00 2001 From: weidong Date: Fri, 21 Aug 2020 11:02:16 +0800 Subject: [PATCH] format spec --- qt5-qtvirtualkeyboard.spec | 46 ++++++++++++-------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/qt5-qtvirtualkeyboard.spec b/qt5-qtvirtualkeyboard.spec index 8a91400..06dd195 100644 --- a/qt5-qtvirtualkeyboard.spec +++ b/qt5-qtvirtualkeyboard.spec @@ -1,52 +1,34 @@ %global qt_module qtvirtualkeyboard -Summary: Qt5 - VirtualKeyboard component -Name: qt5-%{qt_module} -Version: 5.12.5 -Release: 1 +Summary: Qt5 - VirtualKeyboard component +Name: qt5-%{qt_module} +Version: 5.12.5 +Release: 1 # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details -License: LGPLv2 with exceptions or GPLv3 with exceptions -Url: http://qt.io +License: LGPLv2 with exceptions or GPLv3 with exceptions +Url: http://qt.io %global majmin %(echo %{version} | cut -d. -f1-2) -Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz +Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz -## upstreamable patches +BuildRequires: qt5-qtbase-devel qt5-qtbase-private-devel qt5-qtdeclarative-devel qt5-qtsvg-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} -BuildRequires: qt5-qtdeclarative-devel -BuildRequires: qt5-qtsvg-devel - -# version unknown -Provides: bundled(libpinyin) +Provides: bundled(libpinyin) %description The Qt Virtual Keyboard project provides an input framework and reference keyboard frontend -for Qt 5. Key features include: -* Customizable keyboard layouts and styles with dynamic switching. -* Predictive text input with word selection. -* Character preview and alternative character view. -* Automatic capitalization and space insertion. -* Scalability to different resolutions. -* Support for different character sets (Latin, Simplified/Traditional Chinese, Hindi, Japanese, Arabic, Korean, and others). -* Support for most common input languages, with possibility to easily extend the language support. -* Left-to-right and right-to-left input. -* Hardware key support for 2-way and 5-way navigation. -* Handwriting support, with gestures for fullscreen input. -* Audio feedback. %package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: qt5-qtbase-devel%{?_isa} +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: qt5-qtbase-devel%{?_isa} %description devel %{summary}. %package examples -Summary: Programming examples for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: Programming examples for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} %description examples %{summary}.