libxklavier/libxklavier.spec

238 lines
7.2 KiB
RPMSpec

#
# spec file for package libxklavier (Version 3.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libxklavier
BuildRequires: doxygen glib2-devel gtk-doc iso-codes-devel libxml2-devel pkg-config xorg-x11-devel
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/X11
AutoReqProv: on
Version: 3.7
Release: 1
Summary: Library with X keyboard related functions
Source: %{name}-%{version}.tar.bz2
Url: http://www.freedesktop.org/Software/LibXklavier
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libxklavier12 = %{version}
%description
This library allows you to simplify XKB-related development.
Authors:
--------
Sergey V. Udaltsov <svu@users.sourceforge.net>
%package devel
License: GPL v2 or later; LGPL v2.1 or later
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 -n libxklavier12
License: GPL v2 or later; LGPL v2.1 or later
Summary: Library with X keyboard related functions
Group: Development/Libraries/X11
Requires: %{name} >= %{version}
%description -n libxklavier12
This library allows you to simplify XKB-related development.
Authors:
--------
Sergey V. Udaltsov <svu@users.sourceforge.net>
%package doc
License: GPL v2 or later; LGPL v2.1 or later
Summary: Additional Package Documentation for libxklavier
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
%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 -n libxklavier12 -p /sbin/ldconfig
%postun -n libxklavier12 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc AUTHORS COPYING.LIB CREDITS ChangeLog NEWS README
%files -n libxklavier12
%defattr(-,root,root)
%{_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
* Wed Sep 10 2008 maw@suse.de
- Update to version 3.7:
+ Several bugfixes
+ Convert all translated strings to UTF-8.
* Fri Jun 20 2008 maw@suse.de
- Update to version 3.6:
+ Added API for countries and languages.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Thu Apr 03 2008 hpj@suse.de
- Upgrade to version 3.5:
* Got rid of the fallback xml file (some code cleanup).
* Fixed a couple of bugs (one crasher).
* Sun Feb 10 2008 coolo@suse.de
- don't make the library unreadable
* Tue Feb 05 2008 maw@suse.de
- Split out a shared library subpackage.
* Thu Jan 31 2008 rodrigo@suse.de
- Update to version 3.4:
* Use gettext for translations
- Fixed package summaries to pass rpmlint checks
* Fri Jan 25 2008 rodrigo@suse.de
- Update to version 3.3:
* Support of the "vendor" tag in base.xml
* Minor bugfixes
- Removed COPYING from %%doc, it now includes COPYING.LIB
* Fri Jul 06 2007 maw@suse.de
- Update to version 3.2
- Bugfixes
- Remove upstreamed libxklavier-216201-kbd-layout-fix.patch.
* 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)
* Wed Oct 11 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.
* Wed Mar 09 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)
* Wed May 12 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).