49 lines
1.5 KiB
RPMSpec
49 lines
1.5 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
|
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
Name: openruyi-desktop-setup-labwc
|
|
Version: 0.1.0
|
|
Release: %autorelease
|
|
Summary: Preset labwc configuration for openRuyi desktop user
|
|
License: MIT
|
|
BuildArch: noarch
|
|
Source1: rc.xml
|
|
Source2: menu.xml
|
|
Source3: autostart
|
|
Source4: openruyi.png
|
|
|
|
Requires: labwc
|
|
Requires: wofi
|
|
Requires: sfwbar
|
|
Requires: swaybg
|
|
Requires: waybar
|
|
|
|
%description
|
|
Preset labwc configuration files for desktop users.
|
|
This package installs system-wide defaults for labwc under
|
|
${XDG_CONFIG_DIRS:-/etc/xdg}/labwc.
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
install -d %{buildroot}%{_datadir}/openruyi-desktop-setup-labwc/labwc
|
|
install -d %{buildroot}%{_sysconfdir}/xdg/labwc
|
|
install -m 0644 %{SOURCE4} %{buildroot}%{_datadir}/openruyi-desktop-setup-labwc/labwc/openruyi.png
|
|
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/labwc/rc.xml
|
|
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/labwc/menu.xml
|
|
install -m 0755 %{SOURCE3} %{buildroot}%{_sysconfdir}/xdg/labwc/autostart
|
|
|
|
%files
|
|
%{_datadir}/openruyi-desktop-setup-labwc/labwc/openruyi.png
|
|
%config(noreplace) %{_sysconfdir}/xdg/labwc/rc.xml
|
|
%config(noreplace) %{_sysconfdir}/xdg/labwc/menu.xml
|
|
%config(noreplace) %{_sysconfdir}/xdg/labwc/autostart
|
|
|
|
%changelog
|
|
%{?autochangelog}
|