# # spec file for package libgnomekbd (Version 2.30.1) # # Copyright (c) 2010 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/ # Name: libgnomekbd Version: 2.30.1 Release: 1 License: LGPLv2.1+ Summary: GNOME Keyboard Library Url: http://www.gnome.org/ Group: System/GUI/GNOME Source: %{name}-%{version}.tar.bz2 BuildRequires: fdupes BuildRequires: gconf2-devel BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: libxklavier-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files Requires: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %description GNOME keyboard library, utility and applet. %package devel License: LGPLv2.1+ Summary: GNOME Keyboard Library Group: System/GUI/GNOME Requires: %{name} = %{version} Requires: dbus-1-glib-devel Requires: gconf2-devel Requires: gtk2-devel Requires: libxklavier-devel %description devel GNOME keyboard library, utility and applet. %lang_package %prep %setup -q translation-update-upstream %build %configure --disable-static --with-pic %{__make} %{?jobs:-j%jobs} %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %{__rm} -f %{buildroot}%{_libdir}/*.la %suse_update_desktop_file gkbd-indicator-plugins-capplet %find_lang %{name} %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst %fdupes %{buildroot} %clean rm -rf %{buildroot} %pre -f %{name}.schemas_pre %post -p /sbin/ldconfig %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun -p /sbin/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 %files lang -f %{name}.lang %files devel %defattr(-, root, root) %{_includedir}/libgnomekbd %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog