]> git.pld-linux.org Git - packages/wbg.git/blob - wbg.spec
new
[packages/wbg.git] / wbg.spec
1 Summary:        Super simple wallpaper application for Wayland compositors
2 Name:           wbg
3 Version:        1.0.2
4 Release:        1
5 License:        MIT
6 Group:          Applications
7 Source0:        https://codeberg.org/dnkl/wbg/archive/%{version}.tar.gz
8 # Source0-md5:  776810503b3321ab85ac3a8623ae5a10
9 URL:            https://codeberg.org/dnkl/wbg/
10 BuildRequires:  libjpeg-devel
11 BuildRequires:  libpng-devel
12 BuildRequires:  meson >= 0.53.0
13 BuildRequires:  ninja
14 BuildRequires:  pixman-devel
15 BuildRequires:  pkgconfig
16 BuildRequires:  rpmbuild(macros) >= 1.736
17 BuildRequires:  tllist-devel >= 1.0.1
18 BuildRequires:  wayland-devel
19 BuildRequires:  wayland-protocols
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Super simple wallpaper application for Wayland compositors
24 implementing the layer-shell protocol.
25
26 Wbg takes a single command line argument: a path to an image file.
27 This image is displayed scaled-to-fit on all monitors.
28
29 More display options, and/or the ability to set a per-monitor
30 wallpaper may be added in the future.
31
32 %prep
33 %setup -q -n %{name}
34
35 %build
36 %meson build
37
38 %ninja_build -C build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %ninja_install -C build
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.md
51 %attr(755,root,root) %{_bindir}/wbg
This page took 0.063361 seconds and 4 git commands to generate.