Fix background for Apahe

i8 changed/i8/sphere-logos-84.5-5.el8
Arkady L. Shane 4 months ago
parent 9b866daa50
commit 4109e5e417
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -0,0 +1 @@
Alias /test-page-background.png /usr/share/httpd/noindex/test-page-background.png

@ -15,6 +15,8 @@ Group: System Environment/Base
URL: https://msvsphere-os.ru
Source0: %{url}/archive/%{version}/%{name}-%{version}-%{release_version}.tar.xz
Source1: org.fedoraproject.AnacondaInstaller.svg
# Fix background for apache
Source2: background-alias.conf
License: Licensed only for approved usage, see COPYING for details.
@ -133,6 +135,15 @@ cp -a ipa/*.jpg $RPM_BUILD_ROOT%{_datadir}/ipa/ui/images
mkdir -p $RPM_BUILD_ROOT%{_datadir}/testpage
install -p -m 644 testpage/index.html $RPM_BUILD_ROOT%{_datadir}/testpage
# Fix backgorund for apache
mkdir -p $RPM_BUILD_ROOT%{_datadir}/httpd/noindex
pushd $RPM_BUILD_ROOT%{_datadir}/httpd/noindex
ln -s ../../pixmaps/test-page-background.png
popd
mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/
# save some dup'd icons
# Except in /boot. Because some people think it is fun to use VFAT for /boot.
hardlink -v %{buildroot}/usr
@ -206,11 +217,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files httpd
%license COPYING
%config(noreplace) %{_sysconfdir}/httpd/conf.d/background-alias.conf
%{_datadir}/pixmaps/poweredby.png
%{_datadir}/pixmaps/system-noindex-logo.png
%{_datadir}/pixmaps/test-page-background.png
%{_datadir}/testpage
%{_datadir}/testpage/index.html
%{_datadir}/httpd/noindex/*.png
%files ipa
%license COPYING
@ -231,6 +244,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* Fri Aug 16 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 84.5-5
- Fix httpd test page logo
- Drop obsolete backgrounds
- Fix background for Apahe
* Wed May 22 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 84.5-4
- Added new backgrounds

Loading…
Cancel
Save