Advice on desktop icons

Duncan Ferguson duncan_j_ferguson at yahoo.co.uk
Tue Jul 11 17:56:10 UTC 2006


On Tue, 2006-07-11 at 18:18 +0100, Duncan Ferguson wrote:
> Ok, so if i want to provide more than one icon, how to i cater for that
> in the spec file?
> 
> Thanks
> 
>   Duncs

Following on from Michael's suggestion, can I modify it slightly and use
a SourceX for each png and then use the following in the install section
(assuming in this case that Source4= 48x48 and Source5= 32x32)?

---
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/
install -p -m 644 %{SOURCE4} \
        $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/
install -p -m 644 %{SOURCE5} \
        $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
---

or is there another way?

Thanks

  Duncs


		
___________________________________________________________ 
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html




More information about the fedora-extras-list mailing list