split help off of langpacks

f41
David Tardon 8 years ago
parent 68a5d5ab4f
commit a7ba29fe9d

@ -801,23 +801,33 @@ Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
%if 0%{?weak_deps} \ %if 0%{?weak_deps} \
%{-p:Supplements: (%{name}-core%{?_isa} = %{epoch}:%{version}-%{release} and langpacks-%{-p*})} \ %{-p:Supplements: (%{name}-core%{?_isa} = %{epoch}:%{version}-%{release} and langpacks-%{-p*})} \
%{!-p:Supplements: (%{name}-core%{?_isa} = %{epoch}:%{version}-%{release} and langpacks-%{lang})} \ %{!-p:Supplements: (%{name}-core%{?_isa} = %{epoch}:%{version}-%{release} and langpacks-%{lang})} \
%{-T:Recommends: %{name}-help-%{lang}} \
%endif \ %endif \
\ \
%description %{pkgname} \ %description %{pkgname} \
Provides additional %{langname} translations and resources for LibreOffice. \ Provides additional %{langname} translations and resources for LibreOffice. \
\ \
%files %{pkgname} \
%{!-E: \
%{expand:%%_langpack_common %{_langpack_lang}} \
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
%{-T: \ %{-T: \
%package help-%{lang} \
Summary: %{langname} help for LibreOffice \
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
\
%description help-%{lang} \
Provides %{langname} help for LibreOffice. \
\
%files help-%{lang} \
%docdir %{baseinstdir}/help/%{_langpack_lang} \ %docdir %{baseinstdir}/help/%{_langpack_lang} \
%if !0%{?armhack} %if !0%{?armhack}
%{baseinstdir}/help/%{_langpack_lang} \ %{baseinstdir}/help/%{_langpack_lang} \
%endif %endif
} \ } \
\
%files %{pkgname} \
%{!-E: \
%{expand:%%_langpack_common %{_langpack_lang}} \
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
%{-i:%{expand:%%_langpack_common %{-i*}}} \ %{-i:%{expand:%%_langpack_common %{-i*}}} \
} \ } \
%{nil} %{nil}

Loading…
Cancel
Save