Advice on desktop icons
Michael Thomas
wart at kobold.org
Tue Jul 11 18:17:10 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3820 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060711/ce54894b/attachment.bin>
More information about the fedora-extras-list
mailing list