代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/openEuler-logos 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global codename verne
%define vendor naurtx
Name: %{vendor}-logos
Version: 1.0
Release: 8
Summary: %{vendor}-related icons and pictures
License: Licensed only for approved usage, see COPYING for details.
Source0: %{vendor}-logos-%{version}.tar.xz
BuildArch: noarch
BuildRequires: hardlink
Requires(post): coreutils
Provides: gnome-logos = %{version}-%{release} system-logos = %{version}-%{release}
Provides: %{vendor}-logos = %{version}-%{release}
# We carry the GSettings schema override, tell that to gnome-desktop3
Provides: system-backgrounds-gnome
%description
The openEuler-logos package (the "Package") contains files created by the
openEuler Project.
%package httpd
Summary: %{vendor}-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
%build
%install
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/backgrounds/
for i in backgrounds/*.jpg backgrounds/*.png backgrounds/default.xml; do
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/backgrounds/
done
mkdir -p $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
install -p -m 644 backgrounds/10_org.gnome.desktop.background.default.gschema.override $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/
install -p -m 644 backgrounds/desktop-backgrounds-default.xml $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
for i in pixmaps/* ; do
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/pixmaps
done
mkdir -p $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
for i in plymouth/charge/* ; do
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
done
for size in 16x16 22x22 24x24 32x32 36x36 48x48 96x96 256x256 ; do
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps
for i in icons/hicolor/$size/apps/* ; do
install -p -m 644 ${i} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps
done
done
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
install -p -m 644 icons/hicolor/scalable/apps/xfce4_xicon1.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
# save some dup'd icons
hardlink -v %{buildroot}/
%post
touch --no-create %{_datadir}/icons/hicolor || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &>/dev/null || :
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
%{_datadir}/plymouth/themes/charge/*
%{_datadir}/pixmaps/*
%{_datadir}/anaconda/boot/*
%{_datadir}/anaconda/pixmaps/rnotes/*
%{_datadir}/anaconda/pixmaps/*
%{_datadir}/icons/hicolor/*/apps/*
%files httpd
%license COPYING
%{_datadir}/pixmaps/poweredby.png
%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
- Not use hardlink absolute path
* Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:optimization the spec
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:bugfix in specs
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:delete the provides
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update the files of rpm
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update install openEuler logo
* Thu Aug 15 2019 openEuler Buildteam <buildteam@openEuler.org> - 1.0-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。