[packages/swaybg] new
atler
atler at pld-linux.org
Thu Jul 22 11:51:29 CEST 2021
commit 6d60f1b72a789ab5bf3f4f5219aba9bca65b85c1
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jul 22 11:49:49 2021 +0200
new
swaybg.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/swaybg.spec b/swaybg.spec
new file mode 100644
index 0000000..ce248ac
--- /dev/null
+++ b/swaybg.spec
@@ -0,0 +1,47 @@
+Summary: Wallpaper tool for Wayland compositors
+Name: swaybg
+Version: 1.1
+Release: 1
+License: MIT
+Group: Applications
+Source0: https://github.com/swaywm/swaybg/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: ac08f6bfa71275196ede6c631dfb337e
+URL: https://github.com/swaywm/swaybg
+BuildRequires: cairo-devel
+BuildRequires: gdk-pixbuf2-devel
+BuildRequires: meson >= 0.48.0
+BuildRequires: ninja
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: scdoc
+BuildRequires: wayland-devel >= 1.14.91
+BuildRequires: wayland-protocols >= 1.14
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+swaybg is a wallpaper utility for Wayland compositors. It is
+compatible with any Wayland compositor which implements the following
+Wayland protocols:
+
+- wlr-layer-shell
+- xdg-output
+- xdg-shell
+
+%prep
+%setup -q
+
+%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}/swaybg
+%{_mandir}/man1/swaybg.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/swaybg.git/commitdiff/6d60f1b72a789ab5bf3f4f5219aba9bca65b85c1
More information about the pld-cvs-commit
mailing list