libgnomekbd/libgnomekbd.spec

345 lines
10 KiB
RPMSpec
Raw Normal View History

2006-11-02 19:58:02 +00:00
Name: libgnomekbd
2011-04-04 22:32:11 +00:00
Version: 3.0.0
Release: 3%{?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
2011-04-04 22:32:11 +00:00
Source0: http://download.gnome.org/sources/libgnomekbd/3.0/libgnomekbd-%{version}.tar.bz2
# https://bugzilla.gnome.org/show_bug.cgi?id=642703
Patch0: libgnomekbd-colors.patch
2011-04-05 15:10:53 +00:00
Patch1: 0001-Status-icon-fix-size-problems.patch
2011-03-08 01:39:40 +00:00
BuildRequires: gtk3-devel >= 3.0.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
BuildRequires: chrpath
2010-11-01 18:37:58 +00:00
BuildRequires: GConf2-devel
2011-02-02 21:11:42 +00:00
BuildRequires: gobject-introspection-devel
2010-11-01 18:37:58 +00:00
Requires(post): GConf2
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}
2009-12-03 05:20:39 +00:00
%description capplet
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
2011-04-05 15:10:53 +00:00
%patch0 -p1 -b .colors
%patch1 -p1 -b .size
2006-11-02 19:58:02 +00:00
%build
2011-02-22 23:40:34 +00:00
%configure --disable-static \
--disable-compile-warnings \
--enable-introspection
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 {} ';'
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
2011-03-08 02:02:20 +00:00
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-display.desktop
2006-11-02 19:58:02 +00:00
%find_lang %{name}
2011-01-25 20:36:46 +00:00
%preun
%gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb
2006-11-02 19:58:02 +00:00
2009-03-16 16:21:34 +00:00
%post
2006-11-02 19:58:02 +00:00
/sbin/ldconfig
2010-03-29 04:24:50 +00:00
touch --no-create %{_datadir}/icons/hicolor >&/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 || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
2010-03-29 04:24:50 +00:00
fi
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 || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /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
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd*.gschema.xml
2011-02-02 21:11:42 +00:00
%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
2011-02-22 23:40:34 +00:00
%{_bindir}/gkbd-keyboard-display
2011-03-08 02:02:20 +00:00
%{_datadir}/applications/gkbd-keyboard-display.desktop
2011-02-22 23:40:34 +00:00
%{_datadir}/GConf/gsettings/libgnomekbd.convert
2006-11-02 19:58:02 +00:00
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
2011-02-02 21:11:42 +00:00
%{_datadir}/gir-1.0/Gkbd-3.0.gir
2006-11-02 19:58:02 +00:00
%files capplet
2009-12-03 05:20:39 +00:00
%defattr(-,root,root,-)
%{_bindir}/gkbd-indicator-plugins-capplet
%{_datadir}/applications/gnome-gkbd-indicator-plugins-capplet.desktop
2006-11-02 19:58:02 +00:00
2011-02-02 21:11:42 +00:00
2006-11-02 19:58:02 +00:00
%changelog
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-3
- Update gsettings scriptlet
2011-04-05 15:10:53 +00:00
* Tue Apr 5 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-2
- Fix size of keyboard indicator in fallback mode
2011-04-04 22:32:11 +00:00
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
- Update to 3.0.0
2011-03-23 22:38:22 +00:00
2011-03-08 01:39:40 +00:00
* Mon Mar 7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.91-1
- Update to 2.91.91
2011-02-22 23:27:58 +00:00
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
- Update to 2.91.90
2011-02-13 19:37:39 +00:00
* Sun Feb 13 2011 Christopher Aillon <caillon@redhat.com> - 2.91.5-10
- Rebuild against newer libxklavier
2011-02-10 23:23:50 +00:00
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-9
- Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-03 15:02:44 +00:00
* Thu Feb 03 2011 Bastien Nocera <bnocera@redhat.com> 2.91.5-7
- Disable separate layouts per window
2011-02-03 03:24:18 +00:00
* Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 2.91.5-6
- Fix error at login screen
2011-02-02 21:15:03 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-5
2011-02-02 20:58:04 +00:00
- Build with introspection
2011-02-02 06:57:53 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-3
- Rebuild against newer gtk
2011-01-25 20:36:46 +00:00
* Tue Jan 25 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-2
- Fix scriptlet problems (#650378)
2011-01-10 21:29:34 +00:00
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-1
- Update to 2.91.5
2011-01-08 02:11:26 +00:00
* Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> 2.91.4-1
2011-01-08 02:07:20 +00:00
- Update to 2.91.4
2010-12-03 15:31:18 +00:00
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> 2.91.3.1-1
- Update to 2.91.3.1
2010-11-11 19:46:29 +00:00
* Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> 2.91.2-1
- Update to 2.91.2
2010-11-02 16:22:54 +00:00
* Tue Nov 2 2010 Matthias Clasen <mclasen@redhat.com> 2.91.1-4
- Fix pc file deps
2010-11-01 18:37:58 +00:00
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 2.91.1-3
- Add missing BR (#641122)
* Fri Oct 29 2010 Bill Nottingham <notting@redhat.com> 2.91.1-2
- fix crashing gnome-settings-daemon (#642454)
* 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
* 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
* 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
* 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
* 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