%global rh_backgrounds_version 15 %global waves_version 0.1.2 %global fedora_release_name f29 %global gnome_default default %global picture_ext png Name: desktop-backgrounds Version: 29.0.0 Release: 1%{?dist} Summary: Desktop backgrounds License: LGPLv2 Source0: redhat-backgrounds-%{rh_backgrounds_version}.tar.bz2 Source2: Propaganda-1.0.0.tar.gz Source3: README.Propaganda Source5: waves-%{waves_version}.tar.bz2 Source6: FedoraWaves-metadata.desktop Source7: desktop-backgrounds-fedora.xml Source8: fedora-metadata.desktop BuildArch: noarch %if %{picture_ext} != png BuildRequires: ImageMagick BuildRequires: %{fedora_release_name}-backgrounds-base %endif %description The desktop-backgrounds package contains artwork intended to be used as desktop background image. %package basic Summary: Desktop backgrounds Provides: desktop-backgrounds = %{version}-%{release} Obsoletes: desktop-backgrounds < %{version}-%{release} %description basic The desktop-backgrounds-basic package contains artwork intended to be used as desktop background image. %package gnome Summary: The default Fedora wallpaper from GNOME desktop Requires: %{fedora_release_name}-backgrounds-gnome # starting with this release, gnome uses picture-uri instead of picture-filename # see gnome bz #633983 Requires: gsettings-desktop-schemas >= 2.91.92 Provides: system-backgrounds-gnome = %{version}-%{release} License: CC-BY-SA %description gnome The desktop-backgrounds-gnome package sets default background in gnome. %package compat Summary: The default Fedora wallpaper for less common DEs Requires: %{fedora_release_name}-backgrounds-base Provides: system-backgrounds-compat = %{version}-%{release} License: CC-BY-SA %description compat The desktop-backgrounds-compat package contains file-names used by less common Desktop Environments such as LXDE to set up the default wallpaper. %package waves Summary: Desktop backgrounds for the Waves theme %description waves The desktop-backgrounds-waves package contains the "Waves" desktop backgrounds which were used in Fedora 9. %prep %autosetup -n redhat-backgrounds-%{rh_backgrounds_version} # move things where %%doc can find them cp -a %{SOURCE3} . mv images/space/*.ps . mv images/space/README* . # add propaganda (cd tiles && tar zxf %{SOURCE2}) # add waves tar xjf %{SOURCE5} %install mkdir -p %{buildroot}%{_prefix}/share/backgrounds cd %{buildroot}%{_prefix}/share/backgrounds cp -a %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/images . cp -a %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/tiles . mkdir waves # copy actual image files cp -a %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/waves-%{waves_version}/*.png waves # copy animation xml file cp -a %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/waves-%{waves_version}/waves.xml waves mkdir -p %{buildroot}%{_datadir}/gnome-background-properties cp -a %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/desktop-backgrounds-basic.xml %{buildroot}%{_prefix}/share/gnome-background-properties cp -a %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/waves-%{waves_version}/desktop-backgrounds-waves.xml %{buildroot}%{_prefix}/share/gnome-background-properties mkdir -p %{buildroot}%{_datadir}/mate-background-properties sed -e '/DOCTYPE/s/gnome/mate/' \ %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/desktop-backgrounds-basic.xml \ > %{buildroot}%{_prefix}/share/mate-background-properties/desktop-backgrounds-basic.xml sed -e '/DOCTYPE/s/gnome/mate/' \ %{_builddir}/redhat-backgrounds-%{rh_backgrounds_version}/waves-%{waves_version}/desktop-backgrounds-waves.xml \ > %{buildroot}%{_prefix}/share/mate-background-properties/desktop-backgrounds-waves.xml bgdir=%{buildroot}%{_datadir}/backgrounds for I in tiles/Propaganda images/dewdop_leaf.jpg images/dragonfly.jpg images/frosty_pipes.jpg images/in_flight.jpg images/leaf_veins.jpg \ images/leafdrops.jpg images/lightrays-transparent.png images/lightrays.png images/lightrays2.png images/raingutter.jpg images/riverstreet_rail.jpg \ images/sneaking_branch.jpg images/space images/yellow_flower.jpg; do rm -rf ${bgdir}/${I} done # FedoraWaves theme for KDE4 mkdir -p %{buildroot}%{_datadir}/wallpapers/Fedora_Waves/contents/images install -m 644 -p %{SOURCE6} %{buildroot}%{_datadir}/wallpapers/Fedora_Waves/metadata.desktop (cd %{buildroot}%{_datadir}/wallpapers/Fedora_Waves/contents/; ln -s ../../../backgrounds/waves/waves-eeepc-3-night.png screenshot.png cd %{buildroot}%{_datadir}/wallpapers/Fedora_Waves/contents/images ln -s ../../../../backgrounds/waves/waves-normal-3-night.png 1024x768.png ln -s ../../../../backgrounds/waves/waves-wide-3-night.png 1280x800.png # FIXME: there doesn't seem to be a 5:4 image in the latest iteration ln -s ../../../../backgrounds/waves/waves-wide-3-night.png 1280x1024.png ln -s ../../../../backgrounds/waves/waves-wide-3-night.png 1440x900.png ln -s ../../../../backgrounds/waves/waves-normal-3-night.png 1600x1200.png ln -s ../../../../backgrounds/waves/waves-wide-3-night.png 1920x1200.png ) # Defalts for various desktops: # for GNOME mkdir -p %{buildroot}%{_datadir}/glib-2.0/schemas /bin/echo '[org.gnome.desktop.background]' > \ %{buildroot}%{_datadir}/glib-2.0/schemas/10_org.gnome.desktop.background.fedora.gschema.override /bin/echo "picture-uri='file://%{_datadir}/backgrounds/%{fedora_release_name}/%{gnome_default}/%{fedora_release_name}.xml'" >> \ %{buildroot}%{_datadir}/glib-2.0/schemas/10_org.gnome.desktop.background.fedora.gschema.override # Use the Fedora background on the GNOME lockscreen as well. Would be awesome to # have a separate image here to complement the default Fedora background, rather # than using the same image in both places, but previously we've mixed Fedora # desktop backgrounds with GNOME lockscreens, and they just do not match at all. /bin/echo '[org.gnome.desktop.screensaver]' > \ %{buildroot}%{_datadir}/glib-2.0/schemas/10_org.gnome.desktop.screensaver.fedora.gschema.override /bin/echo "picture-uri='file://%{_datadir}/backgrounds/%{fedora_release_name}/%{gnome_default}/%{fedora_release_name}.xml'" >> \ %{buildroot}%{_datadir}/glib-2.0/schemas/10_org.gnome.desktop.screensaver.fedora.gschema.override # for KDE, this is handled in kde-settings # for XFCE, LXDE, etc. %if %{picture_ext} == png (cd %{buildroot}%{_datadir}/backgrounds/images; ln -s ../%{fedora_release_name}/default/standard/%{fedora_release_name}.png\ default.png ln -s ../%{fedora_release_name}/default/normalish/%{fedora_release_name}.png \ default-5_4.png ln -s ../%{fedora_release_name}/default/wide/%{fedora_release_name}.png \ default-16_10.png cd .. ln -s ./%{fedora_release_name}/default/standard/%{fedora_release_name}.png \ default.png ) %else (cd %{buildroot}%{_datadir}/backgrounds/images; convert %{_datadir}/backgrounds/%{fedora_release_name}/default/standard/%{fedora_release_name}.%{picture_ext}\ -alpha off default.png convert %{_datadir}/backgrounds/%{fedora_release_name}/default/normalish/%{fedora_release_name}.%{picture_ext}\ -alpha off default-5_4.png convert %{_datadir}/backgrounds/%{fedora_release_name}/default/wide/%{fedora_release_name}.%{picture_ext}\ -alpha off default-16_10.png cd .. ln -s ./images/default-16_10.png \ default.png ) %endif %posttrans gnome glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %postun gnome if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %files basic %dir %{_datadir}/backgrounds %dir %{_datadir}/backgrounds/tiles %dir %{_datadir}/backgrounds/images %{_datadir}/backgrounds/tiles/*.png %{_datadir}/backgrounds/tiles/*jpg %{_datadir}/backgrounds/images/earth_from_space.jpg %{_datadir}/backgrounds/images/flowers_and_leaves.jpg %{_datadir}/backgrounds/images/ladybugs.jpg %{_datadir}/backgrounds/images/stone_bird.jpg %{_datadir}/backgrounds/images/tiny_blast_of_red.jpg %dir %{_datadir}/gnome-background-properties %{_datadir}/gnome-background-properties/desktop-backgrounds-basic.xml %dir %{_datadir}/mate-background-properties %{_datadir}/mate-background-properties/desktop-backgrounds-basic.xml %dir %{_datadir}/wallpapers %files waves %dir %{_datadir}/backgrounds/waves %{_datadir}/backgrounds/waves/*.png %{_datadir}/backgrounds/waves/waves.xml %{_datadir}/gnome-background-properties/desktop-backgrounds-waves.xml %{_datadir}/mate-background-properties/desktop-backgrounds-waves.xml %{_datadir}/wallpapers/Fedora_Waves %files gnome %{_datadir}/glib-2.0/schemas/10_org.gnome.desktop.background.fedora.gschema.override %{_datadir}/glib-2.0/schemas/10_org.gnome.desktop.screensaver.fedora.gschema.override %files compat %{_datadir}/backgrounds/images/default* %{_datadir}/backgrounds/default.png %changelog * Tue Aug 28 2018 Luya Tshimbalanga - 29.0.0-1 - Enable F29 theme * Thu Jul 12 2018 Fedora Release Engineering - 28.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 05 2018 Luya Tshimbalanga - 28.0.0-1 - Enable F28 theme * Wed Feb 07 2018 Fedora Release Engineering - 27.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Sep 11 2017 Luya Tshimbalanga - 27.0.0-1 - Enable F27 theme * Wed Jul 26 2017 Fedora Release Engineering - 26.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Mar 22 2017 Luya Tshimbalanga - 26.0.0-1 - Enable F26 theme * Fri Feb 10 2017 Fedora Release Engineering - 25.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Nov 16 2016 Yaakov Selkowitz - 25.0.0-2 - Enable support for MATE desktop (#1395507) * Fri Sep 23 2016 Luya Tshimbalanga - 25.0.0-1 - Enable F25 theme * Mon Mar 21 2016 Paul W. Frields - 24.0.0-1 - Enable F24 theme * Wed Feb 03 2016 Fedora Release Engineering - 23.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Sep 29 2015 Michael Catanzaro - 23.0.0-2 - Use Fedora theme for GNOME lockscreen as well. * Wed Aug 05 2015 Adam Williamson - 23.0.0-1 - Enable F23 theme. * Wed Jun 17 2015 Fedora Release Engineering - 22.0.0-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Feb 26 2015 Martin Sourada - 22.0.0-1 - Enable F22 theme. * Wed Aug 27 2014 Martin Sourada - 21.0.0-1 - Enable F21 theme. * Sat Jun 07 2014 Fedora Release Engineering - 20.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Sep 10 2013 Martin Sourada - 20.0.0-1 - Switch to Heisenbug. * Sat Aug 03 2013 Fedora Release Engineering - 19.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 22 2013 Martin Sourada - 19.0.0-2 - Rebuild against new schroedinger-cat-backgrounds * Tue Mar 12 2013 Martin Sourada - 19.0.0-1 - Switch to Schrödinger's cat - As the original images are jpg, conver them to pngs instead of symlinking - This requires rebuild whenever schroedinger-cat-backgrounds-base is updated - Drop -xfce subpackage, xfce uses the -compat one as well * Wed Feb 13 2013 Fedora Release Engineering - 18.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Aug 20 2012 Martin Sourada - 18.0.0-1 - Switch to Spherical Cow - Add priority number to gschema override filename - Drop Fedora 15 conditionals * Wed Jul 18 2012 Fedora Release Engineering - 17.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 07 2012 Martin Sourada - 17.0.0-1 - Switch to Beefy Miracle * Fri Jan 13 2012 Fedora Release Engineering - 16.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 29 2011 Martin Sourada - 16.0.0-1 - Switch to Verne * Sat Apr 02 2011 Martin Sourada - 15.0.0-8 - Use stripes version of the wallpaper on F15 in Gnome - We should require the schema we override, not the component that uses it - Fix the scriplets - Minor spec clean-up * Tue Mar 22 2011 Tom Callaway - 15.0.0-7 - picture-uri needs to be an actual uri * Tue Mar 22 2011 Martin Sourada - 15.0.0-6 - Update for upcoming changes in gnome-desktop-2.91.92 * picture-uri is used instead of picture-filename to select background gnome bz #633983 * Tue Mar 22 2011 Martin Sourada - 15.0.0-5 - Set default wallpaper for gnome * Mon Mar 07 2011 Kevin Kofler - 15.0.0-4 - Drop unused -kde subpackage, we set the default through kde-settings & pull it in through system-plasma-desktoptheme, which is Provided by lovelock-kde-theme * Tue Feb 08 2011 Fedora Release Engineering - 15.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Feb 07 2011 Martin Sourada - 15.0.0-2 - The file-names should not contain the word fedora for the system-backgrounds* virtual provides to be more effective * Mon Feb 07 2011 Martin Sourada - 15.0.0-1 - Provide file-names for default wallpapers * new subpackages -gnome, -kde, xfce for the various DEs * -compat subpackage is really for setting the default wallpaper for the other desktops like LXDE, adjust the description and summary * use correct suffix in file-names in -compat subpackage - Sync version with Fedora release * Thu Aug 12 2010 Martin Sourada - 9.0.0-15 - Rebuild, add dist tag. - Properly versioned provides/obsoletes for the -basic subpackage * Thu Aug 05 2010 Christoph Wickert - 9.0.0-14 - Update for F14 Laughlin artwork * Fri Apr 16 2010 Christoph Wickert - 9.0.0-14 - Adjustments for recent Goddard artwork changes * Thu Mar 18 2010 Christoph Wickert - 9.0.0-13 - Update for F13 Goddard artwork * Mon Mar 1 2010 Matthias Clasen - 9.0.0-12 - Fix a directory ownership issue * Tue Nov 03 2009 Christoph Wickert - 9.0.0-11 - Bump release for RC * Sun Nov 01 2009 Christoph Wickert - 9.0.0-10 - Update for F12 constantine artwork * Fri Jul 24 2009 Fedora Release Engineering - 9.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 22 2009 Tom "spot" Callaway - 9.0.0-8 - fix compat subpackage * Tue Feb 24 2009 Fedora Release Engineering - 9.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Nov 21 2008 Matthias Clasen - 9.0.0-6 - Tweak descriptions * Tue Nov 4 2008 Ray Strode 9.0.0-5 - Fix compat links after solar-backgrounds restructuring (bug 469789) * Mon Oct 27 2008 Ray Strode 9.0.0-4 - Make compat subpackage depend on solar backgrounds (bug 468749) * Tue Oct 21 2008 Ray Strode 9.0.0-3 - Move waves wallpapers to a subpackage * Wed Oct 08 2008 Than Ngo 9.0.0-2 - own /usr/share/wallpapers * Fri Apr 11 2008 Ray Strode 9.0.0-1 - Update wallpapers to latest iteration from art team - Add compat subpackage to provide compat-links for all the cruft that's accumulated over the years * Fri Apr 11 2008 Than Ngo 8.92-5 - Add FedoraWaves theme for KDE4 * Mon Apr 7 2008 Matthias Clasen - 8.92-4 - Rename FC5-era backgrounds * Sun Apr 6 2008 Matthias Clasen - 8.92-3 - Drop infinity backgrounds, they will be moved to a separate package * Sat Mar 29 2008 Matthias Clasen - 8.92-2 - Move the "waves" animation start time back to the past * Sat Mar 29 2008 Matthias Clasen - 8.92-1 - Add "Waves" backgrounds. Leave infinity for now * Thu Oct 11 2007 Ray Strode - 7.92-8 - Scale images * Tue Oct 9 2007 Ray Strode - 7.92-7 - Upgrade desktop backgrounds to higher fidelity versions, given by Máirín Duffy * Wed Sep 26 2007 Máirín Duffy - 7.92-6 - wallpapers redone so there is no more banding - wallpapers renamed - infinity animated file bugs fixed (hopefully) * Thu Sep 20 2007 Ray Strode - 7.92-5 - fix symlinks again * Thu Sep 6 2007 Bill Nottingham - 7.92-4 - fix symlinks * Wed Sep 5 2007 Ray Strode - 7.92-3 - create links for default.png etc until more artwork shows up - start animated backgrounds at midnight * Thu Aug 30 2007 Jeremy Katz - 7.92-2 - need to include less infinity backgrounds for now; the space usage kill livecds * Wed Aug 29 2007 Máirín Duffy - 7.92-1 - Add Infinity background * Wed Aug 8 2007 Matthias Clasen - 2.0-38 - Update the licence field * Wed Sep 06 2006 John (J5) Palmieri - 2.0-37 - Backgrounds are now changed to jpgs and 4:3 has been replaced by a 5:4 aspect image * Fri Jul 28 2006 John (J5) Palmieri - 2.0-35 - Add 4:3 aspect ration version of background * Thu Jul 27 2006 John (J5) Palmieri - 2.0-35 - Add dual screen background * Wed Jul 26 2006 Alexander Larsson - 2.0-34 - Add wide desktop background * Mon Jun 5 2006 Matthias Clasen 2.0-33 - Really remove the default background * Mon Jun 5 2006 Matthias Clasen 2.0-32 - Move the default background to fedora-logos * Mon Dec 19 2005 Ray Strode 2.0-31 - replace default fedora background with new one from Diana Fong * Fri Dec 09 2005 Jesse Keating 2.0-30.1 - rebuilt * Thu Oct 6 2005 Matthias Clasen 2.0-30 - Replace earth_from_space.jpg with a non-mirrored version (#163345) * Wed Apr 27 2005 John (J5) Palmieri 2.0-29 - Add translations - redhat-backgrounds-9 * Tue Feb 22 2005 Elliot Lee 2.0-28 - Remove extra backgrounds for now to save space. * Wed Feb 2 2005 Matthias Clasen - 2.0-27 - Move .xml files to where the background capplet in Gnome 2.10 will find them * Mon Oct 18 2004 Alexander Larsson - 2.0-26.2.1E - RHEL build * Mon Oct 18 2004 Alexander Larsson - 2.0-26.2 - New background * Thu Sep 30 2004 Alexander Larsson - 2.0-26.1E - RHEL build * Thu Sep 30 2004 Alexander Larsson - 2.0-26 - New default background infrastructure. * Mon Sep 27 2004 Matthias Clasen 2.0.25 - avoid duplicate images * Mon Sep 27 2004 Matthias Clasen 2.0.24 - Prepopulate the list of backgrounds in the background changes with a small set of good backgrounds (#133382) - redhat-backgrounds-7 * Thu Sep 09 2004 Elliot Lee 2.0-23 - Really update the default background. * Wed Jul 07 2004 Elliot Lee 2.0-21 - Change background for FC3test1 * Thu May 6 2004 Jeremy Katz - 2.0-20 - background from Garrett for FC2 * Fri Feb 13 2004 Elliot Lee - rebuilt * Sun Nov 2 2003 Elliot Lee 2.0-18 - redhat-backgrounds-6 * Wed Oct 29 2003 Havoc Pennington 2.0-17 - redhat-backgrounds-5 * Tue Sep 23 2003 Michael Fulbright 2.0-16 - new fedora background - (this change was never committed to cvs -hp) * Thu Jul 17 2003 Havoc Pennington 2.0-15 - background for the beta * Fri Feb 21 2003 Havoc Pennington 2.0-14 - some background tweaks from Garrett * Wed Jan 22 2003 Tim Powers - rebuilt * Fri Dec 6 2002 Havoc Pennington - rebuild - update redhat-backgrounds version * Tue Sep 3 2002 Havoc Pennington - new redhat-backgrounds from CVS with new default * Tue Aug 27 2002 Than Ngo 2.0-9 - add missing kdebase desktop backgrounds (bug #72508) * Wed Aug 21 2002 Havoc Pennington - drop the beta placeholder in favor of final background * Tue Aug 13 2002 Havoc Pennington - new redhat-backgrounds with wallpapers moved to tiles - overwrite default.png with a placeholder * Fri Aug 9 2002 Havoc Pennington - new redhat-backgrounds with default.png * Mon Jul 22 2002 Havoc Pennington - new redhat-backgrounds from CVS with default.jpg * Tue Jul 16 2002 Havoc Pennington - new images from Garrett added to -extra * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun Jun 16 2002 Havoc Pennington - redo it, now it includes the tile/image collection redhat-backgrounds from CVS, plus propaganda - move things to datadir/share/backgrounds/images and datadir/share/backgrounds/wallpapers - split into a small basic package and an extra package, so we can have packages require the basic package without sucking in huge images - move space images into devserv CVS - move nautilus and kdebase tiles into devserv CVS * Thu May 23 2002 Tim Powers - automated rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Jul 12 2000 Prospector - automatic rebuild * Thu Jun 29 2000 Dave Mason - updated spec file to RPM guidelines * Thu Jun 29 2000 Than Ngo - FHS fixes * Tue Feb 01 2000 Preston Brown - new space backgrounds * Fri Apr 2 1999 Jonathan Blandford - added propaganda tiles. Spruced it up a bit - moved README files out of tarball, and into docs dir. * Fri Mar 19 1999 Michael Fulbright - First attempt