]> git.pld-linux.org Git - packages/wev.git/commitdiff
new master auto/th/wev-1.0.0-1
authorJan Palus <atler@pld-linux.org>
Tue, 2 Feb 2021 13:40:17 +0000 (14:40 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 2 Feb 2021 13:42:34 +0000 (14:42 +0100)
wev.spec [new file with mode: 0644]

diff --git a/wev.spec b/wev.spec
new file mode 100644 (file)
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*
This page took 0.054254 seconds and 4 git commands to generate.