update deepin-wallpapers package

This commit is contained in:
hanshuang 2023-10-10 14:28:47 +08:00
parent 8ff6defc53
commit dd6df9049d
2 changed files with 10 additions and 4 deletions

View File

@ -1,8 +1,8 @@
%global md5() {$(echo -n %1 | md5sum | awk '{print$1}')}
Name: deepin-wallpapers
Version: 1.6.14
Release: 1
Version: 1.7.8.1
Release: 1%{?dist}.02
Summary: Deepin Wallpapers provides wallpapers of dde
License: GPLv3
URL: https://github.com/linuxdeepin/deepin-wallpapers
@ -15,6 +15,7 @@ BuildRequires: dde-api
%prep
%setup -q -n %{name}-%{version}
sed -i 's|lib|libexec|' Makefile
sed -i 's|lib|libexec|' blur_image.sh
%build
@ -28,13 +29,18 @@ 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/desktop.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 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.14-1
- Package init
* Tue Jun 14 2022 uoser <uoser@uniontech.com> - 1.7.8.1-1.02
- update: update to 1.7.8.1-1.02

Binary file not shown.