File xnee.spec of Package Xnee
Name: xnee
# List of additional build dependencies
#BuildRequires: gcc-c++ libxml2-devel
Version: 3.16
Release: 1
License: GPL v2
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Group: Development/Tools/Other
Summary: Xnee recods X-events and then you can play then afterwards
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://savannah.gnu.org/projects/xnee/
BuildRequires: Mesa-devel
BuildRequires: libdrm-devel
BuildRequires: pkgconfig
BuildRequires: gtk2-devel
BuildRequires: pcre-devel
BuildRequires: libgnomeui-devel
%if 0%{?suse_version} <= 1210
BuildRequires: xorg-x11-proto-devel
BuildRequires: xorg-x11-server-sdk
BuildRequires: gnome-panel-devel
BuildRequires: sax2-tools
%endif
%if 0%{?suse_version} >= 1220
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-sdk
BuildRequires: libXaw3d8
%endif
BuildRequires: dia
BuildRequires: ImageMagick
BuildRequires: texinfo
BuildRequires: ghostscript-library
BuildRequires: texlive
Requires: dia
Requires: ImageMagick
Requires: texinfo
Requires: ghostscript-library
Requires: texlive
%description
Xnee receives X11 protocol data (e g XEvents) from an X server and
prints them to a file (or stdout). By recording events such as
MapNotify, the replaying of events can be synchronised. This is not
only useful but essential. We can not replay or regenerate
keyboard-events to a window before it's ready to "receive" events. By
recording events and requests synchronisation can be implemented.
%prep
%setup
%build
# We don't need these anymore and Doesn't work on SLES 10
# aclocal
# libtoolize --force --copy
# autoreconf --force
%if 0%{?sles_version} == 10 || 0%{?suse_version} > 1140
%configure --disable-xinput2 --disable-gnome-applet
%else
%configure --disable-xinput2
%endif
make %{?_smp_mflags}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/xnee/
%{_datadir}/pixmaps/xnee.png
%{_datadir}/pixmaps/xnee.xpm
%{_libdir}/libtestcb.a
# %if 0%{?sles_version} != 10 && 0%{?suse_version} <= 1140
# %{_libdir}/bonobo/*
# %{_libdir}/gnome-panel/
# %endif
%{_mandir}/man1/*
%changelog