2007-03-14 12:31:36 +01:00
|
|
|
#
|
2010-08-09 22:43:27 +02:00
|
|
|
# spec file for package libgnomekbd (Version 2.31.5)
|
2007-03-14 12:31:36 +01:00
|
|
|
#
|
2010-01-18 14:19:11 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-03-14 12:31:36 +01:00
|
|
|
#
|
2008-10-11 18:16:44 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-03-14 12:31:36 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-02 21:31:02 +02:00
|
|
|
|
2007-03-14 12:31:36 +01:00
|
|
|
Name: libgnomekbd
|
2010-08-09 22:43:27 +02:00
|
|
|
Version: 2.31.5
|
|
|
|
Release: 1
|
2010-01-15 02:30:36 +01:00
|
|
|
License: LGPLv2.1+
|
2009-09-04 01:47:08 +02:00
|
|
|
Summary: GNOME Keyboard Library
|
|
|
|
Url: http://www.gnome.org/
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2010-08-09 22:43:27 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE libgnomekbd-default-group-switch.patch vuntz@opensuse.org -- We use shifts_toggle to switch between groups in openSUSE
|
|
|
|
Patch0: libgnomekbd-default-group-switch.patch
|
2008-10-11 18:16:44 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gconf2-devel
|
2009-05-28 03:03:48 +02:00
|
|
|
BuildRequires: gtk2-devel
|
2008-10-11 18:16:44 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libxklavier-devel
|
2009-03-25 18:14:23 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2009-02-06 17:33:56 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2010-08-31 14:19:50 +02:00
|
|
|
Recommends: %{name}-lang = %{version}
|
2009-09-04 01:47:08 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-03-14 12:31:36 +01:00
|
|
|
%gconf_schemas_prereq
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME keyboard library, utility and applet.
|
|
|
|
|
|
|
|
%package devel
|
2010-01-15 02:30:36 +01:00
|
|
|
License: LGPLv2.1+
|
2007-03-14 12:31:36 +01:00
|
|
|
Summary: GNOME Keyboard Library
|
|
|
|
Group: System/GUI/GNOME
|
2009-09-04 01:47:08 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: dbus-1-glib-devel
|
|
|
|
Requires: gconf2-devel
|
|
|
|
Requires: gtk2-devel
|
|
|
|
Requires: libxklavier-devel
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
GNOME keyboard library, utility and applet.
|
|
|
|
|
2007-08-09 15:40:17 +02:00
|
|
|
%lang_package
|
2007-03-14 12:31:36 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-03-25 18:14:23 +01:00
|
|
|
translation-update-upstream
|
2010-08-06 03:38:08 +02:00
|
|
|
%patch0 -p1
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%build
|
2009-01-27 02:18:09 +01:00
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%install
|
2008-10-11 18:16:44 +02:00
|
|
|
%makeinstall
|
2010-01-15 02:30:36 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2009-01-27 02:18:09 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2009-02-06 17:33:56 +01:00
|
|
|
%suse_update_desktop_file gkbd-indicator-plugins-capplet
|
2007-03-14 12:31:36 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%find_gconf_schemas
|
2007-08-09 15:40:17 +02:00
|
|
|
cat %{name}.schemas_list >%{name}.lst
|
2009-09-04 01:47:08 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%clean
|
2009-09-04 01:47:08 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
|
2008-10-11 18:16:44 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2009-07-31 20:03:25 +02:00
|
|
|
|
2007-03-14 12:31:36 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
2008-10-11 18:16:44 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-03-14 12:31:36 +01:00
|
|
|
|
|
|
|
%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-08-09 15:40:17 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-03-14 12:31:36 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/libgnomekbd
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|