Author: pawelz                       Date: Fri Nov 20 23:48:05 2009 GMT
Module: fortunes-pl                   Tag: HEAD
---- Log message:
- mark all polish descriptions as -l pl.UTF-8

---- Files affected:
fortunes-pl/SPEC:
   spec-gen (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: fortunes-pl/SPEC/spec-gen
diff -u fortunes-pl/SPEC/spec-gen:1.37 fortunes-pl/SPEC/spec-gen:1.38
--- fortunes-pl/SPEC/spec-gen:1.37      Fri Nov 20 23:18:14 2009
+++ fortunes-pl/SPEC/spec-gen   Sat Nov 21 00:48:00 2009
@@ -47,11 +47,11 @@
                        fi
                done
                grep "+ $f --" $README -A$LINES > spec-gen-desc
-               DISABLE_PL_DESC=1
+               DISABLE_EN_DESC=1
                DESCRIPTION_PL="`cat spec-gen-desc`"
                DESCRIPTION_EN="`cat spec-gen-desc`"
        else
-               DISABLE_PL_DESC=0
+               DISABLE_EN_DESC=0
                INITIAL_AUTHOR="`cd ..;cvs log $NAME|egrep ^revision\ 1.1\$ 
-A1|tail -n1|sed -e 's/.*author: \(.*\);  state.*/\1/'`"
                DESCRIPTION_PL="Zestaw fortunek: $f\n\nPrzykro nam, że nie ma 
bardziej dokładnego opisu,\nale $INITIAL_AUTHOR nie potrafi dodać opisu do 
pliku README.\nProśby prosimy kierować na adres [email protected]"
                DESCRIPTION_EN="Fortune mod: $f\n\nWe are sorry that there is 
no more useful description,\nbut $INITIAL_AUTHOR is too lame to add description 
to the README\nfile. Send your requests to [email protected]"
@@ -67,15 +67,15 @@
                >> "$SPEC_NAME"
        
        echo >> "$SPEC_NAME"
-       echo "%description -n fortune-mod-pl-$NAME" >> "$SPEC_NAME"
-       echo "$DESCRIPTION_EN" >> "$SPEC_NAME"
-       echo >> "$SPEC_NAME"
-       if [ $DISABLE_PL_DESC -eq 0 ]
+       if [ $DISABLE_EN_DESC -eq 0 ]
        then
-               echo "%description -n fortune-mod-pl-$NAME -l pl.UTF-8" >> 
"$SPEC_NAME"
-               echo "$DESCRIPTION_PL" >> "$SPEC_NAME"
+               echo "%description -n fortune-mod-pl-$NAME" >> "$SPEC_NAME"
+               echo "$DESCRIPTION_EN" >> "$SPEC_NAME"
                echo >> "$SPEC_NAME"
        fi
+       echo "%description -n fortune-mod-pl-$NAME -l pl.UTF-8" >> "$SPEC_NAME"
+       echo "$DESCRIPTION_PL" >> "$SPEC_NAME"
+       echo >> "$SPEC_NAME"
        
        cat "spec-template-files" \
                | sed \
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/fortunes-pl/SPEC/spec-gen?r1=1.37&r2=1.38&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to