[packages/wbg] new
atler
atler at pld-linux.org
Wed Apr 20 11:29:21 CEST 2022
commit 713673c5cbd8c2c62fadcdef2acc7873ba2366b2
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Apr 20 11:28:35 2022 +0200
new
wbg.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
---
diff --git a/wbg.spec b/wbg.spec
new file mode 100644
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wbg.git/commitdiff/713673c5cbd8c2c62fadcdef2acc7873ba2366b2
More information about the pld-cvs-commit
mailing list