Accepting request 442707 from multimedia:libs
- 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). OBS-URL: https://build.opensuse.org/request/show/442707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=66
This commit is contained in:
commit
8c38ac889e
@ -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
|
||||
|
||||
|
17
vlc.spec
17
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user