diff --git a/xkeyboard-config.changes b/xkeyboard-config.changes index cbcfc6b..58a09d0 100644 --- a/xkeyboard-config.changes +++ b/xkeyboard-config.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 21 17:51:59 UTC 2012 - dimstar@opensuse.org + +- Split out -lang package (bnc#645077). + ------------------------------------------------------------------- Tue Jun 26 10:00:32 UTC 2012 - sndirsch@suse.com diff --git a/xkeyboard-config.spec b/xkeyboard-config.spec index 8484450..a6c1990 100644 --- a/xkeyboard-config.spec +++ b/xkeyboard-config.spec @@ -39,6 +39,7 @@ Patch100: p_suse.diff Patch109: disable-2xalt_2xctrl-toggle.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +Recommends: %{name}-lang %description The X Keyboard Extension essentially replaces the core protocol @@ -48,6 +49,7 @@ and to more closely track the logical and physical state of the keyboard. It also includes a number of keyboard controls designed to make keyboards more accessible to people with physical impairments. +%lang_package %prep %setup -q translation-update-upstream @@ -70,13 +72,13 @@ ln -snf /usr/bin/xkbcomp $RPM_BUILD_ROOT/usr/share/X11/xkb/xkbcomp # Bug 335553 mkdir -p $RPM_BUILD_ROOT/var/lib/xkb/compiled/ ln -snf /var/lib/xkb/compiled/ $RPM_BUILD_ROOT/usr/share/X11/xkb/compiled -%find_lang %name +%find_lang %{name} %{?no_lang_C} %fdupes -s $RPM_BUILD_ROOT/usr/share/X11/xkb %clean rm -rf $RPM_BUILD_ROOT -%files -f %name.lang +%files %defattr(-,root,root) %doc AUTHORS COPYING README docs/HOWTO.* docs/README.* %dir /var/lib/xkb @@ -84,4 +86,6 @@ rm -rf $RPM_BUILD_ROOT /usr/share/X11/xkb/ %{_datadir}/pkgconfig/*.pc +%files lang -f %{name}.lang + %changelog