10.0-alt1

- update to ALT Server V 10.0beta
- reduce package size
This commit is contained in:
Elena Mishina 2021-12-28 21:30:21 +02:00
parent 78573cf866
commit bcb326da34
2 changed files with 9 additions and 2 deletions

View File

@ -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 <lepata@altlinux.org> 10.0-alt1
- update to ALT Server V 10.0beta
- reduce package size
* Mon Aug 02 2021 Elena Mishina <lepata@altlinux.org> 9.2-alt1
- update to ALT Server V 9.2

View File

@ -8,7 +8,7 @@
<title>Документация</title>
<subtitle>Руководство пользователя</subtitle>
<productname>&DISTRO_RU;</productname>
<productnumber>10.0beta</productnumber>
<productnumber>10.0</productnumber>
<edition>декабрь, 2021</edition>
<!--
<pubsnumber>0</pubsnumber>