SPECS: rawtherapee.spec - rel.2 - don't package "options" (causes ...

blues blues at pld-linux.org
Sun Feb 24 12:34:14 CET 2008


Author: blues                        Date: Sun Feb 24 11:34:14 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel.2 - don't package "options" (causes problems), create directory in
  home directory and operate there (that version is creates config in
  current directory... every..)

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

---- Diffs:

================================================================
Index: SPECS/rawtherapee.spec
diff -u SPECS/rawtherapee.spec:1.5 SPECS/rawtherapee.spec:1.6
--- SPECS/rawtherapee.spec:1.5	Sun Feb 24 01:00:44 2008
+++ SPECS/rawtherapee.spec	Sun Feb 24 12:34:09 2008
@@ -1,14 +1,13 @@
 # $Revision$, $Date$
 # TODO:
 # - check the license if its distributable...
-# - gtkrc and options should be marked as config and moved to /etc ?
-# attached gtkrc is full of bugs and does not fit to system theme.
+# - startup script should respect HOME_ETC
 #
 Summary:	THe Experimental RAw Photo Editor
 Summary(pl.UTF-8):	THe Experimental RAw Photo Editor - eksperymentalny edytor zdjęć RAW
 Name:		rawtherapee
 Version:	2.3
-Release:	1
+Release:	2
 License:	distributable ?
 Group:		X11/Applications/Graphics
 Source0:	http://www.rawtherapee.com/%{name}23_glibc24.tgz
@@ -49,7 +48,12 @@
 
 cat > $RPM_BUILD_ROOT%{_bindir}/%{name} << EOF
 #!/bin/sh
-cd %{_appdir}
+if [ ! -d \"\${HOME}/.%{name}\" ]; then
+        mkdir \${HOME}/.%{name}
+        cd \${HOME}/.%{name}
+        ln -s %{_appdir}/* .
+fi
+cd \${HOME}/.%{name}
 exec ./rt
 EOF
 
@@ -64,7 +68,8 @@
 %attr(755,root,root) %{_bindir}/*
 %dir %{_appdir}
 %attr(755,root,root) %{_appdir}/rt
-%{_appdir}/options
+# Makes rt crash sometimes.
+#%{_appdir}/options
 %dir %{_appdir}/images
 %{_appdir}/images/*.png
 %dir %{_appdir}/languages
@@ -80,6 +85,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008-02-24 11:34:09  blues
+- rel.2 - don't package "options" (causes problems), create directory in
+  home directory and operate there (that version is creates config in
+  current directory... every..)
+
 Revision 1.5  2008-02-24 00:00:44  blues
 - 2.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rawtherapee.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list