]> git.pld-linux.org Git - packages/wbg.git/commitdiff
new auto/th/wbg-1.0.2-1
authorJan Palus <atler@pld-linux.org>
Wed, 20 Apr 2022 09:28:35 +0000 (11:28 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 20 Apr 2022 09:28:35 +0000 (11:28 +0200)
wbg.spec [new file with mode: 0644]

diff --git a/wbg.spec b/wbg.spec
new file mode 100644 (file)
index 0000000..09f14de
--- /dev/null
+++ b/wbg.spec
@@ -0,0 +1,51 @@
+Summary:       Super simple wallpaper application for Wayland compositors
+Name:          wbg
+Version:       1.0.2
+Release:       1
+License:       MIT
+Group:         Applications
+Source0:       https://codeberg.org/dnkl/wbg/archive/%{version}.tar.gz
+# Source0-md5: 776810503b3321ab85ac3a8623ae5a10
+URL:           https://codeberg.org/dnkl/wbg/
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: meson >= 0.53.0
+BuildRequires: ninja
+BuildRequires: pixman-devel
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tllist-devel >= 1.0.1
+BuildRequires: wayland-devel
+BuildRequires: wayland-protocols
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Super simple wallpaper application for Wayland compositors
+implementing the layer-shell protocol.
+
+Wbg takes a single command line argument: a path to an image file.
+This image is displayed scaled-to-fit on all monitors.
+
+More display options, and/or the ability to set a per-monitor
+wallpaper may be added in the future.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/wbg
This page took 0.124967 seconds and 4 git commands to generate.