File qtermwidget-qt5.spec of Package qtermwidget-qt5

# spec file for package qtermwidget-qt5
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define qt_ver 5

%define pack_summ Qt5 terminal widget

%define pack_desc QTermWidget is a project based on the KDE4 \
Konsole application whose goal is to provide a Unicode-\
enabled, embeddable Qt widget to be used as a built-in console (or \
terminal emulation widget). Though Konsole is able of getting embedded, \
it is possible to have Qt without KDE. The original \
Konsole code was rewritten entirely with using Qt only, and all \
code dealing with user interface parts and session management was \

Name:           qtermwidget-qt5
Version:        0.8.0
Release:        0
Summary:        %{pack_summ}
License:        GPL-2.0+
Group:          Development/Libraries/C and C++
BuildRequires:  cmake >= 3.0.2
BuildRequires:  cmake(Qt5LinguistTools)
BuildRequires:  utf8proc-devel
# If we want translations we need to have more dependencies
#BuildRequires:  lxqt-l10n
BuildRequires:  pkgconfig(Qt5Widgets) >= 5.6
BuildRequires:  lxqt-build-tools-devel >= 0.3.0


%package -n libqtermwidget%{qt_ver}-0
Summary:        %{pack_summ}
Group:          Development/Libraries/C and C++
Requires:       %{name}-data >= %{version}

%description -n libqtermwidget%{qt_ver}-0

%package data
Summary:        QTermWidget data package
Group:          Development/Libraries/C and C++
BuildArch:      noarch
Requires:       libqtermwidget%{qt_ver}-0 = %{version}

%description data
Data files for qtermwidget library.

%package devel
Summary:        QTermWidget devel package
Group:          Development/Libraries/C and C++
Requires:       libqtermwidget%{qt_ver}-0 = %{version}

%description devel
Development environment for qtermwidget library.

%setup -q -n qtermwidget-%{version}


make V=1 %{?_smp_mflags}


%post -n libqtermwidget%{qt_ver}-0 -p /sbin/ldconfig

%postun -n libqtermwidget%{qt_ver}-0 -p /sbin/ldconfig

%files -n libqtermwidget%{qt_ver}-0

%files data

%files devel

openSUSE Build Service is sponsored by