libxklavier/libxklavier.spec

135 lines
3.5 KiB
RPMSpec

Summary: library providing high-level API for X Keyboard Extension
Name: libxklavier
Version: 2.1.0.2006.02.23
Release: 1
License: LGPL
Group: Development/Libraries
Url: http://gswitchit.sourceforge.net/
BuildRequires: doxygen
BuildRequires: libxml2-devel
BuildRequires: libxkbfile-devel
BuildRequires: libX11-devel
Source: http://gswitchit.sourceforge.net/%{name}-%{version}.tar.bz2
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch0: libxklavier-1.14-werror.patch
Patch1: libxklavier-2.1.0.2006.02.23-trap-x-error.patch
%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}
%description devel
Libraries, include files, etc you can use to develop libxklavier applications.
%prep
%setup -q
%patch0 -p1 -b .werror
%patch1 -p1 -b .trap-x-error
%build
%configure --disable-doxygen --with-xkb-base='%{_datadir}/X11/xkb' --with-xkb-bin-base='%{_bindir}'
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.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.*
%{_datadir}/libxklavier
%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*
%changelog
* Thu Mar 9 2006 Ray Strode <rstrode@redhat.com> - 2.1-5
- trap X error reply to limit the damage of bug 183569.
* Thu Feb 23 2006 Ray Strode <rstrode@redhat.com> - 2.1-4
- upgrade to latest cvs to handle xml comments (bug 178163)
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1-3.2
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1-3.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Thu Jan 19 2006 Christopher Aillon <caillon@redhat.com> 2.1-3
- Add missing BR: libX11-devel libxml2-devel libxkbfile-devel
* Tue Dec 27 2005 Christopher Aillon <caillon@redhat.com> 2.1-2
- Pull in latest version and get rid of the annoying XKB error dialog
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Mon Nov 21 2005 Ray Strode <rstrode@redhat.com> 2.0-3
- Don't hard code the xkb data prefix.
* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 2.0-2
- Fix references to obsolete X11R6 paths
* Mon Mar 21 2005 David Zeuthen <davidz@redhat.com> 2.0-1
- Update to latest upstream version
* Wed Mar 16 2005 David Zeuthen <davidz@redhat.com> 1.14-2
- Rebuild
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> 1.14-1
- Update to 1.14
* 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