This commit is contained in:
Matthias Clasen 2011-02-22 18:40:34 -05:00
parent e0976dcc26
commit fdf04422b2

View File

@ -21,10 +21,6 @@ BuildRequires: gobject-introspection-devel
Requires(post): GConf2
Patch0: fix-error-at-login-screen.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=641351
Patch1: 0001-Don-t-use-different-layouts-per-window.patch
%description
The libgnomekbd package contains a GNOME library which manages
keyboard configuration and offers various widgets related to
@ -55,12 +51,11 @@ of the keyboard indicator applet.
%prep
%setup -q
%patch0 -p1 -b .fix-error
%build
%configure --disable-static --enable-compile-warnings=no --enable-introspection
#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
%configure --disable-static \
--disable-compile-warnings \
--enable-introspection
make %{?_smp_mflags}
@ -103,6 +98,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_datadir}/libgnomekbd
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd*.gschema.xml
%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
%{_bindir}/gkbd-keyboard-display
%{_datadir}/GConf/gsettings/libgnomekbd.convert
%files devel
%defattr(-,root,root,-)