0e4445aa79
* utf8proc-devel to have better utf8 support * Qt5LinguistTools new dependency - Use switch to not use git to pull translations - Update to 0.8.0: * FIX: #46 fix vertical font truncation * bump versions * Really fallback to /bin/sh when $SHELL is missing or invalid * README: don't recommend building from source * Improve README * Don't export github templates * Support REP escape sequence defined in ECMA-48, section 8.3.103 * Fix build issue related to utmpx in Mac OSX Sierra * Remove the deprecation notice * Handle DECSCUSR signals * Copied issue template * Update building instructions * Require Qt 5.6+ * This commit allows the consumer of qtermwidget to capture the (#111) * Allow the terminal display to be smaller than the size hint (#123) * Backport Vt102 emulation fixes (#113) * Backport the default.keytab from Konsole * Fixes (#122) * Updated README, Added support for PyQT 5.7 * Fix memory leak in hotspot (URLs & emails) detection * Adds superbuild support * Use target_compile_definitions() instead of add_definitions() * Update find_package() documentation * Use the lxqt_create_pkgconfig_file OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qtermwidget-qt5?expand=0&rev=1
109 lines
3.2 KiB
RPMSpec
109 lines
3.2 KiB
RPMSpec
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%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 \
|
|
removed.
|
|
|
|
Name: qtermwidget-qt5
|
|
Version: 0.8.0
|
|
Release: 0
|
|
Summary: %{pack_summ}
|
|
License: GPL-2.0+
|
|
Group: Development/Libraries/C and C++
|
|
Url: https://github.com/qterminal/qtermwidget
|
|
Source: https://github.com/lxde/qtermwidget/releases/download/%{version}/qtermwidget-%{version}.tar.xz
|
|
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
|
|
|
|
%description
|
|
%{pack_desc}
|
|
|
|
%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
|
|
%{pack_desc}
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n qtermwidget-%{version}
|
|
|
|
%build
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPULL_TRANSLATIONS=no -DUSE_UTF8PROC=yes
|
|
|
|
make V=1 %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -n libqtermwidget%{qt_ver}-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libqtermwidget%{qt_ver}-0 -p /sbin/ldconfig
|
|
|
|
%files -n libqtermwidget%{qt_ver}-0
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS CHANGELOG LICENSE README.md
|
|
%{_libdir}/libqtermwidget*.so.*
|
|
|
|
%files data
|
|
%defattr(-,root,root)
|
|
%{_datadir}/qtermwidget%{qt_ver}
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/qtermwidget%{qt_ver}
|
|
%{_libdir}/libqtermwidget*.so
|
|
%{_libdir}/pkgconfig/qtermwidget%{qt_ver}.pc
|
|
%{_datadir}/cmake/qtermwidget%{qt_ver}
|
|
|
|
|
|
%changelog
|