2006-11-02 19:58:02 +00:00
|
|
|
Name: libgnomekbd
|
2010-10-06 15:55:29 +00:00
|
|
|
Version: 2.91.1
|
2010-09-29 20:17:22 +00:00
|
|
|
Release: 1%{?dist}
|
2006-11-02 19:58:02 +00:00
|
|
|
Summary: A keyboard configuration library
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
2007-08-08 03:59:39 +00:00
|
|
|
License: LGPLv2+
|
2007-04-04 12:27:47 +00:00
|
|
|
URL: http://gswitchit.sourceforge.net
|
2010-03-24 20:49:39 +00:00
|
|
|
# VCS: git:git://git.gnome.org/libgnomekbd
|
2010-09-29 20:17:22 +00:00
|
|
|
Source0: http://download.gnome.org/sources/libgnomekbd/2.32/libgnomekbd-%{version}.tar.bz2
|
2007-01-24 20:30:18 +00:00
|
|
|
|
2010-10-06 15:55:29 +00:00
|
|
|
BuildRequires: gtk3-devel > 2.90.0
|
2007-12-13 17:46:40 +00:00
|
|
|
BuildRequires: cairo-devel
|
2010-09-29 20:17:22 +00:00
|
|
|
BuildRequires: libxklavier-devel
|
2006-11-02 19:58:02 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2006-11-03 04:28:20 +00:00
|
|
|
BuildRequires: gettext
|
2008-09-04 05:16:46 +00:00
|
|
|
BuildRequires: intltool
|
2010-10-06 15:55:29 +00:00
|
|
|
BuildRequires: chrpath
|
2009-12-03 05:20:39 +00:00
|
|
|
|
2006-11-02 19:58:02 +00:00
|
|
|
%description
|
|
|
|
The libgnomekbd package contains a GNOME library which manages
|
2009-02-23 06:26:06 +00:00
|
|
|
keyboard configuration and offers various widgets related to
|
2006-11-02 19:58:02 +00:00
|
|
|
keyboard configuration.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libgnomekbd-devel package contains libraries and header files for
|
|
|
|
developing applications that use libgnomekbd.
|
|
|
|
|
|
|
|
|
2009-12-03 05:20:39 +00:00
|
|
|
%package capplet
|
|
|
|
Summary: A configuration applet to select libgnomekbd plugins
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2008-04-06 20:27:33 +00:00
|
|
|
|
2009-12-03 05:20:39 +00:00
|
|
|
%description capplet
|
2008-04-06 20:27:33 +00:00
|
|
|
The libgnomekbd-capplet package contains a configuration applet to
|
|
|
|
select libgnomekbd plugins. These plugins can modify the appearance
|
|
|
|
of the keyboard indicator applet.
|
|
|
|
|
2010-01-17 04:28:09 +00:00
|
|
|
|
2006-11-02 19:58:02 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2006-11-03 01:41:04 +00:00
|
|
|
%configure --disable-static --enable-compile-warnings=no
|
2010-10-06 15:55:29 +00:00
|
|
|
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2006-11-02 19:58:02 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2010-09-16 10:15:20 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
2006-11-02 19:58:02 +00:00
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
2010-10-06 15:55:29 +00:00
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgnomekbdui.so.7.0.0
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gkbd-indicator-plugins-capplet
|
|
|
|
|
2006-11-02 19:58:02 +00:00
|
|
|
desktop-file-install --vendor gnome --delete-original \
|
|
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/gkbd-indicator-plugins-capplet.desktop
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
2009-03-16 16:21:34 +00:00
|
|
|
%post
|
2006-11-02 19:58:02 +00:00
|
|
|
/sbin/ldconfig
|
2010-04-27 00:05:29 +00:00
|
|
|
%gconf_schema_upgrade desktop_gnome_peripherals_keyboard_xkb
|
2010-03-29 04:24:50 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
2010-10-06 15:55:29 +00:00
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
2006-11-02 19:58:02 +00:00
|
|
|
|
2009-03-16 16:21:34 +00:00
|
|
|
%postun
|
2006-11-02 19:58:02 +00:00
|
|
|
/sbin/ldconfig
|
2010-03-29 04:24:50 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
fi
|
2010-10-06 15:55:29 +00:00
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
2006-11-02 19:58:02 +00:00
|
|
|
|
2010-03-29 04:24:50 +00:00
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
2006-11-02 19:58:02 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-08 04:45:49 +00:00
|
|
|
%doc AUTHORS COPYING.LIB
|
2006-11-02 19:58:02 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_datadir}/libgnomekbd
|
2010-10-06 15:55:29 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd*.gschema.xml
|
2006-11-02 19:58:02 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
2008-04-06 20:27:33 +00:00
|
|
|
%files capplet
|
2009-12-03 05:20:39 +00:00
|
|
|
%defattr(-,root,root,-)
|
2008-04-06 20:27:33 +00:00
|
|
|
%{_bindir}/gkbd-indicator-plugins-capplet
|
|
|
|
%{_datadir}/applications/gnome-gkbd-indicator-plugins-capplet.desktop
|
|
|
|
|
2006-11-02 19:58:02 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-10-06 15:55:29 +00:00
|
|
|
* Wed Oct 06 2010 Richard Hughes <rhughes@redhat.com> 2.91.1-1
|
|
|
|
- Update to 2.91.1
|
|
|
|
- Remove obsolete patches
|
|
|
|
- Remove RPATH
|
|
|
|
|
2010-09-29 20:17:22 +00:00
|
|
|
* Wed Sep 29 2010 Matthias Clasen <mclasen@redhat.com> 2.32.0-1
|
|
|
|
- Update to 2.32.0
|
|
|
|
|
2010-09-16 10:15:20 +00:00
|
|
|
* Thu Sep 16 2010 Parag Nemade <paragn AT fedoraproject.org> 2.31.5-2
|
|
|
|
- spec cleanup
|
|
|
|
|
2010-07-14 01:06:16 +00:00
|
|
|
* Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> 2.31.5-1
|
|
|
|
- Update to 2.31.5
|
|
|
|
|
2010-06-09 03:48:29 +00:00
|
|
|
* Tue Jun 8 2010 Matthias Clasen <mclasen@redhat.com> 2.31.2-0.1.git06082010
|
|
|
|
- Snapshot needed for other builds
|
|
|
|
|
2010-05-27 18:12:13 +00:00
|
|
|
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> 2.31.1-1
|
|
|
|
- Update to 2.31.1
|
|
|
|
|
2010-04-27 00:05:29 +00:00
|
|
|
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-1
|
|
|
|
- Update to 2.30.1
|
|
|
|
- Spec file cleanups
|
|
|
|
|
2010-04-07 16:19:04 +00:00
|
|
|
* Wed Apr 7 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-2
|
|
|
|
- Fix an invalid schema default
|
|
|
|
|
2010-03-29 04:24:50 +00:00
|
|
|
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-1
|
|
|
|
- Update to 2.30.0
|
|
|
|
|
2010-03-24 20:49:39 +00:00
|
|
|
* Wed Mar 24 2010 Matthias Clasen <mclasen@redhat.com> 2.29.92-2
|
|
|
|
- Fix a crash in the keyboard indicator
|
|
|
|
|
2010-03-09 15:05:47 +00:00
|
|
|
* Tue Mar 09 2010 Bastien Nocera <bnocera@redhat.com> 2.29.92-1
|
|
|
|
- Update to 2.29.92
|
|
|
|
|
2010-01-17 04:28:09 +00:00
|
|
|
* Sat Jan 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.5-1
|
|
|
|
- Update 2.29.5
|
|
|
|
|
2009-12-03 14:11:51 +00:00
|
|
|
* Thu Dec 03 2009 Bastien Nocera <bnocera@redhat.com> 2.28.0-4
|
|
|
|
- Remove debug in patch
|
|
|
|
|
2009-12-03 05:20:39 +00:00
|
|
|
* Thu Dec 3 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-3
|
|
|
|
- Small spec fixes
|
|
|
|
|
|
|
|
* Thu Oct 8 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-2
|
|
|
|
- Incorporate visual fixes from upstream
|
|
|
|
|
2009-09-24 00:09:20 +00:00
|
|
|
* Wed Sep 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-1
|
|
|
|
- Update to 2.28.0
|
|
|
|
|
2009-08-25 22:23:52 +00:00
|
|
|
* Tue Aug 25 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-1
|
|
|
|
- Update to 2.27.91
|
|
|
|
|
2009-07-25 05:47:18 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-15 14:39:10 +00:00
|
|
|
* Wed Jul 15 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.4-1
|
|
|
|
- Update to 2.27.4
|
|
|
|
|
2009-06-30 20:59:20 +00:00
|
|
|
* Tue Jun 30 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-3
|
2009-06-30 20:36:07 +00:00
|
|
|
- Rebuild against new libxklavier
|
2009-06-30 20:59:20 +00:00
|
|
|
- Adapt to api changes
|
2009-06-30 20:36:07 +00:00
|
|
|
|
2009-06-01 01:09:24 +00:00
|
|
|
* Sun May 31 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.2-1
|
|
|
|
- Update to 2.27.2
|
|
|
|
|
2009-03-16 16:21:34 +00:00
|
|
|
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
|
|
|
|
- Update to 2.26.0
|
|
|
|
|
2009-02-25 15:19:27 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-23 06:26:06 +00:00
|
|
|
* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-1
|
|
|
|
- Update to 2.25.91
|
|
|
|
|
2008-09-22 21:47:26 +00:00
|
|
|
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
|
|
|
- Update to 2.24.0
|
|
|
|
|
2008-09-04 04:56:42 +00:00
|
|
|
* Thu Sep 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
|
|
|
|
- Update to 2.23.91
|
|
|
|
|
2008-08-29 22:24:26 +00:00
|
|
|
* Fri Aug 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-2
|
|
|
|
- Plug a small memory leak
|
|
|
|
|
2008-05-12 03:05:20 +00:00
|
|
|
* Sun May 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-1
|
|
|
|
- Update to 2.23.2
|
|
|
|
|
2008-04-06 20:27:33 +00:00
|
|
|
* Sun Apr 6 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-2
|
|
|
|
- Split the plugins capplet off into a subpackage, since we don't
|
|
|
|
have any plugins and don't want the capplet by default
|
|
|
|
|
2008-03-20 17:14:19 +00:00
|
|
|
* Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
|
|
|
|
- Update to 2.22.0
|
|
|
|
|
2008-01-31 05:09:38 +00:00
|
|
|
* Thu Jan 31 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.4.1-2
|
|
|
|
- Rebuild against new libxklavier
|
|
|
|
|
2007-12-18 18:17:11 +00:00
|
|
|
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4.1-1
|
|
|
|
- Update to 2.21.4.1
|
|
|
|
|
2007-12-13 17:46:40 +00:00
|
|
|
* Thu Dec 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
|
|
|
|
- Update to 2.21.4
|
|
|
|
|
2007-11-13 13:52:35 +00:00
|
|
|
* Tue Nov 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.1-1
|
|
|
|
- Update to 2.21.1
|
|
|
|
|
2007-10-23 05:30:51 +00:00
|
|
|
* Tue Oct 23 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-2
|
|
|
|
- Rebuild against new dbus-glib
|
|
|
|
|
2007-09-17 15:50:04 +00:00
|
|
|
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
|
|
|
|
- Update to 2.20.0
|
|
|
|
|
2007-09-04 03:21:08 +00:00
|
|
|
* Mon Sep 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.91-1
|
|
|
|
- Update to 2.19.91
|
|
|
|
|
2007-08-13 17:03:16 +00:00
|
|
|
* Mon Aug 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-2
|
|
|
|
- Fix a bad free
|
|
|
|
|
2007-08-13 00:45:33 +00:00
|
|
|
* Sun Aug 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.90-1
|
|
|
|
- Update to 2.19.90
|
|
|
|
|
2007-08-08 03:59:39 +00:00
|
|
|
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-2
|
|
|
|
- Update the license field
|
|
|
|
|
2007-05-21 01:58:34 +00:00
|
|
|
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-1
|
|
|
|
- Update to 2.18.2
|
|
|
|
|
2007-05-20 04:49:36 +00:00
|
|
|
* Sun May 20 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.1-1
|
|
|
|
- Update to 2.18.1
|
|
|
|
|
2007-04-04 12:27:47 +00:00
|
|
|
* Wed Apr 4 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-2
|
|
|
|
- Fix a typo in URL
|
|
|
|
|
2007-03-13 23:09:09 +00:00
|
|
|
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
|
|
|
|
- Update to 2.18.0
|
|
|
|
|
2007-01-24 20:30:18 +00:00
|
|
|
* Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2
|
|
|
|
- Port former control-center patches to improve keyboard drawing
|
|
|
|
|
2006-11-08 03:19:51 +00:00
|
|
|
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
|
|
|
|
- Update to 2.17.2
|
|
|
|
|
2006-11-07 18:10:36 +00:00
|
|
|
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4
|
|
|
|
- Fix up Requires
|
|
|
|
|
2006-11-03 02:30:30 +00:00
|
|
|
* Thu Nov 2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
|
|
|
|
- Don't use --Werror
|
|
|
|
|
2006-11-02 19:58:02 +00:00
|
|
|
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
|
|
|
|
- Fix a memory allocation error
|
|
|
|
|
|
|
|
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1
|
|
|
|
- Initial release
|