- Disable libutempter, it doesn't work anymore with the switch

from utmp to systemd-logind

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qtermwidget?expand=0&rev=7
This commit is contained in:
Shawn Dunn 2025-01-16 16:35:22 +00:00 committed by Git OBS Bridge
commit f2e2b56e19
11 changed files with 536 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
qtermwidget-2.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ff5c84b93f7a46e5255ae6a25e073093e0f80cc7dacf0233e01b643663f700
size 191532

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmZHhzUVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+lu0P/imkXCj4j5iEjUanM5dAw5J1WlOp
mJPWfON+TlkihmwVbKj1tLXE5VfSauxCKqkd0esVCo3G380EUrmaCo3y0tGqAbwn
/97gQIYpCYWlF7+H37JQ4k9wcqh7GUzr4i41nC3xlVzdJJzrQV0lybjgTJAq1++D
b3cTbo8VSc7EsCSO2QAvwiPh/ZS4yydKCbUuT7YxfKG9haBvwD2YemO9z9vSDWzN
GkxNHshUUmf9FMM/VK4c5+2b+h4FOvJWQMIqh/ivMHDyGNAmAI+WQ1WMlmts260B
wvFE3zGkQnTGb1ICLJOGWUXr2vIw9QwlLFvORVpSM2jPCj5OL80MqojYPadTPC4x
f0VT5PPElISa/MCrRiZSWxoACj3ZQ/ylO5pdIoN21mI9V5jZTN89LijEBp2EqSMk
u9RrOvO8sCBVI9n6iGmjIctwQbKyIY1IrM5ljqvyG9j1jz+YO/C32HZNgBRi59nu
+kobcrs5l/x2BD+7wG4Q1x4+IBwXkxmRYMKpsqa72dxJ4ONDdFx6QS3HaFR9VKFj
tOFQbrSkSZPFNd6Y3E7CboPgZu/HSMtAgBGqIRTVY80ASeApb5XiLDkU4nOzskHM
7cPrjL6TpFIVONGeVG+3jQUur6tVN7LxxUi6iBUm2EifwNh5v25EKSm/8ohX1FYn
2n4SlMSX2tlmjhqf
=+IxD
-----END PGP SIGNATURE-----

3
qtermwidget-2.0.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b50060d4f6435efd3df0c37eb1ff7266cacbbe0d06c6ccb6b102c1ec90e9379d
size 191548

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmZ9oJ8VHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+LGkQAML7WbWjBp8FeRHt5hhmjZYD2ooG
VkzHStqi4gct1Vo8OYQjlR3Y+WPogCT1Jxj7bZNfFiITQNe3TWBcBSXa4QweDwRq
yb97yre7ZEvSDD+7u/LGHy5Y+li3wQwhf67ijXAmdMzghkY8jQ1MoDGPOURssTqA
MIu2FN3ob8PwIU8/7FX5P0FWMult4uY08K1V/F//gjc1iQXAvzKeT4pwn28T6+Xu
lHni5jHGvvzQcdo+Bg2pZ72lO6fc+v6lJwCAE1uJZJdBSLedkAYI2+mv7u27TRlv
qp9UNK0X1hXEgmHQoNL2hac1qrNnla27qnDL9esaT8P7Z+2YL23gm3+0jc+SCf0C
On6s2G36piRvkEJfatgU+JVX7yvj7gfeGM5YjYrdXO4unN8LPC2a1YE2gDkr2D4B
3U7T1zRoQdqDflC29dYfD/oCj7QvnWc2mEzBK7308yGP7dxzCA/5xjXW54wINsKs
qkOZU/Tecf4+hLdbhRynVRRF2Ojhoo+YsfloVTHkyCL+a/Vcx8366DHB7Jd3JLUD
MxIEKK9g+b+Hf3MH4c1TdmtIEl71a+XF0eRvfQpvfFL+ZGJNF2t4LK0dS+Rm/D09
b1yfxqqIQHudS07mGUeZOqrxYhgRtCGlxNVM6GsEEm+K35lP07f+QWioV+5fpf/5
g6A7fTlOA4GJ5Tkc
=sx0A
-----END PGP SIGNATURE-----

3
qtermwidget-2.1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26ecb2c3a38de10db3b5ae24970957a33520f7742e3ae1ff93d345ded2be8e4b
size 191604

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmcpwTgVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+2rkP/3KLW87i0BqVJWlAo0qG0fY0aKAe
p4m+evfQNcRh3Vi2UimegUy4+zLgdG+dl3oQGv75NcXf5Tzj85pU0ouJEVgCop7D
876MA8IvoM5kdR/G+ht7QMxCLQTufjRVZiJ+7JX00D/igoJww6EjbcOFTFy1HU0C
HwOO+9FxSSbP2D5hQrS4mP2CNnM1dv/vbn0Ec/bIE8iyBTLgPEhkulJDjL4mRC9P
YyQQo7TMDRtmQNCgMCjvnVtQyW6miC+n9s2S3h/nQiFd/mOk+EUZ/S0czYtU+LrE
W42eUrRZADTCCdIKdRpZ8fPTFCDLrV7mZMRcD5/dGK65FV0+H2gSxEtC61u5E1Iu
zd4dfBVo0Oj2BAXZFtsVIaHhwsSFAWvLz4YEPq7P75jeG4Qa0D3CCbO2C4YJeGf/
yHKOmX35IZNS73x7dfxGTyneXej7Vd+Kw8TThCocvC5IbrQY3QnAPYFC/tKyNfRx
e4MFZxv4NDbTRNkxYCAjwzNTrDx0XBHg2qlNmtXtAarm+uVCJAJrPtA2Gq3oq3dl
NB/yCg19sv97bFOLpbijsgJpe25Kvf6Gek85kOXKOveeb+YEg+fxZ0ELFGVvBo7h
c9KEF0M5nEexLx1i4x098BWej9030sKfmVKKIp9xej1AlfIqGE3dn9q393d8nIFA
1orzYCHyToF32vzj
=eudV
-----END PGP SIGNATURE-----

298
qtermwidget.changes Normal file
View File

@ -0,0 +1,298 @@
-------------------------------------------------------------------
Thu Jan 16 13:00:34 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Disable libutempter, it doesn't work anymore with the switch
from utmp to systemd-logind
-------------------------------------------------------------------
Wed Nov 6 21:44:16 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to version 2.1.0:
* Pre-release changes (#561)
* Silenced old compilation warnings
* Weblate commits (#560)
* Weblate commits (#556)
* Pre-release changes (#555)
* Fixed conversion to `std::wstring` (#554)
* Use lxqt-build-tools package (#551)
* Weblate commits (#553)
* Pre-release changes (#550)
* Fixed comparison of pointer addition with NULL (#549)
-------------------------------------------------------------------
Thu Jun 27 20:20:33 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.0.1:
* Fixed visual artifacts due to a mistake about conversion to
std::wstring in Qt6 Port.
-------------------------------------------------------------------
Sat May 18 03:36:58 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to 2.0.0:
* Ported to Qt6.
-------------------------------------------------------------------
Mon Nov 6 02:52:03 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.4.0:
* TERM env variable is set to xterm-256color when not set with
QTermWidget::setEnvironment().
* getForegroundProcessId() is added to QTermWidget class to allow
terminal apps to check if the user has started a process in the
shell and alert them.
* A great amount of code cleanup.
* Falcon color scheme is added.
-------------------------------------------------------------------
Sat Apr 15 18:18:02 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.3.0:
* A problem is fixed in switching the color scheme between dark
and light.
* Prevented a crash on splitting the terminal under
`kwin_wayland`
-------------------------------------------------------------------
Sat Nov 5 18:43:44 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
- Update to 1.2.0:
* Enabled Bidi rendering by default.
* Made text DND follow the settings for newline trimming and
multiline prompt.
* Allow `QTermWidget` to be used as a Qt Plugin.
-------------------------------------------------------------------
Tue Apr 26 16:17:25 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 1.1.0:
* Handled the zero history size.
* Added API documentation and followed the naming convention in some
places of the code.
* Return focus to the terminal on closing the search bar.
* Code cleanup and enhancement.
-------------------------------------------------------------------
Tue Apr 26 14:58:28 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Fix a rpmlint error:
* libqtermwidget5-0.x86_64: E: shlib-policy-name-error
SONAME: libqtermwidget5.so.1, expected package suffix: 1
-------------------------------------------------------------------
Mon Nov 8 10:08:12 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 1.0.0:
* Bumped minimum required Qt version to 5.15.
* Fixed crash under (Plasma) Wayland on opening tab and splitting.
* Quote drag-and-drop file names.
* Backported CNL and CPL support from Konsole.
* Some code cleanup.
-------------------------------------------------------------------
Fri Apr 16 10:26:15 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 0.17.0:
* Dropped the support for KDE3 color scheme formats.
* Properly implemented the "Action after paste" feature.
* Added modes for background image. How background images are
drawn is changed and manual reconfiguration may be needed.
See docs/configuration.md for more details.
* Added a method to disable bracketed paste mode.
* Fixed the execution after pasting when Ctrl is hold.
-------------------------------------------------------------------
Sun Nov 15 07:40:50 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 0.16.1:
* Bumped version to 0.16.1, for a point release of qterminal.
-------------------------------------------------------------------
Wed Nov 4 13:54:51 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 0.16.0:
* Use qAsConst.
* Don't search application dir for keyboard and scheme data.
* Use Q_EMIT to call signals, instead of the emit keyword.
* Dropped the deprecated class QLinkedList.
* Don't use 0/nullptr to initialize QFlags.
* Fixed ColorEntry copy operator.
* Disabled the use of copy constructors and assignment operators.
* Check for successful ioctl() calls by testing that the call
did not return -1.
* Fix find_package() developer warning in cmake.
* Use const references wherever possible.
* Handle keyboard commands properly.
-------------------------------------------------------------------
Mon Apr 27 11:28:43 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Keyring change
* Renamed qtermwidget.keyring to qtermwidget-qt5.keyring
* Changed key to tsujan's key
-------------------------------------------------------------------
Sat Apr 25 09:53:31 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Update to version 0.15.0
* Fixes for macOS.
* Fixed the PyQt5 binding with Qt ≥ 5.11.
* Fixed a memory access violation.
* Added saveHistory to QTermWidget.
* Don't set the selection clipboard if it's unsupported.
* Announce truecolor support via COLORTERM.
* Fixed the numpad handling and added entries for numpad 5.
* Allow to disable drawing line characters.
* Fixed compilation on NetBSD.
* Fixed flickering on font change.
* Select all text when opening search-bar.
* Fixed search-bar's light text over white background with dark themes.
* Fixed build with LLVM/clang.
* Several fixes.
-------------------------------------------------------------------
Fri Mar 1 09:44:38 UTC 2019 - mvetter@suse.com
- Update to 0.14.1:
* Only translations was changed.
-------------------------------------------------------------------
Thu Jan 31 10:54:46 UTC 2019 - Michael Vetter <mvetter@suse.com>
- Update to 0.14.0:
* Clarify the licenses used in qtermwidget and added the missed root licenses
* Ensure .bash_history is correctly written out
* Make Backspace behaves the same as xterm
* Fixed visual glitches in the search bar
* Redraw cursor after cursor type changed
* Fix handling of ST (String Terminator) for OSC (Operating System Commands)
-------------------------------------------------------------------
Tue May 22 14:40:54 UTC 2018 - mvetter@suse.com
- Add asc and keyring file
- Update to 0.9.0:
* Take transient scrollbars into account
* CMake: Prevent in-source builds
* Refactor and fixes Python binding
* kptyprocess: Try to terminate the shell process
* New color scheme: Ubuntu inspired
* Fixed some github pathes in uris
* Add a comment for potential future breakage
* Use wstring in TerminalCharacterDecoder for UCS-4 compatibility
* Support UTF-32 characters correctly
* Fix "bold and intensive" colors
* New color scheme: Tango (#167)
* Finish SGR mouse protocol (1006)
* Fix build of example with latest lxqt-build-tools
* Expose bracket text function
* Drop Qt foreach.
* Revert deletions in .sip file
* fix python bindings
* Expose terminal size hint API
* Remove class name
* Return something
* Expose bidi option
* Add an example for remote terminal
* Makes the use of libutempter optional
* Fix behavior of scroll up (SU)
* Install cmake files in LIBDIR as they are architecture dependend
* Check if utempter.h header exists (mainly for FreeBSD)
-------------------------------------------------------------------
Wed Oct 25 09:06:18 UTC 2017 - mvetter@suse.com
- Add BuildRequire:
* utf8proc-devel to have better utf8 support
* Qt5LinguistTools new dependency
- Use switch to not use git to pull translations
-------------------------------------------------------------------
Mon Oct 23 12:10:58 UTC 2017 - mvetter@suse.com
- 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
* Improve lxqt_translate_ts() use
* Adds COMPONENT to the install files
* Renames test app to example. Make it work
* Drop include_directories() for in tree dirs
* Use the CMake Targets way
* Pack Utf8Proc stuff
* Adds export header
* Use LXQtCompilerSettings
* Packs compile definitions
* Adds package version file
* Removes Qt4 stuff
* Add translation mechanism
* Use const iterators when possible.
* Enable strict iterators for debug builds
* TerminalDisplay: Make resizing "Size" translatable
* Exposes receivedData signal to users of QTermWidget
* Exposes sessions autoClose property to QTermWidget
-------------------------------------------------------------------
Wed Jan 4 16:37:10 UTC 2017 - dap.darkness@gmail.com
- Updated to 0.7.1:
* Bump patch version (#105);
* Added a modified Breeze color scheme (#104);
* Accept hex color strings as well (#101);
* Remove the stale lib/README (#102);
* Implement background images (#95);
* Implement other BOX DRAWING characters (#98);
* Preparations for context menu actions on URLs (#97);
* Drop the ancient wcwidth impl. and use utf8proc if possible;
* Remove widget size checks in setVTFont() (#86);
* Delete unused tooltip code (#81);
* Fix size of the array passed to memset() (#79).
-------------------------------------------------------------------
Sun Sep 25 07:52:27 UTC 2016 - dap.darkness@gmail.com
- Updated to 0.7.0:
* Remove support for Qt <= 5.4;
* Remove Designer plugin;
* Check CHANGELOG for additional information.
- %%cmake macro.
-------------------------------------------------------------------
Tue May 17 23:19:05 UTC 2016 - jengelh@inai.de
- Trim storytelling from description.
-------------------------------------------------------------------
Sun Feb 28 14:45:43 UTC 2016 - dap.darkness@gmail.com
- Updated to 0.6.0:
* Full Qt 5 support;
* Drag & Drop support;
* Lots of bugfixes and cleanups.
-------------------------------------------------------------------
Wed Sep 17 16:00:43 UTC 2014 - dap.darkness@gmail.com
- Initial build.

52
qtermwidget.keyring Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aC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oi+cVt+/L
+o1S8CMNekjqdC2mWRosM3doo51zT/FWNzQA1QcoZP2hORJDfw66y+4wPq6o8y1W
jR35ABEBAAGJAjYEGAEIACAWIQQZ3986V5vVCdu1cti+eTAHrSLffgUCXpzGvAIb
DAAKCRC+eTAHrSLffgbJD/4qW5YOo/BayBhaUh2L7VP7JNlECb/2xNNOFKI1NjNr
nOmgSJLzf74Uhmt5W+iVjmJBHrDceprIPkizmPrn90kIsPIMtHIDNxzUgKZHbnza
j1vZyAeC+JV79X1hOVpprj1TJwy65lpxXNyYnGqeIOgyFokn9fOHXv8aMQwpNuUr
bdUJ1C75jYrvwy/NR1DczIFFYgsbkDGDtjVBjyMc5JAgvUBz37/iVPJfWP6dKVnf
abRnUVzHgvgK7bnab00SA1TiWvjHURGjo+5rnRtv8X/AgStc2Phjq68TMIgMn0F2
kjUVvfQotNqzo9madNshvUDmsGtAzKh4e0dS1ear7u3nRp4Z7fqSrTEtXKNbEPwZ
wdWrWmmQLacNQBSe/FtcMzGF6xIVr4lnrL0bFjqBdQpdTC7vns3QSKk8/GFiEfpv
kzXrDbGV7jX2OWDjNHKcmXX2+E1CsNaJgS7zOgZw5jvbvlTLJUwyYNlM1VLI2OFW
Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD
bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO
NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO
sw==
=gSIv
-----END PGP PUBLIC KEY BLOCK-----

102
qtermwidget.spec Normal file
View File

@ -0,0 +1,102 @@
#
# spec file for package qtermwidget
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define qt_ver 6
%define sover 2
Name: qtermwidget
Version: 2.1.0
Release: 0
Summary: The terminal widget for QTerminal
License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later
Group: Development/Libraries/C and C++
URL: https://github.com/lxqt/qtermwidget
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake
%if 0%{?suse_version} < 1600
BuildRequires: utempter-devel
%endif
BuildRequires: utf8proc-devel
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Widgets) >= 6.6.0
BuildRequires: cmake(lxqt2-build-tools) >= 2.1.0
%description
QTermWidget is an open-source project originally based on the KDE4 Konsole
application, but it took its own direction later on. The main goal of this
project is to provide a Unicode-enabled, embeddable Qt widget for using as
a built-in console (or terminal emulation widget).
%package -n libqtermwidget%{qt_ver}-%{sover}
Summary: The terminal widget for QTerminal
Group: Development/Libraries/C and C++
Requires: %{name}-data >= %{version}
%description -n libqtermwidget%{qt_ver}-%{sover}
QTermWidget is an open-source project originally based on the KDE4 Konsole
application, but it took its own direction later on. The main goal of this
project is to provide a Unicode-enabled, embeddable Qt widget for using as
a built-in console (or terminal emulation widget).
%package data
Summary: QTermWidget data package
Group: Development/Libraries/C and C++
Requires: libqtermwidget%{qt_ver}-%{sover} = %{version}
BuildArch: noarch
%description data
Data files for qtermwidget library.
%package devel
Summary: QTermWidget devel package
Group: Development/Libraries/C and C++
Requires: libqtermwidget%{qt_ver}-%{sover} = %{version}
%description devel
Development environment for qtermwidget library.
%prep
%autosetup
%build
%cmake_qt6 \
-DUSE_UTF8PROC=ON \
-DQTERMWIDGET_USE_UTEMPTER=ON
%{qt6_build}
%install
%{qt6_install}
%ldconfig_scriptlets -n libqtermwidget%{qt_ver}-%{sover}
%files -n libqtermwidget%{qt_ver}-%{sover}
%doc AUTHORS CHANGELOG README.md
%{_libdir}/libqtermwidget%{qt_ver}.so.*
%license LICENSE*
%files data
%{_datadir}/qtermwidget%{qt_ver}
%files devel
%{_includedir}/qtermwidget%{qt_ver}
%{_libdir}/libqtermwidget%{qt_ver}.so
%{_libdir}/pkgconfig/qtermwidget%{qt_ver}.pc
%{_libdir}/cmake/qtermwidget%{qt_ver}
%changelog