Re: Advice on desktop icons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Duncan Ferguson wrote:
> 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?

That seems perfectly reasonable to me.

--Mike

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux