Re: desktop file handling question

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

 



Paul Howarth wrote:

> Neal Becker wrote:
>> I just updated kdiff3 from upstream.  It has added:
>> %{_datadir}/applnk/.hidden/kdiff3plugin.desktop
>> 
>> I just added this to %files.  I'm guessing it doesn't need special
>> handling, like desktop-file-install?
> 
> No, you _must_ run desktop-file-install
> 
> See: http://fedoraproject.org/wiki/Packaging/Guidelines#desktop
> 
> Paul.
> 

Does this look correct?
(Note, make install already installed into the same path. I'm assuming
desktop-file-install is OK with source==dest and --delete-original)

desktop-file-install  --vendor fedora \
        --dir $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden \
        --delete-original \
        $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop


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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux