1 Star 0 Fork 1

xingwei-liu/deepin-wallpapers

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deepin-wallpapers.spec 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-22 11:30 . rebuild for an8.6
%global md5() {$(echo -n %1 | md5sum | awk '{print$1}')}
Name: deepin-wallpapers
Version: 1.6.14
Release: 2%{?dist}
Summary: Deepin Wallpapers provides wallpapers of dde
License: GPLv3
URL: https://github.com/linuxdeepin/deepin-wallpapers
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: dde-api
%description
%{summary}.
%prep
%setup -q -n %{name}-%{version}
sed -i 's|lib|libexec|' Makefile
#sed -i 's|lib|libexec|' blur_image.sh
%build
%make_build
%install
install -d %{buildroot}%{_datadir}/wallpapers/deepin/
cp deepin/* %{buildroot}%{_datadir}/wallpapers/deepin/
cp deepin-private/* %{buildroot}%{_datadir}/wallpapers/deepin/
cp deepin-community/* %{buildroot}%{_datadir}/wallpapers/deepin/
install -d %{buildroot}%{_var}/cache/
cp -ar image-blur %{buildroot}%{_var}/cache/
install -d %{buildroot}%{_datadir}/backgrounds/
#ln -sv ../../wallpapers/deepin/Hummingbird_by_Shu_Le.jpg \
# %{buildroot}%{_datadir}/backgrounds/deepin/desktop.jpg
#ln -sv %{md5 %{_datadir}/wallpapers/deepin/Hummingbird_by_Shu_Le.jpg}.jpg \
# %{buildroot}%{_var}/cache/image-blur/%{md5 %{_datadir}/backgrounds/deepin/desktop.jpg}.jpg
ln -sv ../wallpapers/deepin/Flying_Whale_by_Shu_Le.jpg %{buildroot}%{_datadir}/backgrounds/default_background.jpg
%files
%doc README.md
#%license LICENSE
%{_datadir}/backgrounds/
%{_datadir}/wallpapers/deepin/
%{_var}/cache/image-blur/
%changelog
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 1.6.14-2
- rebuild for an8.6
* Fri Oct 22 2021 zhangtaikun <zhangtaikun@uniontech.com> - 1.6.14-1.01
- Rebuild for c8-dde
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingwei-liu/deepin-wallpapers.git
git@gitee.com:xingwei-liu/deepin-wallpapers.git
xingwei-liu
deepin-wallpapers
deepin-wallpapers
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385