2024-02-07 19:01:30 +01:00
|
|
|
#
|
|
|
|
# spec file for package kdecoration6
|
|
|
|
#
|
2024-03-13 17:58:27 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2024-02-07 19:01:30 +01: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-02-25 13:05:21 +01:00
|
|
|
%define kf6_version 6.0.0
|
|
|
|
%define qt6_version 6.6.0
|
2024-02-07 19:01:30 +01:00
|
|
|
|
|
|
|
%define rname kdecoration
|
|
|
|
|
|
|
|
%global sover 6
|
|
|
|
%global private_sover 11
|
|
|
|
%bcond_without released
|
|
|
|
Name: kdecoration6
|
2024-03-26 23:05:07 +01:00
|
|
|
Version: 6.0.3
|
2024-02-07 19:01:30 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: KDE's window decorations library
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: https://www.kde.org
|
2024-03-06 16:50:22 +01:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
2024-02-07 19:01:30 +01:00
|
|
|
%if %{with released}
|
2024-03-06 16:50:22 +01:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
2024-02-07 19:01:30 +01:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Plugin based library to create window decorations.
|
|
|
|
|
|
|
|
%package -n libkdecorations2-%{sover}
|
|
|
|
Summary: KDE's window decorations library
|
2024-03-05 09:08:02 +01:00
|
|
|
Obsoletes: libkdecorations2-5-lang
|
2024-02-07 19:01:30 +01:00
|
|
|
|
|
|
|
%description -n libkdecorations2-%{sover}
|
|
|
|
Plugin based library to create window decorations.
|
|
|
|
|
|
|
|
%package -n libkdecorations2private%{private_sover}
|
|
|
|
Summary: KDE's window decorations library
|
|
|
|
|
|
|
|
%description -n libkdecorations2private%{private_sover}
|
|
|
|
Plugin based library to create window decorations.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: KDE's window decorations library (development package)
|
|
|
|
Requires: libkdecorations2-%{sover} = %{version}
|
|
|
|
Requires: libkdecorations2private%{private_sover} = %{version}
|
|
|
|
Requires: cmake(Qt6Gui)
|
2024-03-05 13:37:49 +01:00
|
|
|
Obsoletes: libkdecoration2-devel < %{version}
|
2024-02-07 19:01:30 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files belonging to kdecoration,
|
|
|
|
plugin based library to create window decorations.
|
|
|
|
|
|
|
|
%lang_package -n libkdecorations2-%{sover}
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf6
|
|
|
|
|
|
|
|
%kf6_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf6_install
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name
|
|
|
|
|
|
|
|
%ldconfig_scriptlets -n libkdecorations2-%{sover}
|
|
|
|
%ldconfig_scriptlets -n libkdecorations2private%{private_sover}
|
|
|
|
|
|
|
|
%files -n libkdecorations2-%{sover}
|
|
|
|
%license LICENSES/*
|
|
|
|
%{_kf6_libdir}/libkdecorations2.so.*
|
|
|
|
|
|
|
|
%files -n libkdecorations2private%{private_sover}
|
|
|
|
%{_kf6_libdir}/libkdecorations2private.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/KDecoration2/
|
|
|
|
%{_kf6_cmakedir}/KDecoration2/
|
|
|
|
%{_kf6_includedir}/kdecoration2_version.h
|
|
|
|
%{_kf6_libdir}/libkdecorations2.so
|
|
|
|
%{_kf6_libdir}/libkdecorations2private.so
|
|
|
|
|
|
|
|
%files -n libkdecorations2-%{sover}-lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|