]> git.pld-linux.org Git - packages/wev.git/blob - wev.spec
new
[packages/wev.git] / wev.spec
1 Summary:        Wayland event viewer
2 Name:           wev
3 Version:        1.0.0
4 Release:        1
5 License:        MIT
6 Group:          Applications
7 Source0:        https://git.sr.ht/~sircmpwn/wev/archive/%{version}.tar.gz
8 # Source0-md5:  202208092a6560b1a78c568996a4cf27
9 URL:            https://git.sr.ht/~sircmpwn/wev/
10 BuildRequires:  pkgconfig
11 BuildRequires:  scdoc
12 BuildRequires:  wayland-devel
13 BuildRequires:  wayland-protocols
14 BuildRequires:  xorg-lib-libxkbcommon-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This is a tool for debugging events on a Wayland window, analagous to
19 the X11 tool xev.
20
21 %prep
22 %setup -q
23
24 %build
25 %{__make} all \
26         CC="%{__cc}" \
27         CFLAGS="%{rpmcppflags} %{rpmcflags} %{rpmldflags}"
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install \
33         DESTDIR=$RPM_BUILD_ROOT \
34         BINDIR=%{_bindir} \
35         MANDIR=%{_mandir}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc README.md
43 %attr(755,root,root) %{_bindir}/wev
44 %{_mandir}/man1/wev.1*
This page took 0.109597 seconds and 4 git commands to generate.