[packages/wev] new
atler
atler at pld-linux.org
Tue Feb 2 14:43:04 CET 2021
commit b49a87a62ea813f430774fe91340311761aa7fed
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Feb 2 14:40:17 2021 +0100
new
wev.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/wev.spec b/wev.spec
new file mode 100644
index 0000000..d0f2f7b
--- /dev/null
+++ b/wev.spec
@@ -0,0 +1,44 @@
+Summary: Wayland event viewer
+Name: wev
+Version: 1.0.0
+Release: 1
+License: MIT
+Group: Applications
+Source0: https://git.sr.ht/~sircmpwn/wev/archive/%{version}.tar.gz
+# Source0-md5: 202208092a6560b1a78c568996a4cf27
+URL: https://git.sr.ht/~sircmpwn/wev/
+BuildRequires: pkgconfig
+BuildRequires: scdoc
+BuildRequires: wayland-devel
+BuildRequires: wayland-protocols
+BuildRequires: xorg-lib-libxkbcommon-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a tool for debugging events on a Wayland window, analagous to
+the X11 tool xev.
+
+%prep
+%setup -q
+
+%build
+%{__make} all \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcppflags} %{rpmcflags} %{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ BINDIR=%{_bindir} \
+ MANDIR=%{_mandir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/wev
+%{_mandir}/man1/wev.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wev.git/commitdiff/b49a87a62ea813f430774fe91340311761aa7fed
More information about the pld-cvs-commit
mailing list