diff options
author | Sung-Jin Park <sj76.park@samsung.com> | 2013-09-03 04:19:38 -0400 |
---|---|---|
committer | Sung-Jin Park <sj76.park@samsung.com> | 2013-09-03 04:22:50 -0400 |
commit | 4ded949a84f8ccee5d8dcb5f90cb98606397092b (patch) | |
tree | 527ee7bf584611a2df5b7579b991f69acf72956b | |
parent | a845d063243da63e42b60741b02920dc12eac330 (diff) | |
download | xev-4ded949a84f8ccee5d8dcb5f90cb98606397092b.tar.gz xev-4ded949a84f8ccee5d8dcb5f90cb98606397092b.tar.bz2 xev-4ded949a84f8ccee5d8dcb5f90cb98606397092b.zip |
Add a spec file for packaging
Change-Id: Ic9b24e9e6d0c81f9d90a3ea6736095283e302c28
-rwxr-xr-x | packaging/xev.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/packaging/xev.spec b/packaging/xev.spec new file mode 100755 index 0000000..b18af0d --- /dev/null +++ b/packaging/xev.spec @@ -0,0 +1,50 @@ +Summary: print contents of X events +Name: xev +Version: 1.2.1 +Release: 1 +License: MIT +Group: User Interface/X +URL: http://www.x.org +Source: %{name}-%{version}.tar.gz + +BuildRequires: pkgconfig(dmx) pkgconfig(xext) pkgconfig(xft) pkgconfig(xrandr) +BuildRequires: pkgconfig(xi) pkgconfig(xinerama) pkgconfig(xmu) +BuildRequires: pkgconfig(xpm) pkgconfig(xt) pkgconfig(xtst) pkgconfig(xv) +BuildRequires: pkgconfig(xxf86dga) pkgconfig(xxf86vm) +BuildRequires: pkgconfig(xcb) pkgconfig(xcb-atom) + +%description +Xev creates a window and then asks the X server to send it events whenever +anything happens to the window (such as it being moved, resized, typed in, +clicked in, etc.). You can also attach it to an existing window. It is useāful +for seeing what causes events to occur and to display the information that +they contain; it is essentially a debugging and development tool, and should +not be needed in normal usage. + +%prep +%setup -q + +%build +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}/usr/share/license +cp -af COPYING %{buildroot}/usr/share/license/%{name} +{ + make install DESTDIR=$RPM_BUILD_ROOT +} + +%remove_docs + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +/usr/share/license/%{name} +#%doc +%{_bindir}/* +#%{_bindir}/xev +#%{_mandir}/man1/xev.1* |