/[packages]/cauldron/drakx-installer-help/current/SPECS/drakx-installer-help.spec
ViewVC logotype

Diff of /cauldron/drakx-installer-help/current/SPECS/drakx-installer-help.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 234463 by ennael, Mon Apr 30 20:39:23 2012 UTC revision 234464 by kamil, Wed May 2 01:04:00 2012 UTC
# Line 1  Line 1 
1  %define destdir %{_docdir}/installer-help  %define destdir %{_docdir}/installer-help
2    
3  Name:           drakx-installer-help  Name:           drakx-installer-help
4  Version:        2.11  Version:        2.12
5  Release:        %mkrel 1  Release:        %mkrel 1
6  Summary:        installer help texts  Summary:        installer help texts
7  License:        CC-BY-SA  License:        CC-BY-SA
# Line 25  an installer help manual that will be av Line 25  an installer help manual that will be av
25  # nothing to do  # nothing to do
26    
27  %install  %install
 # HTML pages  
28  mkdir -p %{buildroot}%{destdir}  mkdir -p %{buildroot}%{destdir}
29    
30    # HTML pages
31  install -p -m 644 *.html %{buildroot}%{destdir}  install -p -m 644 *.html %{buildroot}%{destdir}
 cp -r el fr nl %{buildroot}%{destdir}  
32    
33  # images  # images
34  install -p -m 644 *.png %{buildroot}%{destdir}  install -p -m 644 *.png %{buildroot}%{destdir}
35    
36    # translations
37    for lang in el fr nl; do
38        for file in $lang/*.html $lang/*.png; do
39            install -D -p -m 644 $file %{buildroot}%{destdir}/$file
40        done
41    done
42    
43    for file in $(find . -name "README"); do
44         lang=`echo $file|sed 's,./\(.*\)/README,\1,'`
45         [ "$file" == "./README" ] || cp $file README-$lang
46    done
47    
48    for file in $(find . -name "COPYING"); do
49         lang=`echo $file|sed 's,./\(.*\)/COPYING,\1,'`
50         [ "$file" == "./COPYING" ] || cp $file COPYING-$lang
51    done
52    
53  %files  %files
54  %doc README COPYING NEWS  %doc README COPYING NEWS
55    %doc README-* COPYING-*
56  %{destdir}/*.html  %{destdir}/*.html
57  %{destdir}/*.png  %{destdir}/*.png
58  %{destdir}/el  %{destdir}/el/*.html
59  %{destdir}/fr  %{destdir}/el/*.png
60  %{destdir}/nl  %{destdir}/fr/*.html
61    %{destdir}/fr/*.png
62    %{destdir}/nl/*.html
63    %{destdir}/nl/*.png

Legend:
Removed from v.234463  
changed lines
  Added in v.234464

  ViewVC Help
Powered by ViewVC 1.1.30