2007-03-14 12:31:36 +01:00
|
|
|
#
|
2007-07-10 18:52:20 +02:00
|
|
|
# spec file for package libgnomekbd (Version 2.18.2)
|
2007-03-14 12:31:36 +01:00
|
|
|
#
|
|
|
|
# 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
|
2007-05-11 15:36:42 +02:00
|
|
|
BuildRequires: dbus-1-glib-devel gnome-common intltool libglade2-devel libgnomeui-devel libxklavier-devel
|
2007-07-10 18:52:20 +02:00
|
|
|
Version: 2.18.2
|
2007-07-21 17:45:16 +02:00
|
|
|
Release: 4
|
2007-03-14 12:31:36 +01:00
|
|
|
URL: http://www.gnome.org/
|
|
|
|
Group: System/GUI/GNOME
|
2007-07-10 18:52:20 +02:00
|
|
|
License: LGPL v2 or later
|
2007-03-14 12:31:36 +01:00
|
|
|
Summary: GNOME Keyboard Library
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-07-10 18:52:20 +02:00
|
|
|
Patch0: desktop.patch
|
2007-07-21 17:45:16 +02:00
|
|
|
Patch1: libgnomekbd-allow-old-dbus.patch
|
2007-03-14 12:31:36 +01:00
|
|
|
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
|
2007-07-10 18:52:20 +02:00
|
|
|
Requires: %{name} = %{version} libgnome-devel libxklavier-devel
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
GNOME keyboard library, utility and applet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
svu@users.sourceforge.net
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-07-10 18:52:20 +02:00
|
|
|
%patch0 -p1
|
2007-07-21 17:45:16 +02:00
|
|
|
%if %suse_version <= 1010
|
|
|
|
%patch1
|
|
|
|
%endif
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%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
|
2007-04-12 17:58:44 +02:00
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/gkbd-indicator-plugins-capplet.png
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/libgnomekbd
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.*a
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2007-07-21 17:45:16 +02:00
|
|
|
* Thu Jul 19 2007 - sbrabec@suse.cz
|
|
|
|
- Allow to build with old dbus.
|
2007-07-10 18:52:20 +02:00
|
|
|
* 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.
|
2007-05-11 15:36:42 +02:00
|
|
|
* Fri May 11 2007 - pgajdos@suse.cz
|
|
|
|
- removed
|
|
|
|
- gnome-icon-theme-devel from BuildRequires
|
|
|
|
- gnome-icon-theme from Requires
|
|
|
|
- [#247450]
|
2007-04-12 17:58:44 +02:00
|
|
|
* Wed Apr 11 2007 - maw@suse.de
|
|
|
|
- Update to version 2.18.1
|
|
|
|
- Updated translations
|
|
|
|
- Bug fixes.
|
2007-03-14 12:31:36 +01:00
|
|
|
* Mon Mar 05 2007 - sbrabec@suse.cz
|
|
|
|
- Spec file cleanup.
|
|
|
|
* Tue Feb 27 2007 - maw@suse.de
|
|
|
|
- New package.
|