diff --git a/docs.spec b/docs.spec index d55cfca..b387712 100644 --- a/docs.spec +++ b/docs.spec @@ -7,7 +7,7 @@ %define variants docs-office-server docs-backup-server docs-desktop docs-school-master docs-school-junior docs-school-lite docs-school-server docs-kdesktop docs-school-terminal docs-school-newlite docs-centaurus docs-simply-linux docs-lxdesktop docs-lxdesktop-lite docs-school-teacher docs-alt-education docs-alt-kworkstation docs-alt-server docs-alt-workstation docs-alt-spworkstation docs-alt-server-v Name: docs-%variant -Version: 9.2 +Version: 10.0 Release: alt1 Summary: %Variant documentation @@ -24,6 +24,7 @@ Conflicts: %(for n in %variants ; do [ "$n" = %name ] || echo -n "$n "; done) BuildRequires(pre):rpm-build-licenses BuildRequires: publican BuildRequires: perl-podlators +BuildRequires: libwebp-tools %description %Variant documentation. @@ -37,12 +38,18 @@ BuildRequires: perl-podlators %install %make_install DESTDIR=%buildroot docdir=%_docsinstalldir install ln -s $(relative %_docsinstalldir %_documentationdir) %buildroot%_documentationdir +sed -i 's/src="images\/\(.*\).png"/src="images\/\1.webp"/g' %buildroot%_docsinstalldir/ru-RU/index.html +for file in %buildroot%_docsinstalldir/ru-RU/images/*.png; do cwebp $file -o %buildroot%_docsinstalldir/ru-RU/images/$(basename $file .png).webp -quiet && rm $file; done %files %_docsinstalldir %_documentationdir %changelog +* Tue Dec 28 2021 Elena Mishina 10.0-alt1 +- update to ALT Server V 10.0beta +- reduce package size + * Mon Aug 02 2021 Elena Mishina 9.2-alt1 - update to ALT Server V 9.2 diff --git a/ru-RU/Book_Info.xml b/ru-RU/Book_Info.xml index f3ed439..68312e2 100644 --- a/ru-RU/Book_Info.xml +++ b/ru-RU/Book_Info.xml @@ -8,7 +8,7 @@ Документация Руководство пользователя &DISTRO_RU; - 10.0beta + 10.0 декабрь, 2021