Accepting request 812031 from home:dkondratenko:branches:X11:Wayland
- Add separate branding package OBS-URL: https://build.opensuse.org/request/show/812031 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=43
This commit is contained in:
parent
c232020e6f
commit
b26e90606b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 6 07:29:07 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||
|
||||
- Add separate branding package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 12 21:33:24 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
22
waybar.spec
22
waybar.spec
@ -53,12 +53,28 @@ BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
# requires branding
|
||||
Requires: %{name}-branding >= %{version}
|
||||
# optional: sway integration
|
||||
Recommends: sway
|
||||
|
||||
%description
|
||||
Customizable Wayland bar for Sway and Wlroots based compositors.
|
||||
|
||||
%package branding-upstream
|
||||
Summary: Upstream branding of %{name}
|
||||
Group: System/GUI/Other
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: packageand(%{name}:branding-upstream)
|
||||
Conflicts: otherproviders(%{name}-branding)
|
||||
Provides: %{name}-branding = %{version}
|
||||
BuildArch: noarch
|
||||
#BRAND: /etc/xdg/waybar/config contains upstream config
|
||||
#BRAND: /etc/xdg/waybar/style.css contains upstream style
|
||||
|
||||
%description branding-upstream
|
||||
This package provides the upstream look and feel for sway.
|
||||
|
||||
%prep
|
||||
%setup -q -n Waybar-%{version}
|
||||
|
||||
@ -70,9 +86,13 @@ Customizable Wayland bar for Sway and Wlroots based compositors.
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%{_sysconfdir}/xdg/waybar/
|
||||
%{_bindir}/waybar
|
||||
%{_mandir}/man?/%{name}*
|
||||
%{_prefix}/lib/systemd/user/waybar.service
|
||||
|
||||
%files branding-upstream
|
||||
%dir %{_sysconfdir}/xdg/waybar
|
||||
%config(noreplace) %{_sysconfdir}/xdg/waybar/config
|
||||
%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user