- Specfile cleanup, and splitting out the various compositors into

reasonable subpackages

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-wayland-session?expand=0&rev=5
This commit is contained in:
Shawn Dunn 2024-11-12 18:35:58 +00:00 committed by Git OBS Bridge
parent d4a9c04422
commit 785b34a8d8
2 changed files with 77 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 12 18:35:22 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Specfile cleanup, and splitting out the various compositors into
reasonable subpackages
-------------------------------------------------------------------
Wed Nov 6 22:07:18 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>

View File

@ -20,7 +20,7 @@ Name: lxqt-wayland-session
Version: 0.1.0
Release: 0
Summary: Files needed for the LXQt Wayland Session
License: LGPL-2.1-or-later
License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND MIT AND CC-BY-SA-4.0
URL: https://github.com/lxqt/lxqt-wayland-session
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
@ -35,6 +35,8 @@ BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(lxqt2-build-tools)
BuildRequires: pkgconfig(lxqt) >= 2.1.0
Requires: layer-shell-qt6 >= 6.2.0
Requires: lxqt-session >= 2.1.0
Requires: xdg-user-dirs
BuildArch: noarch
@ -43,15 +45,61 @@ Files needed for the LXQt Wayland Session: Wayland session start script,
its desktop entry for display managers and default configurations for
actually supported compositors.
%package -n labwc-theme-vent
Summary: Vent openbox themes
Requires: labwc
%package -n lxqt-hyprland-session
Summary: Session files for LXQt-Hyprland
Requires: %{name} = %{version}
Requires: hyprland
%description -n lxqt-hyprland-session
This package contains the files necessary to use Hyprland as the Wayland
compositor with LXQt
%package -n lxqt-niri-session
Summary: Session files for LXQT-niri
Requires: %{name} = %{version}
Requires: niri
%description -n lxqt-niri-session
This package contains the files necessary to use niri as the Wayland compositor
for LXQt
%package -n lxqt-river-session
Summary: Session files for LXQt-river
Requires: %{name} = %{version}
Requires: river
%description -n lxqt-river-session
This package contains the files necessary to use river as the Wayland
compositor with LXQt
%package -n lxqt-sway-session
Summary: Session files for LXQt-Sway
Requires: %{name} = %{version}
Requires: sway
%description -n lxqt-sway-session
This package contains the files necessary to use Sway as the Wayland compositor
with LXQt
%package -n lxqt-wayfire-session
Summary: Session files for LXQt-wayfire
Requires: %{name} = %{version}
Requires: wayfire
%description -n lxqt-wayfire-session
This package contains the files necessary to use wayfire as the Wayland
compositor with LXQt
%package -n lxqt-labwc-session
Summary: Session files and theme for labwc
Requires: %{name} = %{version}
Requires: labwc >= 0.7.2
Requires: swaybg
Requires: swayidle
Requires: swaylock
Supplements: (%{name} and labwc)
%description -n labwc-theme-vent
%description -n lxqt-labwc-session
This package contains the openbox themes and other files for labwc.
%prep
@ -70,18 +118,32 @@ This package contains the openbox themes and other files for labwc.
%ctest
%files
%doc README.md
%license COPYING.LESSER
%dnl %doc README.md
%dnl %license COPYING.LESSER
%dir %{_datadir}/lxqt
%dir %{_datadir}/lxqt/wayland
%dir %{_datadir}/lxqt/wayland/firstrun
%dir %{_datadir}/wayland-sessions
%{_bindir}/startlxqtwayland
%{_datadir}/lxqt/wayland/lxqt-*
%{_datadir}/lxqt/wayland/firstrun/autostart
%{_datadir}/wayland-sessions/lxqt-wayland.desktop
%files -n labwc-theme-vent
%files -n lxqt-hyprland-session
%{_datadir}/lxqt/wayland/lxqt-hyprland.conf
%files -n lxqt-niri-session
%{_datadir}/lxqt/wayland/lxqt-niri.kdl
%files -n lxqt-river-session
%{_datadir}/lxqt/wayland/lxqt-river-init
%files -n lxqt-sway-session
%{_datadir}/lxqt/wayland/lxqt-sway.config
%files -n lxqt-wayfire-session
%{_datadir}/lxqt/wayland/lxqt-wayfire.ini
%files -n lxqt-labwc-session
%dir %{_datadir}/lxqt/wallpapers
%dir %{_datadir}/lxqt/wayland/labwc
%dir %{_datadir}/lxqt/graphics