wf-shell/wf-shell.spec
Dead Mozay 2515a55e5b - Update to version 0.8.0:
* This version has a number of new widgets:
    - Tray.
    - Command-output for displaying output of commands in the panel.
    - Notifications.
    - Logout interface.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wf-shell?expand=0&rev=6
2023-10-09 06:38:48 +00:00

78 lines
2.5 KiB
RPMSpec

#
# spec file for package wf-shell
#
# Copyright (c) 2023 SUSE LLC
#
# 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: wf-shell
Version: 0.8.0
Release: 0
Summary: A GTK3-based panel for wayfire
License: MIT
URL: https://wayfire.org/
Source0: https://github.com/WayfireWM/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/WayfireWM/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz.sha256sum
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libboost_filesystem-devel
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbusmenu-gtk3-0.4)
BuildRequires: pkgconfig(gtk-layer-shell-0)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(wayfire)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wf-config) >= 0.8.0
BuildRequires: pkgconfig(wlroots) >= 0.16.0
%description
wf-shell is a repository which contains the various components needed to built a fully functional DE based around wayfire. Currently it has only a GTK-based panel and background client.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}
%description devel
%{summary}.
%prep
echo "`grep %{name}-%{version}.tar.xz %{SOURCE1} | grep -Eo '^[0-9a-f]+'` %{SOURCE0}" | sha256sum -c
%autosetup
%build
%meson
%meson_build
%install
%meson_install
install -D -m 0644 wf-shell.ini.example %{buildroot}%{_datadir}/wayfire/wf-shell.ini.example
%fdupes %{buildroot}%{_prefix}
%files
%{_bindir}/wf-*
%{_bindir}/wayland-logout
%{_datadir}/wayfire/
%{_datadir}/wayfire/wf-shell.ini.example
%{_datadir}/wayfire/icons/*.png
%{_mandir}/man1/wayland-logout.1%{?ext_man}
%files devel
%{_libdir}/pkgconfig/wf-shell.pc
%changelog