-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make TARGETS=windowmanager subpackages
make TARGETS=windowmanager subpackages Adding missing qm qualets Signed-off-by: Yariv Rachmani <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# Define the rootfs macros | ||
%global rootfs_qm %{_prefix}/lib/qm/rootfs/ | ||
|
||
|
||
Name: qm-windowmanager | ||
Version: 0 | ||
Release: 1%{?dist} | ||
Summary: Optional Window Manager for QM environment | ||
License: GPL-2.0-only | ||
URL: https://github.com/containers/qm | ||
Source0: %{url}/archive/v%{version}.tar.gz | ||
Source0: %{url}/archive/qm-windowmanager-%{version}.tar.gz | ||
BuildArch: noarch | ||
|
||
Requires: qm = %{version}-%{release} | ||
|
@@ -13,24 +17,29 @@ Requires: qm = %{version}-%{release} | |
This sub-package installs an experimental window manager for the QM environment. | ||
|
||
%prep | ||
%autosetup -Sgit -n qm-%{version} | ||
%autosetup -Sgit -n qm-windowmanager-%{version} | ||
|
||
%install | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}/%{_sysconfdir}/pam.d/ | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
install -d %{buildroot}%{rootfs_qm}%{_sysconfdir}/containers/systemd | ||
|
||
# Install the Window manager drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf \ | ||
install -m 644 %{_builddir}/qm-windowmanager-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf | ||
install -m 644 ./qm-windowmanager/etc/pam.d/wayland %{buildroot}/%{_sysconfdir}/pam.d/ | ||
install -m 644 %{_builddir}/qm-windowmanager-%{version}/subsystems/windowmanager/etc/pam.d/wayland %{buildroot}/%{_sysconfdir}/pam.d/ | ||
install -m 644 %{_builddir}/qm-windowmanager-%{version}/subsystems/windowmanager/etc/containers/systemd/* %{buildroot}%{rootfs_qm}%{_sysconfdir}/containers/systemd/ | ||
|
||
%files | ||
%license LICENSE | ||
%doc README.md | ||
%{_sysconfdir}/pam.d/wayland | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf | ||
|
||
%{rootfs_qm}%{_sysconfdir}/containers/systemd/gnome_mutter.container | ||
%{rootfs_qm}%{_sysconfdir}/containers/systemd/session-activate.container | ||
%{rootfs_qm}%{_sysconfdir}/containers/systemd/wayland-extra-devices.conf | ||
%{rootfs_qm}%{_sysconfdir}/containers/systemd/weston_terminal.container | ||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters