!1 add package

Merge pull request !1 from bingo2008/bingo2008
This commit is contained in:
openeuler-ci-bot 2019-12-14 16:33:38 +08:00 committed by Gitee
commit 473e9154bb
3 changed files with 68 additions and 0 deletions

Binary file not shown.

52
gnome-backgrounds.spec Normal file
View File

@ -0,0 +1,52 @@
Name: gnome-backgrounds
Version: 3.30.0
Release: 2
Summary: GNOME desktop comes with a desktop background
License: GPLv2
URL: http://www.gnome.org
Source0: https://download.gnome.org/sources/gnome-backgrounds/3.30/gnome-backgrounds-%{version}.tar.xz
Patch0001: move-adwaita-backgrounds.patch
BuildArch: noarch
BuildRequires: gettext meson
Obsoletes: gnome-backgrounds < 3.24.0-3
%description
The gnome-backgrounds package contains the default desktop background,called the GNOME desktop
version of the Adwaita background.
%package extras
Summary: Other GNOME backgrounds
License: GPLv2
Obsoletes: gnome-backgrounds < 3.24.0-3
%description extras
The package includes other desktop background with the GNOME desktop packaged together.
%prep
%autosetup -n gnome-backgrounds-3.30.0 -p1
%build
%meson
%meson_build
%install
%meson_install
install -d %{buildroot}%{_datadir}/backgrounds/images
%files
%doc NEWS README AUTHORS COPYING
%{_datadir}/gnome-background-properties/adwaita.xml
%{_datadir}/backgrounds/gnome/{adwaita-day.jpg,adwaita-morning.jpg,adwaita-night.jpg,adwaita-timed.xml}
%exclude %{_datadir}/locale
%files extras
%doc NEWS README AUTHORS COPYING
%{_datadir}/gnome-background-properties/gnome-backgrounds.xml
%{_datadir}/backgrounds/gnome/{AndICallItBoke.jpg,ColdWarm.jpg,Dark_Ivy.jpg,endless-shapes.jpg,Fabric.jpg}
%{_datadir}/backgrounds/gnome/{Flowerbed.jpg,Icescape.jpg,Road.jpg,Sandstone.jpg,SeaSunset.jpg}
%{_datadir}/backgrounds/gnome/{symbolics-1.jpg,symbolics-2.jpg,Wood.jpg}
%changelog
* Tue Dec 10 2019 fengbing <fengbing7@huawei.com> - 3.30.0-2
- Package init

View File

@ -0,0 +1,16 @@
--- gnome-backgrounds-3.28.0/backgrounds/gnome-backgrounds.xml.in.in.kala 2018-03-14 01:24:44.000000000 +0100
+++ gnome-backgrounds-3.28.0/backgrounds/gnome-backgrounds.xml.in.in 2018-03-14 08:37:13.308970614 +0100
@@ -58,13 +58,6 @@
<scolor>#000000</scolor>
</wallpaper>
<wallpaper deleted="false">
- <name>Adwaita</name>
- <filename>@BACKGROUNDDIR@/adwaita-timed.xml</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
- <wallpaper deleted="false">
<name>Sea Sunset</name>
<filename>@BACKGROUNDDIR@/SeaSunset.jpg</filename>
<options>zoom</options>