2023-10-11 17:36:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package plasma-branding-Kalpa
|
|
|
|
#
|
2024-01-06 02:47:05 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2023-10-11 17:36:08 +02:00
|
|
|
# Copyright (c) 2021 SUSE Software Solutions GmbH
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: plasma-branding-Kalpa
|
2024-04-01 23:21:35 +02:00
|
|
|
Version: 20240401
|
2023-10-11 17:36:08 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Kalpa Desktop default settings
|
|
|
|
License: BSD-3-Clause
|
2023-12-27 18:54:37 +01:00
|
|
|
URL: http://kalpadesktop.org
|
2023-10-11 17:36:08 +02:00
|
|
|
Source: COPYING
|
|
|
|
Source1: flathub.flatpakrepo
|
|
|
|
Source2: kalpa-firstboot.desktop
|
|
|
|
Source3: kalpa-firstboot
|
|
|
|
Source4: 50-desktop.conf
|
|
|
|
Source7: distrobox-upgrade-all.service
|
|
|
|
Source8: distrobox-upgrade-all.timer
|
2023-12-27 18:54:37 +01:00
|
|
|
Source9: 49-kalpa.rules
|
|
|
|
Source10: 50-kalpa
|
2023-12-10 21:32:46 +01:00
|
|
|
Source11: kalpa-firstboot-aarch64.desktop
|
|
|
|
Source12: kalpa-firstboot-aarch64
|
2023-10-11 17:36:08 +02:00
|
|
|
BuildRequires: flatpak
|
2023-12-18 18:50:48 +01:00
|
|
|
BuildRequires: polkit
|
|
|
|
BuildRequires: sudo
|
2023-10-11 17:36:08 +02:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
BuildRequires: transactional-update
|
|
|
|
Requires: flatpak
|
|
|
|
Requires: kdialog
|
2023-12-18 18:50:48 +01:00
|
|
|
Requires: polkit
|
2023-10-11 17:36:08 +02:00
|
|
|
Requires: sound-theme-freedesktop
|
2023-12-18 18:50:48 +01:00
|
|
|
Requires: sudo
|
2023-10-11 17:36:08 +02:00
|
|
|
Requires: transactional-update
|
|
|
|
Conflicts: gnome-branding-MicroOS
|
2023-12-18 18:50:48 +01:00
|
|
|
Provides: plasma-branding = %{version}
|
|
|
|
Provides: plasma-branding-MicroOS = %{version}
|
|
|
|
Obsoletes: plasma-branding-MicroOS < %{version}
|
2023-12-10 21:32:46 +01:00
|
|
|
BuildArch: noarch
|
2023-10-11 17:36:08 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides default configurations and applications for openSUSE Kalpa.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -T -c %{name}-%{version}
|
|
|
|
cp -a %{SOURCE0} COPYING
|
|
|
|
cp -a %{SOURCE1} flathub.flatpakrepo
|
2023-10-27 05:28:16 +02:00
|
|
|
%ifarch aarch64
|
|
|
|
cp -a %{SOURCE11} kalpa-firstboot-aarch64.desktop
|
|
|
|
cp -a %{SOURCE12} kalpa-firstboot-aarch64
|
|
|
|
%endif
|
|
|
|
%ifnarch aarch64
|
2023-10-11 17:36:08 +02:00
|
|
|
cp -a %{SOURCE2} kalpa-firstboot.desktop
|
|
|
|
cp -a %{SOURCE3} kalpa-firstboot
|
2023-10-27 05:28:16 +02:00
|
|
|
%endif
|
2023-10-11 17:36:08 +02:00
|
|
|
cp -a %{SOURCE4} 50-desktop.conf
|
|
|
|
cp -a %{SOURCE7} distrobox-upgrade-all.service
|
|
|
|
cp -a %{SOURCE8} distrobox-upgrade-all.timer
|
|
|
|
cp -a %{SOURCE9} 49-kalpa.rules
|
|
|
|
cp -a %{SOURCE10} 50-kalpa
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d %{buildroot}%{_datadir}/kalpa
|
|
|
|
install -m0644 flathub.flatpakrepo %{buildroot}%{_datadir}/kalpa
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/skel/.config/autostart
|
2023-10-27 05:28:16 +02:00
|
|
|
%ifnarch aarch64
|
2023-10-11 17:36:08 +02:00
|
|
|
install -m0644 kalpa-firstboot.desktop %{buildroot}%{_sysconfdir}/skel/.config/autostart/kalpa-firstboot.desktop
|
|
|
|
install -d %{buildroot}%{_bindir}
|
|
|
|
install -m0755 kalpa-firstboot %{buildroot}%{_bindir}/kalpa-firstboot
|
2023-10-27 05:28:16 +02:00
|
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
|
|
install -m0644 kalpa-firstboot-aarch64.desktop %{buildroot}%{_sysconfdir}/skel/.config/autostart/kalpa-firstboot-aarch64.desktop
|
|
|
|
install -d %{buildroot}%{_bindir}
|
|
|
|
install -m0755 kalpa-firstboot-aarch64 %{buildroot}%{_bindir}/kalpa-firstboot-aarch64
|
|
|
|
%endif
|
2023-10-11 17:36:08 +02:00
|
|
|
install -d %{buildroot}%{_prefix}%{_sysconfdir}/transactional-update.conf.d
|
|
|
|
install -m644 50-desktop.conf %{buildroot}%{_prefix}%{_sysconfdir}/transactional-update.conf.d/50-desktop.conf
|
|
|
|
install -d %{buildroot}%{_userunitdir}
|
|
|
|
install -m0644 distrobox-upgrade-all.service %{buildroot}%{_userunitdir}/distrobox-upgrade-all.service
|
|
|
|
install -m0644 distrobox-upgrade-all.timer %{buildroot}%{_userunitdir}/distrobox-upgrade-all.timer
|
2023-12-18 18:50:48 +01:00
|
|
|
install -d %{buildroot}%{_distconfdir}/sudoers.d/
|
|
|
|
install -m0640 50-kalpa %{buildroot}%{_distconfdir}/sudoers.d/50-kalpa
|
2023-10-11 17:36:08 +02:00
|
|
|
install -d %{buildroot}%{_datadir}/polkit-1/rules.d/
|
|
|
|
install -m0444 49-kalpa.rules %{buildroot}%{_datadir}/polkit-1/rules.d/49-kalpa.rules
|
|
|
|
|
|
|
|
%pre
|
|
|
|
%systemd_user_pre distrobox-upgrade-all.service
|
|
|
|
%systemd_user_pre distrobox-upgrade-all.timer
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_user_post distrobox-upgrade-all.service
|
|
|
|
%systemd_user_post distrobox-upgrade-all.timer
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_user_preun distrobox-upgrade-all.service
|
|
|
|
%systemd_user_preun distrobox-upgrade-all.timer
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%dir %{_datadir}/kalpa
|
|
|
|
%{_datadir}/kalpa/flathub.flatpakrepo
|
|
|
|
%dir %{_sysconfdir}/skel/.config
|
|
|
|
%dir %{_sysconfdir}/skel/.config/autostart
|
2023-10-27 05:28:16 +02:00
|
|
|
%ifnarch aarch64
|
2023-10-11 17:36:08 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/skel/.config/autostart/kalpa-firstboot.desktop
|
|
|
|
%{_bindir}/kalpa-firstboot
|
2023-10-27 05:28:16 +02:00
|
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
|
|
%config(noreplace) %{_sysconfdir}/skel/.config/autostart/kalpa-firstboot-aarch64.desktop
|
|
|
|
%{_bindir}/kalpa-firstboot-aarch64
|
|
|
|
%endif
|
2023-10-11 17:36:08 +02:00
|
|
|
%dir %{_prefix}%{_sysconfdir}/transactional-update.conf.d
|
|
|
|
%{_prefix}%{_sysconfdir}/transactional-update.conf.d/50-desktop.conf
|
|
|
|
%{_userunitdir}/distrobox-upgrade-all.service
|
|
|
|
%{_userunitdir}/distrobox-upgrade-all.timer
|
2023-12-18 18:50:48 +01:00
|
|
|
%{_distconfdir}/sudoers.d/50-kalpa
|
2023-10-11 17:36:08 +02:00
|
|
|
%{_datadir}/polkit-1/rules.d/49-kalpa.rules
|
|
|
|
|
|
|
|
%changelog
|