654fb9
Name:           libgnomekbd
e9d1e0
Version:        3.26.0
c5e2bc
Release:        3%{?dist}
654fb9
Summary:        A keyboard configuration library
654fb9
654fb9
License:        LGPLv2+
654fb9
URL:            http://gswitchit.sourceforge.net
e9d1e0
Source0:        http://download.gnome.org/sources/libgnomekbd/3.26/libgnomekbd-%{version}.tar.xz
c5e2bc
# https://bugzilla.redhat.com/show_bug.cgi?id=1448326
c5e2bc
Patch0:         libgnomekbd-fix-invalid-layout-crash.patch
654fb9
654fb9
BuildRequires:  gtk3-devel >= 3.0.0
654fb9
BuildRequires:  cairo-devel
654fb9
BuildRequires:  libxklavier-devel
654fb9
BuildRequires:  desktop-file-utils
654fb9
BuildRequires:  gettext
654fb9
BuildRequires:  intltool
654fb9
BuildRequires:  chrpath
654fb9
BuildRequires:  GConf2-devel
654fb9
BuildRequires:  gobject-introspection-devel
654fb9
654fb9
Requires(post): GConf2
654fb9
Obsoletes:      libgnomekbd-capplet < 3.3.90-2
654fb9
654fb9
%description
654fb9
The libgnomekbd package contains a GNOME library which manages
654fb9
keyboard configuration and offers various widgets related to
654fb9
keyboard configuration.
654fb9
654fb9
654fb9
%package        devel
654fb9
Summary:        Development files for %{name}
578e3b
Requires:       %{name}%{?_isa} = %{version}-%{release}
654fb9
654fb9
654fb9
%description    devel
654fb9
The libgnomekbd-devel package contains libraries and header files for
654fb9
developing applications that use libgnomekbd.
654fb9
654fb9
654fb9
%prep
654fb9
%setup -q
c5e2bc
%patch0 -p1
654fb9
654fb9
%build
654fb9
%configure --disable-static \
654fb9
           --disable-compile-warnings \
654fb9
           --enable-introspection
654fb9
make %{?_smp_mflags}
654fb9
654fb9
654fb9
%install
578e3b
%make_install
654fb9
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
654fb9
654fb9
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgnomekbdui.so.8.0.0
654fb9
654fb9
%find_lang %{name}
654fb9
578e3b
578e3b
%check
578e3b
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-display.desktop
578e3b
578e3b
654fb9
%preun
654fb9
%gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb
654fb9
654fb9
%post
654fb9
/sbin/ldconfig
654fb9
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
654fb9
654fb9
%postun
654fb9
/sbin/ldconfig
654fb9
if [ $1 -eq 0 ]; then
654fb9
  touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
654fb9
  gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
654fb9
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
654fb9
fi
654fb9
654fb9
%posttrans
654fb9
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
654fb9
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
654fb9
654fb9
%files -f %{name}.lang
578e3b
%license COPYING.LIB
654fb9
%{_libdir}/*.so.*
654fb9
%{_datadir}/libgnomekbd
654fb9
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd*.gschema.xml
654fb9
%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
654fb9
%{_bindir}/gkbd-keyboard-display
654fb9
%{_datadir}/applications/gkbd-keyboard-display.desktop
654fb9
%{_datadir}/GConf/gsettings/libgnomekbd.convert
654fb9
654fb9
%files devel
654fb9
%{_includedir}/*
654fb9
%{_libdir}/*.so
654fb9
%{_libdir}/pkgconfig/*
654fb9
%{_datadir}/gir-1.0/Gkbd-3.0.gir
654fb9
654fb9
654fb9
%changelog
c5e2bc
* Tue Mar 26 2019 David King <dking@redhat.com> - 3.26.0-3
c5e2bc
- Apply invalid layout patch (#1448326)
c5e2bc
c5e2bc
* Mon Mar 25 2019 David King <dking@redhat.com> - 3.26.0-2
c5e2bc
- Fix crash with invalid layout (#1448326)
c5e2bc
e9d1e0
* Wed Sep 13 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
e9d1e0
- Update to 3.26.0
e9d1e0
- Resolves: #1569289
e9d1e0
578e3b
* Tue Sep 20 2016 Björn Esser <fedora@besser82.io> - 3.22.0.1-1
578e3b
- Update to 3.22.0.1
578e3b
- Re-add gschemes missing in previous version (rhbz #1377853)
578e3b
578e3b
* Thu Sep 15 2016 Kalev Lember <klember@redhat.com> - 3.21.92-1
578e3b
- Update to 3.21.92
578e3b
- Don't set group tags
578e3b
- Use make_install macro
578e3b
- Use license macro for COPYING
578e3b
- Use desktop-file-validate instead of desktop-file-install
578e3b
- Tighten -devel deps with the _isa macro
578e3b
578e3b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-9
578e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
578e3b
578e3b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-8
578e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
578e3b
578e3b
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.6.0-7
578e3b
- Rebuilt for Fedora 23 Change
578e3b
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
578e3b
578e3b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-6
578e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
578e3b
578e3b
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.6.0-5
578e3b
- Rebuilt for gobject-introspection 1.41.4
578e3b
578e3b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-4
578e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7590fc
578e3b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
578e3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7590fc
654fb9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-2
654fb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
654fb9
654fb9
* Tue Sep 25 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.0-1
654fb9
- Update to 3.6.0
654fb9
654fb9
* Tue Aug 28 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
654fb9
- Update to 3.5.90
654fb9
654fb9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.2-3
654fb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
654fb9
654fb9
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-2
654fb9
- Fix the call to chrpath
654fb9
654fb9
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-1
654fb9
- Update to 3.5.2
654fb9
654fb9
* Tue Mar 27 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.2-1
654fb9
- Update to 3.4.0.2
654fb9
654fb9
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0.1-1
654fb9
- Update to 3.4.0.1
654fb9
- Obsolete the -capplet subpackage; the whole plugins architecture is
654fb9
  removed from libgnomekbd
654fb9
578e3b
* Sat Feb 25 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.90-1
654fb9
- Update to 3.3.90
654fb9
654fb9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-2
654fb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
654fb9
654fb9
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
654fb9
- Update to 3.2.0
654fb9
654fb9
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.1.92-1
654fb9
- Update to 3.1.92
654fb9
654fb9
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-3
654fb9
- Update gsettings scriptlet
654fb9
654fb9
* Tue Apr  5 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-2
654fb9
- Fix size of keyboard indicator in fallback mode
654fb9
654fb9
* Mon Apr  4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
654fb9
- Update to 3.0.0
654fb9
654fb9
* Mon Mar  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.91-1
654fb9
- Update to 2.91.91
654fb9
654fb9
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
654fb9
- Update to 2.91.90
654fb9
654fb9
* Sun Feb 13 2011 Christopher Aillon <caillon@redhat.com> - 2.91.5-10
654fb9
- Rebuild against newer libxklavier
654fb9
654fb9
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-9
654fb9
- Rebuild
654fb9
654fb9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.5-8
654fb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
654fb9
654fb9
* Thu Feb 03 2011 Bastien Nocera <bnocera@redhat.com> 2.91.5-7
654fb9
- Disable separate layouts per window
654fb9
654fb9
* Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 2.91.5-6
654fb9
- Fix error at login screen
654fb9
654fb9
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-5
654fb9
- Build with introspection
654fb9
654fb9
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-3
654fb9
- Rebuild against newer gtk
654fb9
654fb9
* Tue Jan 25 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-2
654fb9
- Fix scriptlet problems (#650378)
654fb9
654fb9
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-1
654fb9
- Update to 2.91.5
654fb9
654fb9
* Fri Jan  7 2011 Matthias Clasen <mclasen@redhat.com> 2.91.4-1
654fb9
- Update to 2.91.4
654fb9
654fb9
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> 2.91.3.1-1
654fb9
- Update to 2.91.3.1
654fb9
654fb9
* Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> 2.91.2-1
654fb9
- Update to 2.91.2
654fb9
654fb9
* Tue Nov  2 2010 Matthias Clasen <mclasen@redhat.com> 2.91.1-4
654fb9
- Fix pc file deps
654fb9
654fb9
* Mon Nov  1 2010 Matthias Clasen <mclasen@redhat.com> 2.91.1-3
654fb9
- Add missing BR (#641122)
654fb9
654fb9
* Fri Oct 29 2010 Bill Nottingham <notting@redhat.com> 2.91.1-2
654fb9
- fix crashing gnome-settings-daemon (#642454)
654fb9
654fb9
* Wed Oct 06 2010 Richard Hughes <rhughes@redhat.com> 2.91.1-1
654fb9
- Update to 2.91.1
654fb9
- Remove obsolete patches
654fb9
- Remove RPATH
654fb9
654fb9
* Wed Sep 29 2010 Matthias Clasen <mclasen@redhat.com> 2.32.0-1
654fb9
- Update to 2.32.0
654fb9
654fb9
* Thu Sep 16 2010 Parag Nemade <paragn AT fedoraproject.org> 2.31.5-2
654fb9
- spec cleanup
654fb9
654fb9
* Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> 2.31.5-1
654fb9
- Update to 2.31.5
654fb9
654fb9
* Tue Jun  8 2010 Matthias Clasen <mclasen@redhat.com> 2.31.2-0.1.git06082010
654fb9
- Snapshot needed for other builds
654fb9
654fb9
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> 2.31.1-1
654fb9
- Update to 2.31.1
654fb9
654fb9
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-1
654fb9
- Update to 2.30.1
654fb9
- Spec file cleanups
654fb9
654fb9
* Wed Apr  7 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-2
654fb9
- Fix an invalid schema default
654fb9
654fb9
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-1
654fb9
- Update to 2.30.0
654fb9
654fb9
* Wed Mar 24 2010 Matthias Clasen <mclasen@redhat.com> 2.29.92-2
654fb9
- Fix a crash in the keyboard indicator
654fb9
654fb9
* Tue Mar 09 2010 Bastien Nocera <bnocera@redhat.com> 2.29.92-1
654fb9
- Update to 2.29.92
654fb9
654fb9
* Sat Jan 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.5-1
654fb9
- Update 2.29.5
654fb9
654fb9
* Thu Dec 03 2009 Bastien Nocera <bnocera@redhat.com> 2.28.0-4
654fb9
- Remove debug in patch
654fb9
654fb9
* Thu Dec  3 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-3
654fb9
- Small spec fixes
654fb9
654fb9
* Thu Oct  8 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-2
654fb9
- Incorporate visual fixes from upstream
654fb9
654fb9
* Wed Sep 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-1
654fb9
- Update to 2.28.0
654fb9
654fb9
* Tue Aug 25 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-1
654fb9
- Update to 2.27.91
654fb9
654fb9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.4-2
654fb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
654fb9
654fb9
* Wed Jul 15 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.4-1
654fb9
- Update to 2.27.4
654fb9
654fb9
* Tue Jun 30 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-3
654fb9
- Rebuild against new libxklavier
654fb9
- Adapt to api changes
654fb9
654fb9
* Sun May 31 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-1
654fb9
- Update to 2.27.2
654fb9
654fb9
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
654fb9
- Update to 2.26.0
654fb9
654fb9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
654fb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
654fb9
654fb9
* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-1
654fb9
- Update to 2.25.91
654fb9
654fb9
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
654fb9
- Update to 2.24.0
654fb9
654fb9
* Thu Sep  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
654fb9
- Update to 2.23.91
654fb9
654fb9
* Fri Aug 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-2
654fb9
- Plug a small memory leak
654fb9
654fb9
* Sun May 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-1
654fb9
- Update to 2.23.2
654fb9
654fb9
* Sun Apr  6 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-2
654fb9
- Split the plugins capplet off into a subpackage, since we don't
654fb9
  have any plugins and don't want the capplet by default
654fb9
654fb9
* Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
654fb9
- Update to 2.22.0
654fb9
654fb9
* Thu Jan 31 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.4.1-2
654fb9
- Rebuild against new libxklavier
654fb9
654fb9
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4.1-1
654fb9
- Update to 2.21.4.1
654fb9
654fb9
* Thu Dec 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
654fb9
- Update to 2.21.4
654fb9
654fb9
* Tue Nov 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.1-1
654fb9
- Update to 2.21.1
654fb9
654fb9
* Tue Oct 23 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-2
654fb9
- Rebuild against new dbus-glib
654fb9
654fb9
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
654fb9
- Update to 2.20.0
654fb9
654fb9
* Mon Sep  3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.91-1
654fb9
- Update to 2.19.91
654fb9
654fb9
* Mon Aug 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-2
654fb9
- Fix a bad free
654fb9
654fb9
* Sun Aug 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-1
654fb9
- Update to 2.19.90 
654fb9
654fb9
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-2
654fb9
- Update the license field
654fb9
654fb9
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-1
654fb9
- Update to 2.18.2
654fb9
654fb9
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.1-1
654fb9
- Update to 2.18.1
654fb9
654fb9
* Wed Apr  4 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-2
654fb9
- Fix a typo in URL
654fb9
654fb9
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
654fb9
- Update to 2.18.0
654fb9
654fb9
* Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2
654fb9
- Port former control-center patches to improve keyboard drawing
654fb9
654fb9
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
654fb9
- Update to 2.17.2
654fb9
654fb9
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4
654fb9
- Fix up Requires
654fb9
654fb9
* Thu Nov  2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
654fb9
- Don't use --Werror
654fb9
654fb9
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
654fb9
- Fix a memory allocation error
654fb9
654fb9
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1
654fb9
- Initial release