# # spec file for package libgnomekbd (Version 2.18.2) # # 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: libgnomekbd BuildRequires: dbus-1-glib-devel gnome-common intltool libglade2-devel libgnomeui-devel libxklavier-devel Version: 2.18.2 Release: 4 URL: http://www.gnome.org/ Group: System/GUI/GNOME License: LGPL v2 or later Summary: GNOME Keyboard Library Source: %{name}-%{version}.tar.bz2 Patch0: desktop.patch Patch1: libgnomekbd-allow-old-dbus.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %description GNOME keyboard library, utility and applet. Authors: -------- svu@users.sourceforge.net %package devel Summary: GNOME Keyboard Library Group: System/GUI/GNOME Requires: %{name} = %{version} libgnome-devel libxklavier-devel %description devel GNOME keyboard library, utility and applet. Authors: -------- svu@users.sourceforge.net %prep %setup -q %patch0 -p1 %if %suse_version <= 1010 %patch1 %endif %build autoreconf -f -i %configure # Does not work properly for libgnomekbd-2.17.2: #make %{?jobs:-j%jobs} make %install make DESTDIR=$RPM_BUILD_ROOT install %find_lang %{name} %find_gconf_schemas cat %{name}.lang %{name}.schemas_list >%{name}.lst %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %post %run_ldconfig %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun %run_ldconfig %files -f %{name}.lst %defattr(-, root, root) # NEWS README are empty %doc AUTHORS COPYING.LIB ChangeLog ChangeLog.libgswitchit ChangeLog.libkbdraw %{_bindir}/* %{_libdir}/*so.* %{_datadir}/applications/*.desktop %{_datadir}/libgnomekbd %{_datadir}/icons/hicolor/48x48/apps/gkbd-indicator-plugins-capplet.png %files devel %defattr(-, root, root) %{_includedir}/libgnomekbd %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %changelog * Thu Jul 19 2007 - sbrabec@suse.cz - Allow to build with old dbus. * Fri Jul 06 2007 - maw@suse.de - Update to version 2.18.2 - Several keyboard drawing bugs fixed - Incorrect GObject usage crash fixed - Added translations. * Fri May 11 2007 - pgajdos@suse.cz - removed - gnome-icon-theme-devel from BuildRequires - gnome-icon-theme from Requires - [#247450] * Wed Apr 11 2007 - maw@suse.de - Update to version 2.18.1 - Updated translations - Bug fixes. * Mon Mar 05 2007 - sbrabec@suse.cz - Spec file cleanup. * Tue Feb 27 2007 - maw@suse.de - New package.