2012-02-09 13:19:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package libXtst
|
|
|
|
#
|
2013-03-19 19:47:51 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-02-09 13:19:22 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
2012-02-24 11:42:06 +00:00
|
|
|
|
|
|
|
|
2012-02-09 13:19:22 +00:00
|
|
|
Name: libXtst
|
|
|
|
%define lname libXtst6
|
2012-04-12 10:44:36 +00:00
|
|
|
Version: 1.2.1
|
2012-02-09 13:19:22 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Xlib-based client API for the XTEST and RECORD extensions
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-02-24 11:42:06 +00:00
|
|
|
Url: http://xorg.freedesktop.org/
|
2012-02-09 13:19:22 +00:00
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXtst
|
2012-02-13 10:08:07 +00:00
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXtst/
|
2012-04-12 10:44:36 +00:00
|
|
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
2012-02-24 11:42:06 +00:00
|
|
|
Patch0: u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-02-09 13:19:22 +00:00
|
|
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
2012-02-24 11:42:06 +00:00
|
|
|
BuildRequires: fdupes
|
2012-04-12 10:44:36 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(inputproto)
|
2012-02-24 11:42:06 +00:00
|
|
|
BuildRequires: pkgconfig(recordproto) >= 1.13.99.1
|
2012-04-12 10:44:36 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext) >= 1.0.99.4
|
2012-02-24 11:42:06 +00:00
|
|
|
BuildRequires: pkgconfig(xextproto) >= 7.0.99.3
|
2012-04-12 10:44:36 +00:00
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
2012-02-09 13:19:22 +00:00
|
|
|
|
|
|
|
%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
|
2012-02-24 11:42:06 +00:00
|
|
|
%patch0 -p1
|
2012-02-09 13:19:22 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --docdir=%_docdir/%name --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-03-19 19:47:51 +00:00
|
|
|
make install DESTDIR="%buildroot"
|
2012-02-09 13:19:22 +00:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2013-03-19 19:47:51 +00:00
|
|
|
%fdupes %buildroot/%_prefix
|
2012-02-09 13:19:22 +00:00
|
|
|
|
|
|
|
%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/pkgconfig/xtst.pc
|
|
|
|
%_mandir/man3/*
|
|
|
|
%_docdir/%name
|
|
|
|
|
|
|
|
%changelog
|