packages: moviejukebox/moviejukebox.spec - do not copy config files into ~/...

pawelz pawelz at pld-linux.org
Mon Dec 7 09:47:17 CET 2009


Author: pawelz                       Date: Mon Dec  7 08:47:17 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not copy config files into ~/.moviejukebox. Add /usr/share/moviejukebox to classpath istead.
- added hints how to obtains sources

---- Files affected:
packages/moviejukebox:
   moviejukebox.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/moviejukebox/moviejukebox.spec
diff -u packages/moviejukebox/moviejukebox.spec:1.1 packages/moviejukebox/moviejukebox.spec:1.2
--- packages/moviejukebox/moviejukebox.spec:1.1	Sun Dec  6 13:58:10 2009
+++ packages/moviejukebox/moviejukebox.spec	Mon Dec  7 09:47:12 2009
@@ -7,6 +7,8 @@
 Release:	0.%{svnrev}.1
 License:	GPL v3
 Group:		Applications
+# svn export http://moviejukebox.googlecode.com/svn/trunk/moviejukebox
+# rm lib/commons-collections*jar lib/commons-logging*jar lib/commons-lang*jar lib/junit*jar
 Source0:	http://xatka.net/~z/PLD/%{name}-r%{svnrev}.tar.bz2
 # Source0-md5:	013170c09dbc2ba94409b5075d7430e8
 URL:		http://code.google.com/p/moviejukebox/
@@ -32,8 +34,8 @@
 cat > moviejukebox.sh << EOF
 #!/bin/sh
 . %{_datadir}/java-utils/java-functions
-[ -d \$HOME/.moviejukebox ] || cp -a %{_datadir}/%{name}/properties \$HOME/.moviejukebox
-CLASSPATH=\$HOME/.moviejukebox:\$(build-classpath-directory %{_javadir}/%{name})
+mkdir -p \$HOME/.moviejukebox
+CLASSPATH=\$HOME/.moviejukebox:%{_datadir}/%{name}:\$(build-classpath-directory %{_javadir}/%{name})
 set_javacmd
 \$JAVACMD -Xms256m -Xmx512m -cp \$CLASSPATH com.moviejukebox.MovieJukebox "\$@"
 EOF
@@ -72,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/12/07 08:47:12  pawelz
+- do not copy config files into ~/.moviejukebox. Add /usr/share/moviejukebox to classpath istead.
+- added hints how to obtains sources
+
 Revision 1.1  2009/12/06 12:58:10  pawelz
 - initial
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/moviejukebox/moviejukebox.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list