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