Name: libxxf86misc Summary: X11 XFree86 miscellaneous extension library Version: 1.0.2 Release: 6.5 Group: Graphics/X Window System License: MIT URL: http://www.x.org/ Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz Source1001: packaging/libxxf86misc.manifest Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(xorg-macros) BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(xf86miscproto) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xextproto) %description X11 XFree86 miscellaneous extension library libXxf86misc provides an interface to the XFree86-Misc extension, which allows client applications to query the current keyboard and mouse settings of the running XFree86-based (XFree86, Xorg) server. More information about X.Org can be found at: This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc %package devel Summary: X11 XFree86 miscellaneous extension library (development headers) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel X11 XFree86 miscellaneous extension library (development headers) libXxf86misc provides an interface to the XFree86-Misc extension, which allows client applications to query the current keyboard and mouse settings of the running XFree86-based (XFree86, Xorg) server. This package contains the development headers for the library found in libxxf86misc1. Non-developers likely have little use for this package. More information about X.Org can be found at: This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc %prep %setup -q %build cp %{SOURCE1001} . export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed" %reconfigure --disable-static make %{?jobs:-j%jobs} rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %manifest libxxf86misc.manifest %defattr(-,root,root,-) %{_libdir}/libXxf86misc.so.1 %{_libdir}/libXxf86misc.so.1.1.0 %files devel %manifest libxxf86misc.manifest %defattr(-,root,root,-) %{_libdir}/libXxf86misc.so %{_libdir}/pkgconfig/xxf86misc.pc %doc %{_mandir}/man3/*.3*