subpackage poweredby.png to minimize httpd footprint

Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
This commit is contained in:
century6 2022-11-28 16:43:07 +08:00
parent 39fb444422
commit 587a5aa4c9

View File

@ -2,7 +2,7 @@
Name: openEuler-logos Name: openEuler-logos
Version: 1.0 Version: 1.0
Release: 7 Release: 8
Summary: openEuler-related icons and pictures Summary: openEuler-related icons and pictures
License: Licensed only for approved usage, see COPYING for details. License: Licensed only for approved usage, see COPYING for details.
Source0: openEuler-logos-%{version}.tar.xz Source0: openEuler-logos-%{version}.tar.xz
@ -19,6 +19,15 @@ Provides: system-backgrounds-gnome
The openEuler-logos package (the "Package") contains files created by the The openEuler-logos package (the "Package") contains files created by the
openEuler Project. openEuler Project.
%package httpd
Summary: openEuler-related icons and pictures used by httpd
Provides: system-logos-httpd = %{version}-%{release}
BuildArch: noarch
%description httpd
The openEuler-logos-httpd package contains image files which incorporate the
openEuler trademarks (the "Marks").
%prep %prep
%setup -q %setup -q
@ -79,6 +88,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files %files
%license COPYING %license COPYING
%exclude %{_datadir}/pixmaps/poweredby.png
%{_datadir}/backgrounds/* %{_datadir}/backgrounds/*
%{_datadir}/glib-2.0/schemas/*.override %{_datadir}/glib-2.0/schemas/*.override
%{_datadir}/gnome-background-properties/*.xml %{_datadir}/gnome-background-properties/*.xml
@ -89,7 +99,14 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/anaconda/pixmaps/* %{_datadir}/anaconda/pixmaps/*
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%files httpd
%license COPYING
%{_datadir}/pixmaps/poweredby.png
%changelog %changelog
* Mon Nov 28 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1.0-8
- subpackage poweredby.png to minimize httpd footprint
* Mon Jul 27 2020 lingsheng <lingsheng@huawei.com> - 1.0-7 * Mon Jul 27 2020 lingsheng <lingsheng@huawei.com> - 1.0-7
- Not use hardlink absolute path - Not use hardlink absolute path