!2 remove scripts and add default jpg link in install ,add some wallpaper pictures

From: @yuan__xing
Reviewed-by: @stonefly128
Signed-off-by: @doudou19
This commit is contained in:
openeuler-ci-bot 2021-03-13 17:11:27 +08:00 committed by Gitee
commit ed4b11be5c
2 changed files with 9 additions and 6 deletions

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: kiran-wallpapers
Version: 0.8.1
Release: 1%{?dist}.kb5
Release: 1%{?dist}.kb8
Summary: Wallpapers for Kiran desktop
License: LGPLv2+
URL: http://www.kylinsec.com.cn
Source0: %{name}-%{version}.tar.gz
Requires: dconf
Conflicts: kiran-themes < 0.8.1
BuildArch: noarch
@ -30,10 +29,7 @@ cp -r $RPM_BUILD_DIR/%{name}-%{version}/*.jpg $RPM_BUILD_ROOT/usr/share/backgrou
cp -r $RPM_BUILD_DIR/%{name}-%{version}/*.png $RPM_BUILD_ROOT/usr/share/backgrounds/kiran/
cp -r $RPM_BUILD_DIR/%{name}-%{version}/kiran_background.xml $RPM_BUILD_ROOT/usr/share/mate-background-properties/
cp -r $RPM_BUILD_DIR/%{name}-%{version}/mate-backgrounds.mo $RPM_BUILD_ROOT/usr/share/locale/zh_CN/LC_MESSAGES/
%post
ln -s /usr/share/backgrounds/kiran/default.jpg /usr/share/backgrounds/default.jpg
dconf write /org/mate/desktop/background/picture-filename "'/usr/share/backgrounds/kiran/default.jpg'"
cp -r $RPM_BUILD_DIR/%{name}-%{version}/default.jpg $RPM_BUILD_ROOT/usr/share/backgrounds/
%files
@ -43,6 +39,13 @@ dconf write /org/mate/desktop/background/picture-filename "'/usr/share/backgroun
%{_datadir}/locale/zh_CN/LC_MESSAGES/
%changelog
* Mon Nov 10 2020 ouyangminxiang <ouyangminxiang@kylinos.com.cn> - 0.8.1-1.ky3.kb8
- KYOS-P: add some wallpaper pictures
- Related: #31702
* Wed Aug 26 2020 zhoujieda <zhoujieda@kylinos.com.cn> - 0.8.1-1.ky3.kb6
- KYOS-F:remove scripts and add default jpg link in install.(#28956)
* Wed Jul 29 2020 zhoujieda <zhoujieda@kylinos.com.cn> - 0.8.1-1.ky3.kb5
- KYOS-P:change the earth wallpapers