SPECS: gallery-remote.spec - need chdir otherwise .properties file...

glen glen at pld-linux.org
Mon Sep 5 01:04:15 CEST 2005


Author: glen                         Date: Sun Sep  4 23:04:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- need chdir otherwise .properties files cannot be found

---- Files affected:
SPECS:
   gallery-remote.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/gallery-remote.spec
diff -u SPECS/gallery-remote.spec:1.5 SPECS/gallery-remote.spec:1.6
--- SPECS/gallery-remote.spec:1.5	Mon Sep  5 01:00:57 2005
+++ SPECS/gallery-remote.spec	Mon Sep  5 01:04:08 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Gallery Remote - frontend do Gallery działający po stronie klienta
 Name:		gallery-remote
 Version:	1.4.1
-Release:	0.15
+Release:	0.16
 License:	GPL v2
 Group:		Applications/Publishing
 Source0:	http://dl.sourceforge.net/gallery/GalleryRemote.%{version}.jar
@@ -70,7 +70,8 @@
 cp -a *.jar $RPM_BUILD_ROOT%{_appdir}
 cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/%{name}
 #!/bin/sh
-exec java -cp %{_appdir}/GalleryRemote.jar com.gallery.GalleryRemote.GalleryRemote
+cd %{_appdir}
+exec java -cp GalleryRemote.jar com.gallery.GalleryRemote.GalleryRemote
 EOF
 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
 cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
@@ -103,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/09/04 23:04:08  glen
+- need chdir otherwise .properties files cannot be found
+
 Revision 1.5  2005/09/04 23:00:57  glen
 - added desktop entry
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gallery-remote.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list