]> git.pld-linux.org Git - SPECS.git/blob - swaybg.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / swaybg.spec
1 Summary:        Wallpaper tool for Wayland compositors
2 Name:           swaybg
3 Version:        1.2.1
4 Release:        1
5 License:        MIT
6 Group:          Applications
7 Source0:        https://github.com/swaywm/swaybg/releases/download/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  a0228fadd684cd778d46b70756088178
9 URL:            https://github.com/swaywm/swaybg
10 BuildRequires:  cairo-devel
11 BuildRequires:  gdk-pixbuf2-devel
12 BuildRequires:  meson >= 0.59.0
13 BuildRequires:  ninja
14 BuildRequires:  pkgconfig
15 BuildRequires:  rpmbuild(macros) >= 1.736
16 BuildRequires:  scdoc
17 BuildRequires:  wayland-devel >= 1.14.91
18 BuildRequires:  wayland-protocols >= 1.26
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 swaybg is a wallpaper utility for Wayland compositors. It is
23 compatible with any Wayland compositor which implements the following
24 Wayland protocols:
25
26 - wlr-layer-shell
27 - xdg-output
28 - xdg-shell
29
30 %prep
31 %setup -q
32
33 %build
34 %meson build
35 %ninja_build -C build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %ninja_install -C build
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README.md
47 %attr(755,root,root) %{_bindir}/swaybg
48 %{_mandir}/man1/swaybg.1*
This page took 0.964341 seconds and 3 git commands to generate.