This commit is contained in:
Matthias Clasen 2010-04-27 00:05:29 +00:00
parent ba14bff898
commit 2b72ac4ff4
3 changed files with 11 additions and 18 deletions

View File

@ -1 +1 @@
libgnomekbd-2.30.0.tar.bz2 libgnomekbd-2.30.1.tar.bz2

View File

@ -1,6 +1,6 @@
Name: libgnomekbd Name: libgnomekbd
Version: 2.30.0 Version: 2.30.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: A keyboard configuration library Summary: A keyboard configuration library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -8,8 +8,6 @@ License: LGPLv2+
URL: http://gswitchit.sourceforge.net URL: http://gswitchit.sourceforge.net
# VCS: git:git://git.gnome.org/libgnomekbd # VCS: git:git://git.gnome.org/libgnomekbd
Source0: http://download.gnome.org/sources/libgnomekbd/2.30/libgnomekbd-%{version}.tar.bz2 Source0: http://download.gnome.org/sources/libgnomekbd/2.30/libgnomekbd-%{version}.tar.bz2
# https://bugzilla.gnome.org/show_bug.cgi?id=615077
Patch0: fontsize.patch
BuildRequires: dbus-devel >= 0.92 BuildRequires: dbus-devel >= 0.92
BuildRequires: dbus-glib >= 0.34 BuildRequires: dbus-glib >= 0.34
@ -62,7 +60,6 @@ of the keyboard indicator applet.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .fontsize
%build %build
%configure --disable-static --enable-compile-warnings=no %configure --disable-static --enable-compile-warnings=no
@ -70,7 +67,6 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@ -87,23 +83,16 @@ rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig /sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` %gconf_schema_upgrade desktop_gnome_peripherals_keyboard_xkb
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%pre %pre
if [ "$1" -gt 1 ]; then %gconf_schema_prepare desktop_gnome_peripherals_keyboard_xkb
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
fi
%preun %preun
if [ "$1" -eq 0 ]; then %gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
fi
%postun %postun
@ -136,6 +125,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%changelog %changelog
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-1
- Update to 2.30.1
- Spec file cleanups
* Wed Apr 7 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-2 * Wed Apr 7 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-2
- Fix an invalid schema default - Fix an invalid schema default

View File

@ -1 +1 @@
2c3a2dfac0da5c3748a06db905264429 libgnomekbd-2.30.0.tar.bz2 9b828a4e35089d91b9ea16ddf981ff28 libgnomekbd-2.30.1.tar.bz2