Страницы man не сжимаются а сразу копируются как есть
All checks were successful
Build / Build project (push) Successful in 1m11s

This commit is contained in:
Alexander Zhirov 2025-05-07 18:16:54 +03:00
parent 7b98d59e83
commit adb946434f
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -1,6 +1,6 @@
name : openslp
version : 2.0.0
release : 6
release : 7
source :
# The official repository has moved from SourceForge to GitHub.
# No releases have been made since 2013, but there is an abundance of commits with fixes.
@ -37,12 +37,6 @@ build : |
cd openslp
%make
# Preparation of man pages
gzip -c $pkgfiles/man/en/slptool.1 > slptool.1.gz.en
gzip -c $pkgfiles/man/en/slpd.8 > slpd.8.gz.en
gzip -c $pkgfiles/man/ru/slptool.1 > slptool.1.gz.ru
gzip -c $pkgfiles/man/ru/slpd.8 > slpd.8.gz.ru
install : |
cd openslp
@ -51,10 +45,11 @@ install : |
install -Dm 00644 $pkgfiles/openslp.service $installdir/usr/lib/systemd/system/openslp.service
install -Dm 00644 $pkgfiles/slp.pc $installdir/usr/lib64/pkgconfig/slp.pc
install -Dm 00644 slptool.1.gz.en $installdir/usr/share/man/man1/slptool.1.gz
install -Dm 00644 slpd.8.gz.en $installdir/usr/share/man/man8/slpd.8.gz
install -Dm 00644 slptool.1.gz.ru $installdir/usr/share/man/ru/man1/slptool.1.gz
install -Dm 00644 slpd.8.gz.ru $installdir/usr/share/man/ru/man8/slpd.8.gz
# Install man pages
install -Dm 00644 $pkgfiles/man/en/slptool.1 $installdir/usr/share/man/man1/slptool.1
install -Dm 00644 $pkgfiles/man/en/slpd.8 $installdir/usr/share/man/man8/slpd.8
install -Dm 00644 $pkgfiles/man/ru/slptool.1 $installdir/usr/share/man/ru/man1/slptool.1
install -Dm 00644 $pkgfiles/man/ru/slpd.8 $installdir/usr/share/man/ru/man8/slpd.8
install -dm00755 $installdir/usr/share/defaults/etc/
mv $installdir/etc/openslp $installdir/usr/share/defaults/etc/