mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Install language packages
This commit is contained in:
parent
6429b3c290
commit
ffbef2d18f
@ -13,6 +13,7 @@ BuildArch: noarch
|
||||
Requires: control
|
||||
|
||||
BuildRequires: rpm-build-python3
|
||||
BuildRequires: python-tools-i18n
|
||||
Requires: python3-module-rpm
|
||||
Requires: python3-module-dbus
|
||||
Requires: oddjob-%name >= 0.2.0
|
||||
@ -38,6 +39,11 @@ mkdir -p \
|
||||
cp -r gpoa \
|
||||
%buildroot%python3_sitelibdir/
|
||||
|
||||
# Generate translations
|
||||
pymsgfmt \
|
||||
%buildroot%python3_sitelibdir/locale/ru_RU/LC_MESSAGES/gpoa.po \
|
||||
%buildroot%python3_sitelibdir/locale/ru_RU/LC_MESSAGES/gpoa.mo
|
||||
|
||||
mkdir -p \
|
||||
%buildroot%_bindir/ \
|
||||
%buildroot%_sbindir/ \
|
||||
|
Loading…
x
Reference in New Issue
Block a user