# # spec file for package libXtst # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libXtst %define lname libXtst6 Version: 1.2.2 Release: 5.1 Summary: Xlib-based client API for the XTEST and RECORD extensions License: MIT Group: Development/Libraries/C and C++ Url: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXtst #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXtst/ Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: pkgconfig(inputproto) BuildRequires: pkgconfig(recordproto) >= 1.13.99.1 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) >= 1.0.99.4 BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xorg-macros) >= 1.12 %description The XTEST extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not intended to support general journaling and playback of user actions. The RECORD extension supports the recording and reporting of all core X protocol and arbitrary X extension protocol. %package -n %lname Summary: Xlib-based client API for the XTEST and RECORD extensions Group: System/Libraries %description -n %lname The XTEST extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not intended to support general journaling and playback of user actions. The RECORD extension supports the recording and reporting of all core X protocol and arbitrary X extension protocol. %package devel Summary: Development files for the X11 XTEST and RECORD extensions Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel The XTEST extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not intended to support general journaling and playback of user actions. The RECORD extension supports the recording and reporting of all core X protocol and arbitrary X extension protocol. This package contains the development headers for the library found in %lname. %prep %setup -q %build %configure --docdir=%_docdir/%name --enable-static make %{?_smp_mflags} %install make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/*.la %fdupes %buildroot/%_prefix %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %_libdir/libXtst.so.6* %files devel %defattr(-,root,root) %_includedir/X11/* %_libdir/libXtst.so %_libdir/libXtst.a %_libdir/pkgconfig/xtst.pc %_mandir/man3/* %_docdir/%name %changelog * Sat Jun 1 2013 tobias.johannes.klausmann@mni.thm.de - Update to version 1.2.2: This release provides the fix for the recently announced security issue CVE-2013-2063, along with a number of fixes to the build configuration. - Packaging changes: + Remove Patch0: u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch Superseded by another upstreamed version * Sun Feb 17 2013 jengelh@inai.de - Use more robust make install call - Avoid calling fdupes outside of /usr * Wed Apr 11 2012 vuntz@opensuse.org - Update to version 1.2.1: + Fix for gcc warning + Improvements to documentation + Build configuration improvements * Fri Feb 24 2012 sndirsch@suse.com - Added missing "xi" requires to pkconfig file (bnc#748808) * Tue Feb 7 2012 jengelh@medozas.de - Split xorg-x11-libs into separate packages