%build: CONFIG+=lang-all, drop -devel (*Plugin.cmake can go in main)

epel9
Rex Dieter 8 years ago
parent 51f7cfa6fd
commit 5357b08593

@ -6,7 +6,7 @@
Summary: Qt5 - VirtualKeyboard component
Name: qt5-%{qt_module}
Version: 5.7.1
Release: 3%{?dist}
Release: 4%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -17,19 +17,15 @@ BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: qt5-qtdeclarative-devel >= %{version}
BuildRequires: qt5-qtsvg-devel >= %{version}
Obsoletes: qt5-qtvirtualkeyboard-devel < 5.7.1-4
Provides: qt5-qtvirtualkeyboard-devel = %{version}-%{release}
%description
The Qt Virtual Keyboard project provides an input framework and reference keyboard frontend
for Qt 5 on Linux Desktop/X11, Windows Desktop, and Boot2Qt targets.
The input framework makes it easy to write custom input methods or to
integrate 3rd party input engines. The input methods can be implemented in C++ or QML.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: qt5-qtbase-devel%{?_isa}
%description devel
%{summary}.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
@ -57,7 +53,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
mkdir %{_target_platform}
pushd %{_target_platform}
%{qmake_qt5} .. \
%{?_qt5_examplesdir:CONFIG+=qt_example_installs}
CONFIG+=lang-all
make %{?_smp_mflags}
@ -83,11 +79,10 @@ make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%files
%license LICENSE.GPL3
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake
%{_qt5_plugindir}/platforminputcontexts/libqtvirtualkeyboardplugin.so
%{_qt5_qmldir}/QtQuick/VirtualKeyboard
%files devel
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake
%{_qt5_datadir}/qtvirtualkeyboard/
%if 0%{?docs}
%files doc
@ -95,14 +90,14 @@ make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%{_qt5_docdir}/qtvirtualkeyboard/
%endif
# no examples, yet
%if 0%{?_qt5_examplesdir:1}
%files examples
%{_qt5_examplesdir}/
%endif
%changelog
* Fri Mar 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-4
- %%build: CONFIG+=lang-all, drop -devel (*Plugin.cmake can go in main)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save