bluefish.spec

Paweł Żurowski pzurowski w post.pl
Sob, 23 Sie 2003, 00:09:53 CEST


Witam!

Buduje sie, paczkuje sie, uruchamia sie. Byc moze przydaloby sie
przyjrzec plikowi bluefish.desktop - czy by moze nie uzyskal lepszej
lokalizacji (a moze ta jest ok? -- nie wiem). Jak cos jest nie tak, to
bardzo prosze o sprostowanie.

Pozdrawiam
-pz

--start--
Index: bluefish.spec
===================================================================
RCS file: /cvsroot/SPECS/bluefish.spec,v
retrieving revision 1.63
diff -u -r1.63 bluefish.spec
--- bluefish.spec	18 Aug 2003 08:07:56 -0000	1.63
+++ bluefish.spec	22 Aug 2003 22:04:01 -0000
@@ -10,7 +10,7 @@
 Summary(pl):	Bluefish - Edytor HTML dla zaawansowanych
 Name:		bluefish
 Version:	0.11
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications/Editors
 # The master server is here
@@ -20,13 +20,16 @@
 # Source0:	ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
 Patch0:		%{name}-DESTDIR.patch
 Patch1:		%{name}-desktop.patch
+Patch2:		%{name}-applnk.patch
 URL:		http://bluefish.openoffice.nl/
 BuildRequires:	aspell-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	freetype-devel >= 2
 BuildRequires:	gettext-devel
 BuildRequires:	gtk+2-devel
 BuildRequires:	imlib-devel
+BuildRequires:	kernel-headers
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng >= 1.2.5
 BuildRequires:	libtiff-devel
@@ -54,6 +57,7 @@
 %setup -q
 %patch0 -p1
 %patch1	-p1
+%patch2	-p1
 
 %build
 %{__gettextize}
@@ -73,6 +77,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
+install -c data/bluefish.desktop $RPM_BUILD_ROOT%{_desktopdir}/bluefish.desktop
 
 %find_lang %{name}

--koniec--


--start:bluefish-applnk.patch--
diff -aruN bluefish-0.11.orig/data/Makefile.in
bluefish-0.11/data/Makefile.in
--- bluefish-0.11.orig/data/Makefile.in	Fri Aug 22 22:44:54 2003
+++ bluefish-0.11/data/Makefile.in	Fri Aug 22 23:39:45 2003
@@ -42,20 +42,11 @@
 	@for file in $(FUNCREFFILES) ; do \
 		$(INSTALL_DATA) $$file $(pkgdatadir)/$$file ;\
 	done
-	if [ -d $(gnome2menupath) ] ; then \
-		$(INSTALL_DATA) bluefish.desktop $(DESTDIR)/$(gnome2menupath) ;\
-	fi
-	if [ -d $(gnome1menupath) ] ; then \
-		$(INSTALL_DIR) $(DESTDIR)/$(gnome1menupath)/Applications ;\
-		$(INSTALL_DATA) bluefish.desktop $(DESTDIR)/$(gnome1menupath)/Applications ;\
-	fi
 
 uninstall:
 	@for file in $(DEFAULTFILES) ; do \
 		rm -r $(pkgdatadir)/$$file ;\
 	done
-	rm -r $(gnome2menupath)/bluefish.desktop
-	rm -r $(gnome1menupath)/Applications/bluefish.desktop
 
 clean:
 	rm -f *.default
--koniec:bluefish-applnk.patch--



-- 
Paweł Żurowski <pzurowski w post.pl>



Więcej informacji o liście dyskusyjnej pld-devel-pl