diff --git a/gnome-backgrounds-3.30.0.tar.xz b/gnome-backgrounds-3.30.0.tar.xz new file mode 100644 index 0000000..f63785d Binary files /dev/null and b/gnome-backgrounds-3.30.0.tar.xz differ diff --git a/gnome-backgrounds.spec b/gnome-backgrounds.spec new file mode 100644 index 0000000..1edaba3 --- /dev/null +++ b/gnome-backgrounds.spec @@ -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 - 3.30.0-2 +- Package init diff --git a/move-adwaita-backgrounds.patch b/move-adwaita-backgrounds.patch new file mode 100644 index 0000000..fa2e793 --- /dev/null +++ b/move-adwaita-backgrounds.patch @@ -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 @@ + #000000 + + +- Adwaita +- @BACKGROUNDDIR@/adwaita-timed.xml +- zoom +- #ffffff +- #000000 +- +- + Sea Sunset + @BACKGROUNDDIR@/SeaSunset.jpg + zoom