remove scripts and add default jpg link in install

add some wallpaper pictures

- 删除脚本并在install中添加默认的jpg链接,添加一些壁纸图片
This commit is contained in:
yuanxing 2021-01-24 16:35:23 +08:00
parent 0b8c7077ae
commit 72d961b11f
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