From fb55a5f33d3b1ea5421a8b1c8809d6c46f13ec551c7ca14f88370fcb5cbb9f95 Mon Sep 17 00:00:00 2001 From: Denis Kondratenko Date: Tue, 14 Jul 2020 13:08:30 +0000 Subject: [PATCH] Accepting request 820896 from home:dkondratenko update openSUSEway to 0.6 OBS-URL: https://build.opensuse.org/request/show/820896 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/openSUSEway?expand=0&rev=7 --- openSUSEway.changes | 3 ++- openSUSEway.spec | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/openSUSEway.changes b/openSUSEway.changes index 99a1233..a501736 100644 --- a/openSUSEway.changes +++ b/openSUSEway.changes @@ -5,7 +5,8 @@ Tue Jul 14 11:40:24 UTC 2020 - Denis Kondratenko * Enforce tty branding in the branded sway * Don't start mako explicitly * Only include sway config files with .conf file extension -- Add initial requirements to the openSUSEway desktop meta package +- Add initial requirements to the openSUSEway desktop meta package + * add openSUSEway pattern ------------------------------------------------------------------- Mon Jun 22 16:02:30 UTC 2020 - Denis Kondratenko diff --git a/openSUSEway.spec b/openSUSEway.spec index 88e220f..9128ce6 100644 --- a/openSUSEway.spec +++ b/openSUSEway.spec @@ -22,7 +22,12 @@ Name: openSUSEway Version: 0.6 Release: 0 Summary: The openSUSEway desktop environment meta package -Group: System/GUI/Other +Group: Metapackages +Provides: pattern() = openSUSEway +Provides: pattern-category() = openSUSEway +Provides: pattern-icon() = pattern-sway +Provides: pattern-order() = 1460 +Provides: pattern-visible() URL: https://github.com/openSUSE/openSUSEway Source0: https://github.com/openSUSE/openSUSEway/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz License: MIT @@ -91,6 +96,9 @@ This package provides the openSUSE look and feel for waybar. %install +mkdir -p %{buildroot}/%{_defaultdocdir}/patterns/ +echo 'This file marks the pattern openSUSEway to be installed.' >%{buildroot}/%{_defaultdocdir}/patterns/openSUSEway.txt + ## Sway install -D -p -m 644 .config/sway/config %{buildroot}%{_sysconfdir}/sway/config install -D -p -m 644 .config/sway/env %{buildroot}%{_sysconfdir}/sway/env @@ -110,8 +118,9 @@ sed -i -e "s|wofi --show.*|wofi --conf=%{_sysconfdir}/wofi/config --style=%{_sys install -D -p -m 644 .config/waybar/config %{buildroot}%{_sysconfdir}/xdg/waybar/config install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/waybar/style.css -%clean -rm -rf %{buildroot} +%files +%dir %{_defaultdocdir}/patterns +%{_defaultdocdir}/patterns/openSUSEway.txt %files -n sway-branding-openSUSE %dir %{_sysconfdir}/sway