# $Id$ # Authority: dries # Upstream: Henrik Sandklef %define desktop_vendor rpmforge %{?dtag: %{expand: %%define %dtag 1}} %{?el4:%define _without_modxorg 1} %{?el3:%define _without_modxorg 1} %{?el2:%define _without_modxorg 1} %{?fc4:%define _without_modxorg 1} %{?fc3:%define _without_modxorg 1} %{?fc2:%define _without_modxorg 1} %{?fc1:%define _without_modxorg 1} Summary: Record, distribute and replay X protocol data Name: xnee Version: 2.06 Release: 1 License: GPL Group: User Interface/X URL: http://www.gnu.org/software/xnee/ Source: ftp://ftp.gnu.org/gnu/xnee/Xnee-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gtk2-devel, desktop-file-utils, ghostscript, tetex, ImageMagick BuildRequires: texinfo %{!?_without_modxorg:BuildRequires: libXtst-devel} %description Xnee can record, distribute, and replay X (X11) protocol data. This is useful for automated tests of applications or benchmarking of applications. Think of it as a robot. %prep %setup -n Xnee-%{version} %{__cat} <%{name}.desktop [Desktop Entry] Name=xnee Comment=Record, distribute and replay X protocol data Exec=gnee Terminal=false Type=Application StartupNotify=true Categories=Application;AudioVideo; EOF %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %makeinstall %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/ desktop-file-install --vendor %{desktop_vendor} \ --add-category X-Red-Hat-Base \ --dir %{buildroot}%{_datadir}/applications \ xnee.desktop %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING FAQ INSTALL NEWS README TODO #%doc %{_infodir}/cnee.info* %doc %{_mandir}/man1/cnee.1* %{_bindir}/cnee %{_bindir}/gnee #%{_libdir}/libxnee* %{_datadir}/Xnee/ %{_datadir}/applications/%{desktop_vendor}-xnee.desktop %changelog * Mon Jun 25 2007 Dag Wieers - 2.06-1 - Updated to release 2.06. * Sun Aug 06 2006 Dag Wieers - 2.05-1 - Updated to release 2.05. * Sun Mar 19 2006 Dries Verachtert - 2.04-2 - Some missing buildrequirements added. * Tue Feb 28 2006 Dries Verachtert - 2.04-1 - Updated to release 2.04. * Tue Jan 03 2006 Dries Verachtert - 2.03-1 - Initial package.