Intent to Package: BloGTK
Michael Schwendt
bugs.michael at gmx.net
Mon Mar 21 18:24:29 UTC 2005
On Mon, 21 Mar 2005 13:07:10 -0500, seth vidal wrote:
> > (nitpick) You could use --delete-original on d-f-i instead of deleting
> > the non-conforming desktop entry manually.
> didn't know about that, spiffy, but in this case it doesn't work b/c
> the original file is not named fedora-blogtk.desktop but blogtk.desktop.
> Is there another option to deal with that?
Yes.
--- blogtk.spec~ 2005-03-21 19:08:06.000000000 +0100
+++ blogtk.spec 2005-03-21 19:21:53.000000000 +0100
@@ -49,13 +49,12 @@
# fedora compliance
-rm $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
-
desktop-file-install --vendor=fedora \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
--add-category=X-Fedora \
--delete-original \
- --add-category=Network data/%{name}.desktop
+ --add-category=Network \
+ $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
# make the symlink work
rm -f $RPM_BUILD_ROOT%{_bindir}/BLoGTK
More information about the fedora-extras-list
mailing list