diff --git a/kate.spec b/kate.spec index 5988e32..5f5d7c2 100644 --- a/kate.spec +++ b/kate.spec @@ -84,13 +84,26 @@ KWrite is the default text editor of the K desktop environment. Summary: KDE Text Editor plugins Group: Productivity/Text/Editors Obsoletes: kate5-plugins < %{version} +Provides: ktexteditorpreviewplugin = %{version} +Obsoletes: ktexteditorpreviewplugin < %{version} %description plugins Kate is an advanced text editor for KDE. This package contains plugins and data files for Kate and KWrite editors. %if %{with lang} -%lang_package +%package lang +Summary: Translations for package %{name} +Group: System/Localization +Requires: %{name} = %{version} + +Provides: %{name}-lang-all = %{version} +Supplements: %{name} +BuildArch: noarch +Provides: ktexteditorpreviewplugin-lang = %{version} +Obsoletes: ktexteditorpreviewplugin-lang < %{version} +%description lang +Provides translations for the "%{name}" package. %endif %prep