From 587a5aa4c94e82b4226a2485b6e79df0a1538de2 Mon Sep 17 00:00:00 2001 From: century6 Date: Mon, 28 Nov 2022 16:43:07 +0800 Subject: [PATCH] subpackage poweredby.png to minimize httpd footprint Signed-off-by: Qiumiao Zhang --- openEuler-logos.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/openEuler-logos.spec b/openEuler-logos.spec index 72d1271..70faf1a 100644 --- a/openEuler-logos.spec +++ b/openEuler-logos.spec @@ -2,7 +2,7 @@ Name: openEuler-logos Version: 1.0 -Release: 7 +Release: 8 Summary: openEuler-related icons and pictures License: Licensed only for approved usage, see COPYING for details. 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 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 %setup -q @@ -79,6 +88,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files %license COPYING +%exclude %{_datadir}/pixmaps/poweredby.png %{_datadir}/backgrounds/* %{_datadir}/glib-2.0/schemas/*.override %{_datadir}/gnome-background-properties/*.xml @@ -89,7 +99,14 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/anaconda/pixmaps/* %{_datadir}/icons/hicolor/*/apps/* +%files httpd +%license COPYING +%{_datadir}/pixmaps/poweredby.png + %changelog +* Mon Nov 28 2022 zhangqiumiao - 1.0-8 +- subpackage poweredby.png to minimize httpd footprint + * Mon Jul 27 2020 lingsheng - 1.0-7 - Not use hardlink absolute path -- Gitee