%{__make} \\\
DESTDIR=%{?buildroot:%{buildroot}} \\\
INSTALL_ROOT=%{?buildroot:%{buildroot}} \\\
- install \
+ install %* \
rm -f %{?buildroot:%{buildroot}}%{_infodir}/dir \
find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f -- \
%{!?keepstatic:find %{?buildroot:%{buildroot}} -regex ".*\\.a$" | xargs rm -f --}
&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
[ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
-# Template for lang sub-package.
-%lang_package(n:) \
-%package %{-n:-n %{-n*}-}lang \
-Summary: Languages for package %{name} \
-Group: System/Localization \
-Requires: %{-n:%{-n*}}%{!-n:%{name}} = %{version} \
-Provides: %{-n:%{-n*}}%{!-n:%{name}}-lang-all = %{version} \
-Supplements: packageand(bundle-lang-other:%{-n:%{-n*}}%{!-n:%{name}}) \
-BuildArch: noarch \
-%description %{-n:-n %{-n*}-}lang \
-Provides translations to the package %{name}
-
%lang_package(n:f:) \
%package %{-n:-n %{-n*}-}locale \
Summary: Translations and Locale for package %{name}\