File gonvert-0.2.19-Makefile.patch of Package gonvert

--- Makefile.orig	2004-06-25 01:04:48.000000000 +0200
+++ Makefile	2004-08-04 14:07:07.760200764 +0200
@@ -1,13 +1,13 @@
 NAME=gonvert
 
 #Get version number from source file
-VERSION=$(shell head -3 $(NAME) | grep version | cut -d\" -f2)
+VERSION=$(shell head -n 3 $(NAME) | grep version | cut -d\" -f2)
 
 #DESTDIR can be defined when calling make ie. make install DESTDIR=$RPM_BUILD_ROOT
-prefix  = /usr/local
+prefix  = /usr
 bindir  = $(prefix)/bin
 datadir = $(prefix)/share
-docdir  = $(datadir)/doc
+docdir  = $(datadir)/doc/packages
 
 DESTDIR =
 
@@ -18,7 +18,7 @@
 	install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade
 	install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/
 	install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/
-	install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop
+	install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop
 	install -d -m0755 $(DESTDIR)$(docdir)/gonvert/
 	install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/
 
@@ -27,8 +27,8 @@
 	rm -f  $(bindir)/gonvert
 	rm -rf $(datadir)/gonvert*
 	rm -rf $(docdir)/gonvert*
-	rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop
-	rm -f /usr/share/pixmaps/$(NAME).png
+	rm -f $(datadir)/applications/$(NAME).desktop
+	rm -f $(datadir)/pixmaps/$(NAME).png
 
 dist:
 	if test -d "$(NAME)-$(VERSION)"; then rm -rf $(NAME)-$(VERSION); fi
openSUSE Build Service is sponsored by