diff --git a/.cvsignore b/.cvsignore index 81595d6..2c3137a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,2 @@ Propaganda-1.0.0.tar.gz -gnome-tiles-1.0.0.tar.gz -space-1.0.0.tar.gz +redhat-backgrounds.tar.gz diff --git a/desktop-backgrounds.spec b/desktop-backgrounds.spec index 92d9dd9..deb6b8d 100644 --- a/desktop-backgrounds.spec +++ b/desktop-backgrounds.spec @@ -1,46 +1,115 @@ -Summary: Desktop background images. +Summary: Desktop backgrounds. Name: desktop-backgrounds -Version: 1.1 -Release: 4 +Version: 2.0 +Release: 6 Copyright: LGPL Group: Applications/Multimedia -Source: space-1.0.0.tar.gz -Source1: gnome-tiles-1.0.0.tar.gz +Source: redhat-backgrounds.tar.gz Source2: Propaganda-1.0.0.tar.gz Source3: README.Propaganda -Source4: README.space -Source5: PHOTO_FAQ.ps -BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root -Obsoletes: gnome-imglib +BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArchitectures: noarch %description -The desktop-backgrounds package contains a bunch of images for -sprucing up your desktop. +The desktop-backgrounds package contains artwork intended +to be used as desktop wallpaper. + +%package basic + +Summary: Desktop background base set. +Group: Applications/Multimedia -Install this package if you would like a variety of images for use as a -desktop background. +Provides: desktop-backgrounds +Obsoletes: desktop-backgrounds + +%description basic +The desktop-backgrounds-basic package contains a good basic set of +images to use for your desktop background. + +%package extra + +Summary: Desktop background images. +Group: Applications/Multimedia + +%description extra +The desktop-backgrounds-extra package contains a larger set of images +to use for your desktop background. It builds on +desktop-backgrounds-basic. %prep -%setup -c desktop-backgrounds-%{version} -T -D +%setup -n redhat-backgrounds -cp %{SOURCE3} $RPM_BUILD_DIR/desktop-backgrounds-%{version} -cp %{SOURCE4} $RPM_BUILD_DIR/desktop-backgrounds-%{version} -cp %{SOURCE5} $RPM_BUILD_DIR/desktop-backgrounds-%{version} +# move things where %doc can find them +cp %{SOURCE3} . +mv images/space/*.ps . +mv images/space/README* . + +# add propaganda +(cd wallpapers && tar zxf %{SOURCE2}) %install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/backgrounds -cd $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/backgrounds -tar xzf %{SOURCE0} -tar xzf %{SOURCE1} -tar xzf %{SOURCE2} +mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/backgrounds +cd $RPM_BUILD_ROOT%{_prefix}/share/backgrounds + +cp -a $RPM_BUILD_DIR/redhat-backgrounds/images . +cp -a $RPM_BUILD_DIR/redhat-backgrounds/wallpapers . %clean rm -rf $RPM_BUILD_ROOT +# basic contains some reasonable sane basic tiles +%files basic +%defattr(-, root, root) +%dir %{_datadir}/backgrounds +%dir %{_datadir}/backgrounds/wallpapers +%dir %{_datadir}/backgrounds/images +%{_datadir}/backgrounds/wallpapers/*.png +%{_datadir}/backgrounds/images/default.png + +# extra contains big images, plus Propaganda tiles +%files extra +%defattr(-, root, root) +%doc README.space PHOTO_FAQ.ps README.Propaganda +%dir %{_datadir}/backgrounds +%dir %{_datadir}/backgrounds/images +%dir %{_datadir}/backgrounds/wallpapers +%{_datadir}/backgrounds/wallpapers/Propaganda +%{_datadir}/backgrounds/images/* +## we'll see if rpm likes this +%exclude %{_datadir}/backgrounds/images/default.png + %changelog +* 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 @@ -59,10 +128,3 @@ rm -rf $RPM_BUILD_ROOT * Fri Mar 19 1999 Michael Fulbright - First attempt - -%files -%defattr(-, root, root) -%doc README.space README.Propaganda PHOTO_FAQ.ps -%{_prefix}/share/pixmaps/backgrounds/space -%{_prefix}/share/pixmaps/backgrounds/tiles -%{_prefix}/share/pixmaps/backgrounds/Propaganda diff --git a/sources b/sources index fc7004a..65d5990 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ 9a41ff73a67967715010ed6703898aad Propaganda-1.0.0.tar.gz -f754e713421bf2c38c4d318794a50c80 gnome-tiles-1.0.0.tar.gz -fa40848b6f9377cecbbc9a8ade54cc20 space-1.0.0.tar.gz +4acc4e71a476f476234057499ded187c redhat-backgrounds.tar.gz