2022-04-19 14:13:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package qt6-languageserver
|
|
|
|
#
|
2023-04-04 21:39:15 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-04-19 14:13:07 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-07-22 08:50:16 +02:00
|
|
|
%define real_version 6.5.2
|
2023-04-04 21:39:15 +02:00
|
|
|
%define short_version 6.5
|
2022-04-19 14:13:07 +02:00
|
|
|
%define short_name qtlanguageserver
|
|
|
|
%define tar_name qtlanguageserver-everywhere-src
|
|
|
|
%define tar_suffix %{nil}
|
|
|
|
#
|
|
|
|
Name: qt6-languageserver
|
2023-07-22 08:50:16 +02:00
|
|
|
Version: 6.5.2
|
2022-04-19 14:13:07 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Implementation of the Language Server Protocol
|
|
|
|
License: LGPL-3.0-only OR GPL-2.0-or-later
|
|
|
|
URL: https://www.qt.io
|
2023-07-22 08:50:16 +02:00
|
|
|
Source: https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
|
2022-06-19 19:48:37 +02:00
|
|
|
BuildRequires: qt6-core-private-devel
|
2023-04-04 21:39:15 +02:00
|
|
|
BuildRequires: cmake(Qt6Concurrent) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Core) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Network) = %{real_version}
|
2022-04-19 14:13:07 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Qt Language Server implements the Language Server Protocol specification and
|
|
|
|
the JsonRpc 2.0 protocol.
|
|
|
|
|
|
|
|
### Private only library ###
|
|
|
|
|
|
|
|
%package -n libQt6LanguageServer6
|
|
|
|
Summary: LSP implementation for Qt6
|
|
|
|
|
|
|
|
%description -n libQt6LanguageServer6
|
|
|
|
The Qt 6 LanguageServer library implements the Language Server Protocol (LSP)
|
|
|
|
specification.
|
|
|
|
|
|
|
|
%package private-devel
|
|
|
|
Summary: Qt 6 LanguageServer library - Development files
|
|
|
|
Requires: libQt6LanguageServer6 = %{version}
|
|
|
|
Requires: qt6-jsonrpc-private-devel = %{version}
|
2023-06-30 17:15:50 +02:00
|
|
|
%requires_eq qt6-core-private-devel
|
2022-04-19 14:13:07 +02:00
|
|
|
|
|
|
|
%description private-devel
|
|
|
|
Development files for the Qt 6 LanguageServer private library.
|
|
|
|
This library does not have any ABI or API guarantees.
|
|
|
|
|
|
|
|
%package -n libQt6JsonRpc6
|
|
|
|
Summary: JsonRpc 2.0 protocol implementation
|
|
|
|
|
|
|
|
%description -n libQt6JsonRpc6
|
|
|
|
JsonRpc 2.0 protocol implementation for Qt6.
|
|
|
|
|
|
|
|
%package -n qt6-jsonrpc-private-devel
|
|
|
|
Summary: Qt 6 JsonRpc library - Development files
|
|
|
|
Requires: libQt6JsonRpc6 = %{version}
|
2023-04-04 21:39:15 +02:00
|
|
|
Requires: cmake(Qt6Core) = %{real_version}
|
2022-04-19 14:13:07 +02:00
|
|
|
|
|
|
|
%description -n qt6-jsonrpc-private-devel
|
|
|
|
Development files for the Qt 6 JsonRpc library.
|
|
|
|
This library does not have any ABI or API guarantees.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_qt6
|
|
|
|
|
|
|
|
%{qt6_build}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{qt6_install}
|
|
|
|
|
2023-03-16 15:42:29 +01:00
|
|
|
%ldconfig_scriptlets -n libQt6JsonRpc6
|
|
|
|
%ldconfig_scriptlets -n libQt6LanguageServer6
|
2022-04-19 14:13:07 +02:00
|
|
|
|
|
|
|
%files -n libQt6LanguageServer6
|
|
|
|
%{_qt6_libdir}/libQt6LanguageServer.so.*
|
|
|
|
|
|
|
|
%files private-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/QtLanguageServerTestsConfig.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6LanguageServerPrivate/
|
|
|
|
%{_qt6_descriptionsdir}/LanguageServerPrivate.json
|
|
|
|
%{_qt6_includedir}/QtLanguageServer/
|
|
|
|
%{_qt6_libdir}/libQt6LanguageServer.prl
|
|
|
|
%{_qt6_libdir}/libQt6LanguageServer.so
|
|
|
|
%{_qt6_metatypesdir}/qt6languageserverprivate_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_languageserver_private.pri
|
|
|
|
|
|
|
|
%files -n libQt6JsonRpc6
|
2022-09-30 20:33:02 +02:00
|
|
|
%license LICENSES/*
|
2022-04-19 14:13:07 +02:00
|
|
|
%{_qt6_libdir}/libQt6JsonRpc.so.*
|
|
|
|
|
|
|
|
%files -n qt6-jsonrpc-private-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6JsonRpcPrivate/
|
|
|
|
%{_qt6_descriptionsdir}/JsonRpcPrivate.json
|
|
|
|
%{_qt6_includedir}/QtJsonRpc/
|
|
|
|
%{_qt6_libdir}/libQt6JsonRpc.prl
|
|
|
|
%{_qt6_libdir}/libQt6JsonRpc.so
|
|
|
|
%{_qt6_metatypesdir}/qt6jsonrpcprivate_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_jsonrpc_private.pri
|
|
|
|
|
|
|
|
%changelog
|