forked from pool/gnome-branding-Aeon
OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/gnome-branding-Aeon?expand=0&rev=10
This commit is contained in:
parent
0b1a446c97
commit
eaae8be588
3
49-aeon.rules
Normal file
3
49-aeon.rules
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
polkit.addAdminRule(function(action, subject) {
|
||||||
|
return ["unix-group:wheel"];
|
||||||
|
});
|
@ -33,6 +33,7 @@ Source7: distrobox-upgrade-all.service
|
|||||||
Source8: distrobox-upgrade-all.timer
|
Source8: distrobox-upgrade-all.timer
|
||||||
Source9: 50-aeon
|
Source9: 50-aeon
|
||||||
Source10: wallpaper-branding-Aeon.xml
|
Source10: wallpaper-branding-Aeon.xml
|
||||||
|
Source11: 49-aeon.rules
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: flatpak
|
BuildRequires: flatpak
|
||||||
BuildRequires: gio-branding-openSUSE
|
BuildRequires: gio-branding-openSUSE
|
||||||
@ -65,6 +66,7 @@ cp -a %{SOURCE7} distrobox-upgrade-all.service
|
|||||||
cp -a %{SOURCE8} distrobox-upgrade-all.timer
|
cp -a %{SOURCE8} distrobox-upgrade-all.timer
|
||||||
cp -a %{SOURCE9} 50-aeon
|
cp -a %{SOURCE9} 50-aeon
|
||||||
cp -a %{SOURCE10} wallpaper-branding-Aeon.xml
|
cp -a %{SOURCE10} wallpaper-branding-Aeon.xml
|
||||||
|
cp -a %{SOURCE11} 49-aeon.rules
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -88,6 +90,8 @@ install -d %{buildroot}%{_sysconfdir}/sudoers.d/
|
|||||||
install -m0644 50-aeon %{buildroot}%{_sysconfdir}/sudoers.d/50-aeon
|
install -m0644 50-aeon %{buildroot}%{_sysconfdir}/sudoers.d/50-aeon
|
||||||
install -d %{buildroot}%{_datadir}/gnome-background-properties
|
install -d %{buildroot}%{_datadir}/gnome-background-properties
|
||||||
install -m0644 wallpaper-branding-Aeon.xml %{buildroot}%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml
|
install -m0644 wallpaper-branding-Aeon.xml %{buildroot}%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml
|
||||||
|
install -d %{buildroot}%{_datadir}/polkit-1/rules.d/
|
||||||
|
install -m0644 49-aeon.rules %{buildroot}%{_datadir}/polkit-1/rules.d/49-aeon.rules
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%systemd_user_pre distrobox-upgrade-all.service
|
%systemd_user_pre distrobox-upgrade-all.service
|
||||||
@ -122,5 +126,7 @@ install -m0644 wallpaper-branding-Aeon.xml %{buildroot}%{_datadir}/gnome-backgro
|
|||||||
%{_sysconfdir}/sudoers.d/50-aeon
|
%{_sysconfdir}/sudoers.d/50-aeon
|
||||||
%dir %{_datadir}/gnome-background-properties
|
%dir %{_datadir}/gnome-background-properties
|
||||||
%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml
|
%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml
|
||||||
|
%dir %{_datadir}/polkit-1/rules.d
|
||||||
|
%{_datadir}/polkit-1/rules.d/49-aeon.rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user