422b1f
Summary:	High-level API for X Keyboard Extension
422b1f
Name:		libxklavier
422b1f
Version:	5.4
422b1f
Release: 	11%{?dist}
422b1f
License:	LGPLv2+
422b1f
Group:		Development/Libraries
422b1f
URL: http://www.freedesktop.org/wiki/Software/LibXklavier
422b1f
BuildRequires: libxml2-devel
422b1f
BuildRequires: libxkbfile-devel
422b1f
BuildRequires: libX11-devel
422b1f
BuildRequires: libXi-devel
422b1f
BuildRequires: libxml2-devel
422b1f
BuildRequires: glib2-devel >= 2.6.0
422b1f
BuildRequires: iso-codes-devel
422b1f
BuildRequires: gobject-introspection-devel
422b1f
Requires: iso-codes
422b1f
#Source: http://download.gnome.org/sources/libxklavier/5.3/%{name}-%{version}.tar.xz
422b1f
Source: http://people.freedesktop.org/~svu/libxklavier-5.4.tar.bz2
422b1f
422b1f
%description
422b1f
libxklavier is a library providing a high-level API for the X Keyboard
422b1f
Extension (XKB). This library is intended to support XFree86 and other
422b1f
commercial X servers. It is useful for creating XKB-related software
422b1f
(layout indicators etc).
422b1f
422b1f
%package devel
422b1f
Summary: Development files for libxklavier
422b1f
Group: Development/Libraries
422b1f
Requires: %{name} = %{version}-%{release}
422b1f
Requires: libxml2-devel
422b1f
422b1f
%description devel
422b1f
This package contains libraries, header files and developer documentation
422b1f
needed to develop libxklavier applications.
422b1f
422b1f
%prep
422b1f
%setup -q
422b1f
422b1f
%build
422b1f
%configure \
422b1f
  --disable-static \
422b1f
  --with-xkb-base='%{_datadir}/X11/xkb' \
422b1f
  --with-xkb-bin-base='%{_bindir}'
422b1f
422b1f
make V=1 %{?_smp_mflags}
422b1f
422b1f
422b1f
%install
422b1f
make install DESTDIR=$RPM_BUILD_ROOT
422b1f
422b1f
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
422b1f
422b1f
%ldconfig_post
422b1f
422b1f
%ldconfig_postun
422b1f
422b1f
%files
422b1f
%doc AUTHORS NEWS README COPYING.LIB
422b1f
%{_libdir}/libxklavier.so.16*
422b1f
%dir %{_libdir}/girepository-1.0
422b1f
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
422b1f
422b1f
%files devel
422b1f
%{_libdir}/pkgconfig/libxklavier.pc
422b1f
%{_libdir}/libxklavier.so
422b1f
%{_includedir}/libxklavier/
422b1f
%{_datadir}/gtk-doc
422b1f
%dir %{_datadir}/gir-1.0
422b1f
%{_datadir}/gir-1.0/Xkl-1.0.gir
422b1f
422b1f
%changelog
422b1f
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 5.4-11
422b1f
- Use ldconfig scriptlet macros
422b1f
422b1f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-10
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
422b1f
422b1f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-9
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
422b1f
422b1f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-8
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
422b1f
422b1f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-7
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
422b1f
422b1f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-6
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
422b1f
422b1f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-5
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
422b1f
422b1f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-4
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
422b1f
422b1f
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 5.4-3
422b1f
- Rebuilt for gobject-introspection 1.41.4
422b1f
422b1f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-2
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
422b1f
422b1f
* Tue Oct 8  2013 Peter Robinson <pbrobinson@fedoraproject.org> 5.4-1
422b1f
- Update to 5.4
422b1f
422b1f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3-3
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
422b1f
422b1f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3-2
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
422b1f
422b1f
* Sun Sep 23 2012 Kalev Lember <kalevlember@gmail.com> - 5.3-1
422b1f
- Update to 5.3
422b1f
- Drop flags.patch and catch-more-xerrors.patch: applied upstream
422b1f
422b1f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.1-3
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
422b1f
422b1f
* Thu Apr 19 2012 Matthias Clasen <mclasen@redhat.com> - 5.2.1-2
422b1f
- Add a runtime dependency on iso-codes (#813833)
422b1f
422b1f
* Thu Feb 16 2012 Ray Strode <rstrode@redhat.com> 5.2-2
422b1f
- Enable gobject-introspection
422b1f
422b1f
* Tue Jan 17 2012 Matthias Clasen <mclasen@redhat.com> - 5.2-1
422b1f
- Update to 5.2
422b1f
422b1f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-2
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
422b1f
422b1f
* Sun Feb 13 2011 Christopher Aillon <caillon@redhat.com> - 5.1-1
422b1f
- Update to 5.1
422b1f
422b1f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-3
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
422b1f
422b1f
* Mon Aug 23 2010 Matthias Clasen <mclasen@redhat.com> 5.0-2
422b1f
- Co-own /usr/share/gtk-doc (#604402)
422b1f
422b1f
* Sat Jan 16 2010 Matthias Clasen <mclasen@redhat.com> - 5.0-1
422b1f
- Update to 5.0
422b1f
422b1f
* Thu Dec 10 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-7
422b1f
- Catch more X errors
422b1f
422b1f
* Thu Oct 15 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-6
422b1f
- Incorporate upstream fixes for XInput error handling
422b1f
422b1f
* Fri Oct  2 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-5
422b1f
- Handle BadDrawable errors gracefully
422b1f
422b1f
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-4
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
422b1f
422b1f
* Thu Jul  9 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-3
422b1f
- Avoid a critical warning at runtime
422b1f
422b1f
* Wed Jul 01 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.0-2
422b1f
- %%files: track files closer, esp lib sonames
422b1f
- %%build: drop --disable-doxygen, add --disable-static, add %%{?_smp_mflags}
422b1f
422b1f
* Tue Jun 30 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-1
422b1f
- Update to 4.0
422b1f
422b1f
* Thu Mar 19 2009 Matthias Clasen <mclasen@redhat.com> - 3.9-1
422b1f
- Update to 3.9
422b1f
422b1f
* Sat Mar  7 2009 Matthias Clasen <mclasen@redhat.com> - 3.8-4
422b1f
- Suppress xkbcomp spew in .xsession-errors
422b1f
422b1f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8-3
422b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
422b1f
422b1f
* Mon Nov 24 2008 Matthias Clasen <mclasen@redhat.com> - 3.8-2
422b1f
- Update to 3.8
422b1f
422b1f
* Fri Sep 19 2008 Matthias Clasen <mclasen@redhat.com> - 3.7-3
422b1f
- Plug a memory leak
422b1f
422b1f
* Fri Sep  5 2008 Matthias Clasen <mclasen@redhat.com> - 3.7-1
422b1f
- Update to 3.7
422b1f
422b1f
* Fri Jun 27 2008 Ray Strode <rstrode@redhat.com> - 3.6-2
422b1f
- Apply upstream patch to fix libxklavier crash (bug 452966)
422b1f
422b1f
* Wed Apr 30 2008 Matthias Clasen <mclasen@redhat.com> - 3.6-1
422b1f
- Update to 3.6
422b1f
422b1f
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 3.5-1
422b1f
- Update to 3.5
422b1f
422b1f
* Wed Jan 30 2008 Matthias Clasen <mclasen@redhat.com> - 3.4-1
422b1f
- Update to 3.4
422b1f
422b1f
* Wed Sep  5 2007 Matthias Clasen <mclasen@redhat.com> - 3.3-1
422b1f
- Update to 3.3
422b1f
422b1f
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 3.2-3
422b1f
- Rebuild for build ID
422b1f
422b1f
* Wed Aug  8 2007 Matthias Clasen <mclasen@redhat.com> - 3.2-2
422b1f
- Update the license field
422b1f
422b1f
* Sat May 19 2007 Matthias Clasen <mclasen@redhat.com> - 3.2-1
422b1f
- Update to 3.2
422b1f
422b1f
* Sat Nov  4 2006 Matthias Clasen <mclasen@redhat.com> - 3.1-2
422b1f
- Fix a possible crash (#213419)
422b1f
422b1f
* Sat Nov  4 2006 Matthias Clasen <mclasen@redhat.com> - 3.1-1
422b1f
- Update to 3.1
422b1f
422b1f
* Wed Aug 30 2006 Matthias Clasen <mclasen@redhat.com> - 3.0-1.fc6
422b1f
- Update to 3.0
422b1f
- Require pkgconfig in the -devel package
422b1f
- Don't ship static libraries
422b1f
422b1f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.91-1.1
422b1f
- rebuild
422b1f
422b1f
* Wed Jun 14 2006 Matthias Clasen <mclasen@redhat.com> - 2.91-1
422b1f
- Update to 2.91
422b1f
422b1f
* Thu Jun  8 2006 Jesse Keating <jkeating@redhat.com> - 2.2-3
422b1f
- Add missing BR libxml2-devel
422b1f
422b1f
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 2.2-2
422b1f
- rebuild for -devel deps
422b1f
422b1f
* Mon Mar 13 2006 Ray Strode <rstrode@redhat.com> - 2.2-1
422b1f
- Update to 2.2
422b1f
422b1f
* Thu Mar  9 2006 Ray Strode <rstrode@redhat.com> - 2.1.0.2006.02.23-2
422b1f
- trap X error reply to limit the damage of bug 183569.
422b1f
422b1f
* Thu Feb 23 2006 Ray Strode <rstrode@redhat.com> - 2.1.0.2006.02.23-1
422b1f
- upgrade to latest cvs to handle xml comments (bug 178163)
422b1f
422b1f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1-3.2
422b1f
- bump again for double-long bug on ppc(64)
422b1f
422b1f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1-3.1
422b1f
- rebuilt for new gcc4.1 snapshot and glibc changes
422b1f
422b1f
* Thu Jan 19 2006 Christopher Aillon <caillon@redhat.com> 2.1-3
422b1f
- Add missing BR: libX11-devel libxml2-devel libxkbfile-devel
422b1f
422b1f
* Tue Dec 27 2005 Christopher Aillon <caillon@redhat.com> 2.1-2
422b1f
- Pull in latest version and get rid of the annoying XKB error dialog
422b1f
422b1f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
422b1f
- rebuilt
422b1f
422b1f
* Mon Nov 21 2005 Ray Strode <rstrode@redhat.com> 2.0-3
422b1f
- Don't hard code the xkb data prefix.
422b1f
422b1f
* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 2.0-2
422b1f
- Fix references to obsolete X11R6 paths
422b1f
422b1f
* Mon Mar 21 2005 David Zeuthen <davidz@redhat.com> 2.0-1
422b1f
- Update to latest upstream version
422b1f
422b1f
* Wed Mar 16 2005 David Zeuthen <davidz@redhat.com> 1.14-2
422b1f
- Rebuild
422b1f
422b1f
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> 1.14-1
422b1f
- Update to 1.14
422b1f
422b1f
* Wed Sep 29 2004 Jonathan Blandford <jrb@redhat.com> 1.02-3
422b1f
- bump version
422b1f
422b1f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
422b1f
- rebuilt
422b1f
422b1f
* Tue Apr 20 2004 Jeremy Katz <katzj@redhat.com> - 1.02-1
422b1f
- update to 1.02 with real fixes for xorg
422b1f
422b1f
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 1.00-2
422b1f
- patch for xorg.xml instead of xfree86.xml
422b1f
422b1f
* Fri Apr  2 2004 Alex Larsson <alexl@redhat.com> 1.00-1
422b1f
- update to 1.00
422b1f
422b1f
* Mon Mar 15 2004 Bill Nottingham <notting@redhat.com>
422b1f
- fix typo (#118237)
422b1f
422b1f
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
422b1f
- rebuilt
422b1f
422b1f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
422b1f
- rebuilt
422b1f
422b1f
422b1f
* Tue Jan 27 2004 Alexander Larsson <alexl@redhat.com> 0.97-1
422b1f
- First version