Accepting request 1068554 from home:krop:branches:devel:tools
Add kddockwidgets, needed by the next hotspot update OBS-URL: https://build.opensuse.org/request/show/1068554 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/kddockwidgets?expand=0&rev=1
This commit is contained in:
commit
a93637fe96
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<flavor>qt6</flavor>
|
||||
</multibuild>
|
3
kddockwidgets-1.6.0.tar.gz
Normal file
3
kddockwidgets-1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab7503b96f4aa3ab76312c830dd268118169e3a367e40e9b6bfde66cb0bc4957
|
||||
size 3885223
|
17
kddockwidgets-1.6.0.tar.gz.asc
Normal file
17
kddockwidgets-1.6.0.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJCBAABCAAsFiEE6GwAA3CxueKpGRrVPb+2iCyTWPsFAmMiTQEOHGluZm9Aa2Rh
|
||||
Yi5jb20ACgkQPb+2iCyTWPsx7w//bKJtkSSUr0cyRFBHY4ymwN05XY87AyyNog1W
|
||||
Fqax1wT2QYB/WB/qwI/kNlfsXcJe6SmHHIwAVKKrUOqHvoajtwW1kZmFJ+csijlF
|
||||
QfPTPwGArvss9cLcYbyTa5asRcxIdTeTOhDclGVJPmdnc7QE3egoas2XBOx/0wd6
|
||||
ocP23Cf5xQO6Tttb5zaD1wALMPsOt8bdkTC7A0aKsu0lfsYDQB7wu9ATidcdNrTb
|
||||
UI8Sg5pcfo79AVZ1romP/uL/dwDgDxkqsGNhlI3mPzky8JTC/ucG0mpQQis/bEZN
|
||||
gEulZjN6+KA9DoeFluZWTOfid0wq9LDf1IPOsQBquZR0IVoLsmuxncWqVIcWiv1S
|
||||
hVvkmUxlx9HwWg6LSpAdk6NpE5v8Npsb53+EDrrCv0MylLj4yXy8i5kYjFst7Pmq
|
||||
rN0924SWrTWpRdGZqkAghN+Mh/TS3xYs5arn0DFkXVvSHzRATLASW9I1SUrvzpD/
|
||||
MyrDkcKQikGGMniHD1VhpeMalL6zwg5YXT+VISDSubDH89hfsY1r6aPfJpqyyTW0
|
||||
nbPmixkV+I5W9e0o/pQ+FagyhgDjU9ouUoysLfQtIuG8U+7rZdDq6YVwXNx1dOwE
|
||||
3NEl/D3W0q40uf3mfKfO2Cp2tQ8Bo6qIcd+klFi0M7PWOj7Va5Xv5rzh+p2Kb+q0
|
||||
XnMUdKk=
|
||||
=1Fw1
|
||||
-----END PGP SIGNATURE-----
|
4
kddockwidgets.changes
Normal file
4
kddockwidgets.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 08:53:06 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init kddockwidgets, needed by newer hotspot versions
|
BIN
kddockwidgets.keyring
Normal file
BIN
kddockwidgets.keyring
Normal file
Binary file not shown.
137
kddockwidgets.spec
Normal file
137
kddockwidgets.spec
Normal file
@ -0,0 +1,137 @@
|
||||
#
|
||||
# spec file for package kddockwidgets
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == ""
|
||||
%define qt5 1
|
||||
%define pkg_suffix %{nil}
|
||||
%endif
|
||||
%if "%{flavor}" == "qt6"
|
||||
%define qt6 1
|
||||
%define pkg_suffix -qt6
|
||||
%endif
|
||||
%define soversion 1_6
|
||||
%define rname kddockwidgets
|
||||
Name: kddockwidgets%{pkg_suffix}
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Summary: Qt dock widget library, suitable for replacing QDockWidget
|
||||
License: GPL-2.0-only OR GPL-3.0-only
|
||||
URL: https://www.kdab.com/development-resources/qt-tools/kddockwidgets
|
||||
Source: https://github.com/KDAB/KDDockWidgets/releases/download/v%{version}/%{rname}-%{version}.tar.gz
|
||||
Source1: https://github.com/KDAB/KDDockWidgets/releases/download/v%{version}/%{rname}-%{version}.tar.gz.asc
|
||||
Source2: kddockwidgets.keyring
|
||||
%if 0%{?qt5}
|
||||
BuildRequires: libQt5Widgets-private-headers-devel
|
||||
BuildRequires: cmake(Qt5Core) >= 5.15
|
||||
BuildRequires: cmake(Qt5Test)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: cmake(Qt5X11Extras)
|
||||
%endif
|
||||
%if 0%{?qt6}
|
||||
BuildRequires: qt6-widgets-private-devel
|
||||
BuildRequires: cmake(Qt6Core) >= 6.2
|
||||
BuildRequires: cmake(Qt6Test)
|
||||
BuildRequires: cmake(Qt6Widgets)
|
||||
%endif
|
||||
%if 0%{?suse_version} == 1500
|
||||
# Full c++-17 support needed
|
||||
BuildRequires: gcc10-PIE
|
||||
BuildRequires: gcc10-c++
|
||||
%endif
|
||||
|
||||
%description
|
||||
KDDockWidgets is a Qt dock widget library written by KDAB, suitable for
|
||||
replacing QDockWidget and implementing advanced functionalities missing in Qt.
|
||||
|
||||
Although KDDockWidgets is ready to be used out of the box, it can also be seen
|
||||
as a framework to allow building very tailored custom docking systems. It tries
|
||||
to expose every internal widget and every knob for the app developer to tune.
|
||||
|
||||
%package -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
|
||||
Summary: Qt dock widget library, suitable for replacing QDockWidget
|
||||
|
||||
%description -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
|
||||
KDDockWidgets is a Qt dock widget library written by KDAB, suitable for
|
||||
replacing QDockWidget and implementing advanced functionalities missing in Qt.
|
||||
|
||||
Although KDDockWidgets is ready to be used out of the box, it can also be seen
|
||||
as a framework to allow building very tailored custom docking systems. It tries
|
||||
to expose every internal widget and every knob for the app developer to tune.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libkddockwidgets
|
||||
Requires: libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion} = %{version}
|
||||
%if 0%{?qt5}
|
||||
Requires: cmake(Qt5X11Extras)
|
||||
# musescore embeds and installs a conflicting kddockwidgets
|
||||
Conflicts: musescore-devel
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
Development files for libkddockwidgets
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} == 1500
|
||||
export CXX=g++-10
|
||||
%endif
|
||||
|
||||
%if 0%{?qt5}
|
||||
%cmake
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
%if 0%{?qt6}
|
||||
%cmake_qt6 -DKDDockWidgets_QT6:BOOL=ON
|
||||
%{qt6_build}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?qt5}
|
||||
%cmake_install
|
||||
%endif
|
||||
|
||||
%if 0%{?qt6}
|
||||
%{qt6_install}
|
||||
%endif
|
||||
|
||||
# Installed using %%doc and %%license instead
|
||||
rm -r %{buildroot}%{_datadir}/doc
|
||||
|
||||
%ldconfig_scriptlets -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
|
||||
|
||||
%files -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_libdir}/libkddockwidgets%{pkg_suffix}.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/kddockwidgets%{pkg_suffix}
|
||||
%{_libdir}/cmake/KDDockWidgets%{pkg_suffix}/
|
||||
%{_libdir}/libkddockwidgets%{pkg_suffix}.so
|
||||
%if 0%{?qt5}
|
||||
%{_libqt5_archdatadir}/mkspecs/modules/qt_KDDockWidgets.pri
|
||||
%endif
|
||||
%if 0%{?qt6}
|
||||
%{_qt6_mkspecsdir}/modules/qt_KDDockWidgets.pri
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user