Summary: library providing high-level API for X Keyboard Extension
Summary(ja): X キーボード拡張の高レベル API を提供するライブラリ
Name: libxklavier
Version: 5.3
Release: 2%{?_dist_release}
License: LGPL
Group: System Environment/Libraries
URL: http://www.freedesktop.org/wiki/Software/LibXklavier

Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/5.3/%{name}-%{version}.tar.xz

Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: doxygen
BuildRequires: libxml2-devel
BuildRequires: libxkbfile-devel
BuildRequires: libxml2-devel
BuildRequires: glib2-devel >= 2.6.0
BuildRequires: gobject-introspection-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: xorg-x11-proto-devel
BuildRequires: iso-codes

Vendor: Project Vine
Distribution: Vine Linux
Packager: Takemikaduchi

%description
libxklavier is a library providing high-level API for X Keyboard Extension
known as XKB. This library is intended to support XFree86 and other
commercial X servers. It is useful for creating XKB-related software
(layout indicators etc).

%package devel
Summary: Libraries, includes, etc to develop libxklavier applications
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Libraries, include files, etc you can use to develop libxklavier applications.

%prep
%setup -q

%build

%configure \
  --disable-static \
  --with-xkb-base='%{_datadir}/X11/xkb' \
  --with-xkb-bin-base='%{_bindir}' \
  --enable-introspection=yes

%__make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING.LIB 
%{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/Xkl-1.0.typelib

%files devel
%defattr(-, root, root)
%doc doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.css
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/*
%{_datadir}/gir-1.0/Xkl-1.0.gir
%{_datadir}/gtk-doc/html/libxklavier/


%changelog
* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3-2
- rebuild with VineSeed environment

* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3-1
- new upstream release
- remove old patches

* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.2.1-1
- new upstream release
- add BuildRequires: gobject-introspection-devel

* Wed Feb 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.2-1
- new upstream release
- add BuildRequires: iso-codes

* Mon Feb 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.1-1
- new upstream release
- add BuildRequires: libXi-devel

* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0-3
- rebuild with rpm-4.8.1 for pkg-config file

* Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-2
- import patch0,2 from fedora
- add "--with-xkb-bin-base" configure option

* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0-1
- new upstream release
- add BuildRequires: libX11-devel, xorg-x11-proto-devel

* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-1
- new upstream release
- added --disable-static option

* Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8-1
- new upstream release
- spec in UTF-8

* Mon Sep  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7-1
- new upstream release

* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6-2
- build with xorg-x11-7.3
  - change xkb-base to /usr/share/X11/xkb

* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6-1
- new upstream release

* Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5-1vl5
- new upstream release

* Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3-0vl1
- new upstream release

* Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2-0vl1
- new upstream release
- dropped Patch0

* Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-0vl1
- new upstream release

* Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-0vl1
- new upstream release

* Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1
- new upstream version

* Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.04-0vl1
- initial build for Vine Linux, based on fedora package.

* Wed Sep 29 2004 Jonathan Blandford <jrb@redhat.com> 1.02-3
- bump version

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Tue Apr 20 2004 Jeremy Katz <katzj@redhat.com> - 1.02-1
- update to 1.02 with real fixes for xorg

* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 1.00-2
- patch for xorg.xml instead of xfree86.xml

* Fri Apr  2 2004 Alex Larsson <alexl@redhat.com> 1.00-1
- update to 1.00

* Mon Mar 15 2004 Bill Nottingham <notting@redhat.com>
- fix typo (#118237)

* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt


* Tue Jan 27 2004 Alexander Larsson <alexl@redhat.com> 0.97-1
- First version