diff --git a/vlc.changes b/vlc.changes index 1068b3e..32e7267 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 29 14:21:37 UTC 2016 - dimstar@opensuse.org + +- Expand the lang_package macro in order to change the dependency + to be on vlc-noX instead of vlc. USers of headless installed + vlc might still be interested in translations too (boo#1012556). + ------------------------------------------------------------------- Wed Sep 28 18:54:45 UTC 2016 - dimstar@opensuse.org diff --git a/vlc.spec b/vlc.spec index 8d3e8a1..074c831 100644 --- a/vlc.spec +++ b/vlc.spec @@ -281,7 +281,22 @@ suitable for server installations, for example, to run a streaming server. Should you decide to install the GUI modules, %{name}-noX will stay installed as a dependency. -%lang_package +# we can't use %%lang_package, as we need a different dependency +# boo#1012556 +# but the package name has to stay vlc-lang, as otherise the software centers +# (AppStream based) can't see vlc being translated (vlc is the one listed in SC +# not vlc-noX) +%package lang +Summary: Translations for package %{name} +# We do not want to require vlc, which is GUI based, but only vlc-noX +Group: System/Localization +Requires: %{name}-noX = %{version} +Provides: %{name}-lang-all = %{version} +Supplements: packageand(bundle-lang-other:%{name}-noX) +BuildArch: noarch + +%description lang +Provides translations for the "%{name}" package. %package codec-gstreamer Summary: GStreamer integration for the VLC media player