libxklavier/libxklavier.spec

183 lines
5.3 KiB
RPMSpec

#
# spec file for package libxklavier (Version 3.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libxklavier
BuildRequires: doxygen glib2-devel gtk-doc libxml2-devel pkg-config xorg-x11-devel
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Development/Libraries/X11
Autoreqprov: on
Version: 3.0
Release: 40
Summary: Library with X Keyboard Related Functions
Source: %{name}-%{version}.tar.bz2
Patch: libxklavier-216201-kbd-layout-fix.patch
URL: http://www.freedesktop.org/Software/LibXklavier
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This library allows you to simplify XKB-related development.
Authors:
--------
Sergey V. Udaltsov <svu@users.sourceforge.net>
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/X11
Requires: %{name} = %{version} glib2-devel libxml2-devel glibc-devel %(rpm -q --whatprovides XFree86-devel --queryformat '%{NAME}')
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Sergey V. Udaltsov <svu@users.sourceforge.net>
%package doc
Summary: Additional Package Documentation.
Group: Development/Libraries/X11
Requires: %{name} = %{version}
%description doc
This library allows you to simplify XKB-related development.
Authors:
--------
Sergey V. Udaltsov <svu@users.sourceforge.net>
%prep
%setup -q
%patch
%build
# needed for libxklavier-3.0 and openSUSE 10.2:
cp /usr/share/gettext/config.rpath .
autoreconf -f -i
%configure\
--with-xkb-base=/usr/share/X11/xkb\
--disable-static
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc AUTHORS COPYING COPYING.LIB CREDITS ChangeLog NEWS README
%{_datadir}/libxklavier
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/libxklavier
%changelog
* Mon Mar 05 2007 - danw@suse.de
- Add back --with-xkb-base that got removed in the spec file
cleanup. #250556
* Tue Feb 13 2007 - sbrabec@suse.cz
- Do not build unusable static libraries (#238552#c17).
* Tue Dec 19 2006 - sbrabec@suse.cz
- Spec file cleanup.
* Thu Nov 16 2006 - danw@suse.de
- Add patch from CVS to fix a crash in the keyboard layout indicator
[#216201]
* Fri Oct 13 2006 - danw@suse.de
- Remove dead patch (fixed differently upstream)
* Thu Oct 12 2006 - danw@suse.de
- Fix xkb-base to match xkeyboard-config package. #204368, etc
- Remove some disabled patches that have been committed upstream
* Wed Aug 30 2006 - jhargadon@suse.de
- update to version 3.0
- Some fixes in 2.91. Huge memory optimization
* Tue Aug 22 2006 - aj@suse.de
- Remove unneeded BuildRequires.
* Fri Aug 18 2006 - jhargadon@suse.de
- update to version 2.91
- Absolutely new API based on glib
- Bugfixes
- XML processing improved
- Better compatibility with modular X.org filesystem layout
* Thu Jul 20 2006 - danw@suse.de
- Use AC_PATH_XTRA rather than AC_PATH_X to make it easier to deal
correctly with xorg-modular (which installs into /usr and so
doesn't require -I or -L flags)
* Fri Jun 09 2006 - danw@suse.de
- Fix two weird NULL->int casts with a patch from libxklavier HEAD
to fix the beta build.
* Thu Mar 23 2006 - danw@suse.de
- trap X errors when setting the keyboard map, to protect against
bad data from callers or other packages (eg, xkeyboard-config, which
currently seems to have a bug). Part of #158177
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - sbrabec@suse.cz
- Updared to version 2.1.
* Wed Dec 07 2005 - rodrigo@suse.de
- Added unreleased patch libxklavier-waitpid.patch, needed for
control-center2-2.12.2.
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Wed Jun 01 2005 - sbrabec@suse.cz
- Fixed devel requirements.
* Tue Apr 26 2005 - gekker@suse.de
- Disable -Werror for now.
* Thu Mar 10 2005 - gekker@suse.de
- Update to version 2.0 (GNOME 2.10).
* Fri Jan 21 2005 - gekker@suse.de
- Update to version 1.14
- Remove patch, already upstream
* Wed Dec 22 2004 - ro@suse.de
- added missing includes to test_config.c
* Tue Dec 21 2004 - gekker@suse.de
- Update to version 1.04
* Thu Aug 12 2004 - ro@suse.de
- added libpng to neededforbuild (for doxygen)
* Thu May 13 2004 - clahey@suse.de
- Add --with-xkb-base=/usr/lib/X11/xkb to configure to make this
build on 64 bit platforms.
* Fri Apr 30 2004 - clahey@suse.de
- Upgraded to version 1.02 as needed for control-center.
* Mon Feb 16 2004 - sbrabec@suse.cz
- Degraded to version 0.96 (GSwitchIt compatible with version 0.97 is
not yet released).
* Thu Feb 12 2004 - sbrabec@suse.cz
- Updated to version 0.97.
* Thu Sep 04 2003 - ro@suse.de
- run autoreconf
- use configure to detect X11R6 libdir
* Thu Sep 04 2003 - sbrabec@suse.cz
- Added new package (bug #28623).