Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
libgnomekbd
libgnomekbd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnomekbd.spec of Package libgnomekbd
# # spec file for package libgnomekbd # # Copyright (c) 2021 SUSE LINUX 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 https://bugs.opensuse.org/ # Name: libgnomekbd Version: 3.6.0 Release: 0 Summary: GNOME Keyboard Library License: LGPL-2.1-or-later Group: System/GUI/GNOME Url: http://www.gnome.org/ Source: http://download.gnome.org/sources/libgnomekbd/3.6/%{name}-%{version}.tar.xz # 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 # PATCH-FIX-UPSTREAM libgnomekbd-avoid-coredump-on-ibus-engines.patch bnc#1160963, glgo#GNOME/libgnomekbd!6 qzhao@suse.com -- To avoid crash when working with ibus. Patch1: libgnomekbd-avoid-coredump-on-ibus-engines.patch # PATCH-FIX-OPENSUSE libgnomekbd-set-default-indicator.patch bnc#1034390 qzhao@suse.com -- set the common keyboard layout indicator as default to avoid misleading. Patch2: libgnomekbd-set-default-indicator.patch # PATCH-FIX-UPSTREAM libgnomekbd_avoid_implicit_definition.patch bnc#1160963 bnc#1034390 glgo#GNOME/libgnomekbd!7 qzhao@suse.com -- To avoid inplicit definition warning in building. Patch3: libgnomekbd_avoid_implicit_definition.patch # For %%desktop_database_* macros BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: intltool BuildRequires: translation-update-upstream %if 0%{?BUILD_FROM_VCS} BuildRequires: gnome-common %endif BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libxklavier) >= 5.2 Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description GNOME keyboard library, utility and applet. %package devel Summary: GNOME Keyboard Library Group: System/GUI/GNOME Requires: %{name} = %{version} %description devel GNOME keyboard library, utility and applet. %lang_package %prep %setup -q translation-update-upstream %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %if 0%{?BUILD_FROM_VCS} [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh %endif %build %configure --disable-static --with-pic %{__make} %{?jobs:-j%jobs} V=1 %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %{__rm} -f %{buildroot}%{_libdir}/*.la %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot} %clean rm -rf %{buildroot} %post /sbin/ldconfig %glib2_gsettings_schema_post %desktop_database_post %postun /sbin/ldconfig %glib2_gsettings_schema_postun %desktop_database_postun %files %defattr(-, root, root) # NEWS README are empty %doc AUTHORS ChangeLog ChangeLog.libgswitchit ChangeLog.libkbdraw %license COPYING.LIB %{_bindir}/gkbd-keyboard-display %{_libdir}/*so.* %{_libdir}/girepository-1.0/Gkbd-3.0.typelib # Own the directory since we can't depend on gconf providing them %dir %{_datadir}/GConf %dir %{_datadir}/GConf/gsettings %{_datadir}/GConf/gsettings/libgnomekbd.convert %{_datadir}/applications/gkbd-keyboard-display.desktop %{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd.desktop.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd.keyboard.gschema.xml %{_datadir}/libgnomekbd/ %files lang -f %{name}.lang %files devel %defattr(-, root, root) %{_includedir}/libgnomekbd/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/Gkbd-3.0.gir %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor