64c24d
Summary:	High-level API for X Keyboard Extension
cvsdist 05ca67
Name:		libxklavier
e2320d
Version:	5.0
e2320d
Release: 	1%{?dist}
d72efb
License:	LGPLv2+
cvsdist 05ca67
Group:		Development/Libraries
14aca3
URL: http://gswitchit.sourceforge.net/
673eb5
BuildRequires: libxml2-devel
673eb5
BuildRequires: libxkbfile-devel
673eb5
BuildRequires: libX11-devel
881c57
BuildRequires: libXi-devel
4a7037
BuildRequires: libxml2-devel
5c20eb
BuildRequires: glib2-devel >= 2.6.0
0fabb8
BuildRequires: iso-codes-devel
e2320d
Source: http://download.gnome.org/sources/libxklavier/5.0/%{name}-%{version}.tar.bz2
7160bd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
dfc4e2
# http://bugs.freedesktop.org/show_bug.cgi?id=22687
dfc4e2
Patch0: flags.patch
ec9ede
Patch2: catch-more-xerrors.patch
28c341
cvsdist 05ca67
%description
7160bd
libxklavier is a library providing a high-level API for the X Keyboard
64c24d
Extension (XKB). This library is intended to support XFree86 and other
cvsdist 05ca67
commercial X servers. It is useful for creating XKB-related software
cvsdist 05ca67
(layout indicators etc).
cvsdist 05ca67
cvsdist 05ca67
%package devel
64c24d
Summary: Development files for libxklavier
cvsdist 05ca67
Group: Development/Libraries
14aca3
Requires: %{name} = %{version}-%{release}
b8fadf
Requires: pkgconfig
d74484
Requires: gtk-doc
14aca3
Requires: libxml2-devel
cvsdist 05ca67
cvsdist 05ca67
%description devel
881c57
This package contains libraries, header files and developer documentation
881c57
needed to develop libxklavier applications.
cvsdist 05ca67
cvsdist 05ca67
%prep
cvsdist 05ca67
%setup -q
dfc4e2
%patch0 -p1 -b .flags
ec9ede
%patch2 -p1 -b .catch-more-xerrors
09ed44
cvsdist 05ca67
%build
cvsdist 05ca67
a46f22
%configure \
a46f22
  --disable-static \
a46f22
  --with-xkb-base='%{_datadir}/X11/xkb' \
a46f22
  --with-xkb-bin-base='%{_bindir}'
a46f22
a46f22
make %{?_smp_mflags}
a46f22
cvsdist 05ca67
cvsdist 05ca67
%install
cvsdist 05ca67
rm -rf $RPM_BUILD_ROOT
cvsdist 05ca67
09ed44
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 05ca67
b8fadf
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
cvsdist 05ca67
cvsdist 05ca67
%clean
cvsdist 05ca67
rm -rf %{buildroot}
cvsdist 05ca67
cvsdist 05ca67
%post -p /sbin/ldconfig
cvsdist 05ca67
cvsdist 05ca67
%postun -p /sbin/ldconfig
cvsdist 05ca67
cvsdist 05ca67
%files
cvsdist 05ca67
%defattr(-, root, root)
cvsdist 05ca67
7160bd
%doc AUTHORS NEWS README COPYING.LIB
283b75
%{_libdir}/libxklavier.so.16*
cvsdist 05ca67
cvsdist 05ca67
%files devel
cvsdist 05ca67
%defattr(-, root, root)
cvsdist 05ca67
a46f22
%{_libdir}/pkgconfig/libxklavier.pc
a46f22
%{_libdir}/libxklavier.so
a46f22
%{_includedir}/libxklavier/
5c20eb
%{_datadir}/gtk-doc/html/libxklavier/
cvsdist 05ca67
cvsdist 05ca67
%changelog
e2320d
* Sat Jan 16 2010 Matthias Clasen <mclasen@redhat.com> - 5.0-1
e2320d
- Update to 5.0
e2320d
32e0ce
* Thu Dec 10 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-7
32e0ce
- Catch more X errors
32e0ce
389929
* Thu Oct 15 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-6
389929
- Incorporate upstream fixes for XInput error handling
389929
389929
* Fri Oct  2 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-5
389929
- Handle BadDrawable errors gracefully
389929
af5aee
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-4
af5aee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
af5aee
dfc4e2
* Thu Jul  9 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-3
dfc4e2
- Avoid a critical warning at runtime
dfc4e2
a46f22
* Wed Jul 01 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.0-2
a46f22
- %%files: track files closer, esp lib sonames
a46f22
- %%build: drop --disable-doxygen, add --disable-static, add %%{?_smp_mflags}
a46f22
487c60
* Tue Jun 30 2009 Matthias Clasen <mclasen@redhat.com> - 4.0-1
487c60
- Update to 4.0
487c60
7160bd
* Thu Mar 19 2009 Matthias Clasen <mclasen@redhat.com> - 3.9-1
7160bd
- Update to 3.9
7160bd
0a7d71
* Sat Mar  7 2009 Matthias Clasen <mclasen@redhat.com> - 3.8-4
0a7d71
- Suppress xkbcomp spew in .xsession-errors
0a7d71
0575ee
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8-3
0575ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0575ee
881c57
* Mon Nov 24 2008 Matthias Clasen <mclasen@redhat.com> - 3.8-2
64c24d
- Update to 3.8
64c24d
4d7e15
* Fri Sep 19 2008 Matthias Clasen <mclasen@redhat.com> - 3.7-3
28c341
- Plug a memory leak
28c341
f8180a
* Fri Sep  5 2008 Matthias Clasen <mclasen@redhat.com> - 3.7-1
f8180a
- Update to 3.7
f8180a
2091fa
* Fri Jun 27 2008 Ray Strode <rstrode@redhat.com> - 3.6-2
2091fa
- Apply upstream patch to fix libxklavier crash (bug 452966)
2091fa
596b51
* Wed Apr 30 2008 Matthias Clasen <mclasen@redhat.com> - 3.6-1
596b51
- Update to 3.6
596b51
166a00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 3.5-1
166a00
- Update to 3.5
166a00
5cff08
* Wed Jan 30 2008 Matthias Clasen <mclasen@redhat.com> - 3.4-1
5cff08
- Update to 3.4
5cff08
d74484
* Wed Sep  5 2007 Matthias Clasen <mclasen@redhat.com> - 3.3-1
d74484
- Update to 3.3
d74484
f107f5
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 3.2-3
f107f5
- Rebuild for build ID
f107f5
d72efb
* Wed Aug  8 2007 Matthias Clasen <mclasen@redhat.com> - 3.2-2
d72efb
- Update the license field
d72efb
14aca3
* Sat May 19 2007 Matthias Clasen <mclasen@redhat.com> - 3.2-1
14aca3
- Update to 3.2
14aca3
048e1d
* Sat Nov  4 2006 Matthias Clasen <mclasen@redhat.com> - 3.1-2
048e1d
- Fix a possible crash (#213419)
048e1d
50f31a
* Sat Nov  4 2006 Matthias Clasen <mclasen@redhat.com> - 3.1-1
50f31a
- Update to 3.1
50f31a
b8fadf
* Wed Aug 30 2006 Matthias Clasen <mclasen@redhat.com> - 3.0-1.fc6
b8fadf
- Update to 3.0
b8fadf
- Require pkgconfig in the -devel package
b8fadf
- Don't ship static libraries
b8fadf
669fc6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.91-1.1
669fc6
- rebuild
669fc6
5c20eb
* Wed Jun 14 2006 Matthias Clasen <mclasen@redhat.com> - 2.91-1
5c20eb
- Update to 2.91
5c20eb
4a7037
* Thu Jun  8 2006 Jesse Keating <jkeating@redhat.com> - 2.2-3
4a7037
- Add missing BR libxml2-devel
4a7037
d74c86
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 2.2-2
d74c86
- rebuild for -devel deps
d74c86
77c9ac
* Mon Mar 13 2006 Ray Strode <rstrode@redhat.com> - 2.2-1
77c9ac
- Update to 2.2
77c9ac
f83aea
* Thu Mar  9 2006 Ray Strode <rstrode@redhat.com> - 2.1.0.2006.02.23-2
518ad4
- trap X error reply to limit the damage of bug 183569.
518ad4
f83aea
* Thu Feb 23 2006 Ray Strode <rstrode@redhat.com> - 2.1.0.2006.02.23-1
09ed44
- upgrade to latest cvs to handle xml comments (bug 178163)
09ed44
746059
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1-3.2
746059
- bump again for double-long bug on ppc(64)
746059
66235d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1-3.1
66235d
- rebuilt for new gcc4.1 snapshot and glibc changes
66235d
673eb5
* Thu Jan 19 2006 Christopher Aillon <caillon@redhat.com> 2.1-3
673eb5
- Add missing BR: libX11-devel libxml2-devel libxkbfile-devel
673eb5
0119bf
* Tue Dec 27 2005 Christopher Aillon <caillon@redhat.com> 2.1-2
0119bf
- Pull in latest version and get rid of the annoying XKB error dialog
0119bf
76c6d2
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
76c6d2
- rebuilt
76c6d2
4439fc
* Mon Nov 21 2005 Ray Strode <rstrode@redhat.com> 2.0-3
4439fc
- Don't hard code the xkb data prefix.
4439fc
9652eb
* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 2.0-2
9652eb
- Fix references to obsolete X11R6 paths
9652eb
David Zeuthen 6edb9c
* Mon Mar 21 2005 David Zeuthen <davidz@redhat.com> 2.0-1
David Zeuthen 6edb9c
- Update to latest upstream version
David Zeuthen 6edb9c
David Zeuthen a10097
* Wed Mar 16 2005 David Zeuthen <davidz@redhat.com> 1.14-2
David Zeuthen a10097
- Rebuild
David Zeuthen a10097
bcedac
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> 1.14-1
bcedac
- Update to 1.14
bcedac
Jonathan Blandford 6e76dc
* Wed Sep 29 2004 Jonathan Blandford <jrb@redhat.com> 1.02-3
Jonathan Blandford 6e76dc
- bump version
Jonathan Blandford 6e76dc
cvsdist e694c5
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist e694c5
- rebuilt
cvsdist e694c5
cvsdist dbb72d
* Tue Apr 20 2004 Jeremy Katz <katzj@redhat.com> - 1.02-1
cvsdist dbb72d
- update to 1.02 with real fixes for xorg
cvsdist dbb72d
cvsdist dbb72d
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 1.00-2
cvsdist dbb72d
- patch for xorg.xml instead of xfree86.xml
cvsdist dbb72d
cvsdist dbb72d
* Fri Apr  2 2004 Alex Larsson <alexl@redhat.com> 1.00-1
cvsdist dbb72d
- update to 1.00
cvsdist dbb72d
cvsdist dbb72d
* Mon Mar 15 2004 Bill Nottingham <notting@redhat.com>
cvsdist dbb72d
- fix typo (#118237)
cvsdist dbb72d
cvsdist c02900
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist c02900
- rebuilt
cvsdist c02900
cvsdist c02900
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist c02900
- rebuilt
cvsdist c02900
cvsdist 05ca67
cvsdist 05ca67
* Tue Jan 27 2004 Alexander Larsson <alexl@redhat.com> 0.97-1
cvsdist 05ca67
- First version