Create swaybg.spec
This commit is contained in:
43
swaybg/swaybg.spec
Normal file
43
swaybg/swaybg.spec
Normal file
@@ -0,0 +1,43 @@
|
||||
Name: swaybg
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: Wallpaper tool for Wayland compositors
|
||||
License: MIT
|
||||
Group: System/GUI/Other
|
||||
URL: https://github.com/swaywm/swaybg
|
||||
Source0: https://github.com/swaywm/swaybg/releases/download/v%{version}/swaybg-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson >= 0.48.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: scdoc
|
||||
BuildRequires: wlroots-devel >= 0.5
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.26
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
|
||||
%description
|
||||
swaybg is a wallpaper utility for Wayland compositors. It is compatible with any Wayland compositor which implements the following Wayland protocols:
|
||||
wlr-layer-shell, xdg-output, xdg-shell.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%meson
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/swaybg
|
||||
%{_mandir}/man1/swaybg.1%{?ext_man}
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user