Stefan Dirsch
42707a0ea5
- Update to version 1.7.6: One significant change here: libXi was using raw serial numbers in event cookies, the one read off the wire. All other events don't use that number but a Xlib-internal serial number which is similar but not always the same. This could cause events to look out of order. With this release, libXi is now using the same serial number for event cookies as it uses for all other events. OBS-URL: https://build.opensuse.org/request/show/350386 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXi?expand=0&rev=29
97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package libXi
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX 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: libXi
|
|
%define lname libXi6
|
|
Version: 1.7.6
|
|
Release: 0
|
|
Summary: X Input Extension library
|
|
License: MIT
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://xorg.freedesktop.org/
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXi
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXi/
|
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
|
Source1: baselibs.conf
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(inputproto) >= 2.1.99.6
|
|
BuildRequires: pkgconfig(x11) >= 1.4.99.1
|
|
BuildRequires: pkgconfig(xext) >= 1.0.99.1
|
|
BuildRequires: pkgconfig(xextproto) >= 7.0.3
|
|
BuildRequires: pkgconfig(xfixes)
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
|
BuildRequires: pkgconfig(xproto) >= 7.0.13
|
|
|
|
%description
|
|
libXi is the client-side library for the X Input Extension.
|
|
|
|
%package -n %lname
|
|
Summary: X Input Extension library
|
|
Group: System/Libraries
|
|
|
|
%description -n %lname
|
|
libXi is the client-side library for the X Input Extension.
|
|
|
|
%package devel
|
|
Summary: Development files for the X Input Extension library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %lname = %version
|
|
# O/P added for 12.2
|
|
Provides: libXi6-devel = %version-%release
|
|
Obsoletes: libXi6-devel < %version-%release
|
|
|
|
%description devel
|
|
libXi is the client-side library for the X Input Extension.
|
|
|
|
This package contains the development headers for the library found
|
|
in %lname.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --docdir=%_docdir/%name --disable-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/libXi.so.6*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%_includedir/X11/*
|
|
%_libdir/libXi.so
|
|
%_libdir/pkgconfig/xi.pc
|
|
%_docdir/%name
|
|
%_mandir/man3/*
|
|
|
|
%changelog
|