On Thu, Aug 27, 2009 at 11:33 PM, Danishka Navin <danishka@gmail.com> wrote:
Hi All,


I have added my hant.jpg image in to the redhat-backgrounds-15/images directory
and created redhat-backgrounds-15.tar.bz2 again.
and copied redhat-backgrounds-15.tar.bz2 to the
/root/rpmbuild/SOURCES/

then executed rpmbuild
 
finally I got the build rpm file but seems the link is not working

still default wallpaper set to leonidas-1-noon.jpg

I saw most of following packages were taking as dependencies of gnome-desktop.
But i set gnome-desktop to remove.


leonidas-backgrounds-11.0.0-1.fc11.noarch.rpm
leonidas-backgrounds-common-11.0.0-1.fc11.noarch.rpm
leonidas-backgrounds-kdm-11.0.0-1.fc11.noarch.rpm
leonidas-backgrounds-lion-dual-11.0.0-1.fc11.noarch.rpm
leonidas-kde-theme-11.0.1-1.fc11.noarch.rpm


i used  xfdesktop-4.6.1-1.fc11.src,  desktop-backgrounds-9.0.0-8.src and generic {logos and release-notes}

Danishka



I have added following line to the desktop-backgrounds.spec

# Compatibility cruft
(cd $RPM_BUILD_ROOT%{_datadir}/backgrounds/images;
#ln -s ../leonidas/lion/normalish/1280x1024/leonidas-1-noon.jpg default.png
ln -s /usr/share/backgrounds/images/hant.jpg default.jpg
#ln -s ../leonidas/lion/normalish/1280x1024/leonidas-1-noon.jpg default.jpg
#ln -s ../leonidas/lion/wide/1920x1200/leonidas-1-noon.jpg default-5_4.png
#ln -s ../leonidas/lion/wide/1920x1200/leonidas-1-noon.jpg default-5_4.jpg

and

%{_datadir}/backgrounds/images/hant.jpg


this might be not correct and not a standard way as I directly added to the spec file instead of creating a patch.