1 Star 0 Fork 5

panchenbo/deepin-icon-theme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deepin-icon-theme.spec 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
panchenbo 提交于 2020-07-30 16:04 . add yaml and fix spec
Name: deepin-icon-theme
Version: 2020.06.28
Release: 1
Summary: Icons for the Deepin Desktop Environment
License: GPLv3
URL: https://github.com/linuxdeepin/deepin-icon-theme
Source0: %{name}-%{version}.orig.tar.xz
BuildArch: noarch
BuildRequires: gtk-update-icon-cache
BuildRequires: xorg-x11-apps
Requires: papirus-icon-theme
Conflicts: deepin-cursor-theme
%description
%{summary}.
%package -n sea-icon-theme
Summary: Deepin Sea Icons
Conflicts: deepin-icon-theme < 15.12.65
%description -n sea-icon-theme
Deepin Sea Icons
This package is DeepinIconTheme Sea
%prep
%setup -q -n %{name}-%{version}
%build
make
%install
sed -i -E '/bloom-v20/d' Makefile
mkdir -p %{buildroot}/usr/share/icons/bloom-classic
cp -r bloom-classic/* %{buildroot}/usr/share/icons/bloom-classic
mkdir -p %{buildroot}/usr/share/icons/bloom-classic-dark
cp -r bloom-classic-dark/* %{buildroot}/usr/share/icons/bloom-classic-dark
mkdir -p %{buildroot}/usr/share/icons/Sea
cp -r Sea/* %{buildroot}/usr/share/icons/Sea/
%{__make} install-icons DESTDIR=%{?buildroot} INSTALL="%{__install} -p" PREFIX=%{_prefix}
%{__make} install-cursors DESTDIR=%{?buildroot} INSTALL="%{__install} -p" PREFIX=%{_prefix}
%{__make} hicolor-links
%post
touch --no-create %{_datadir}/icons/deepin &>/dev/null || :
touch --no-create %{_datadir}/icons/deepin-dark &>/dev/null || :
touch --no-create %{_datadir}/icons/Sea &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/deepin &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin &>/dev/null || :
touch --no-create %{_datadir}/icons/deepin-dark &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin-dark &>/dev/null || :
touch --no-create %{_datadir}/icons/Sea &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Sea &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin &>/dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin-dark &>/dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Sea &>/dev/null || :
%files
%license LICENSE
%{_datadir}/icons/bloom/
%{_datadir}/icons/bloom-classic/
%{_datadir}/icons/bloom-classic-dark/
%{_datadir}/icons/bloom-dark
%files -n sea-icon-theme
%license LICENSE
%{_datadir}/icons/Sea/
%changelog
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 2020.06.28-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/panchenbo/deepin-icon-theme.git
git@gitee.com:panchenbo/deepin-icon-theme.git
panchenbo
deepin-icon-theme
deepin-icon-theme
master

搜索帮助