/[packages]/updates/2/mozc/current/SPECS/mozc.spec
ViewVC logotype

Diff of /updates/2/mozc/current/SPECS/mozc.spec

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

revision 394909 by fwang, Wed Feb 6 19:42:30 2013 UTC revision 394910 by fwang, Wed Feb 6 19:51:05 2013 UTC
# Line 68  cd data/dictionary/ Line 68  cd data/dictionary/
68     --zip_code=KEN_ALL.CSV --jigyosyo=JIGYOSYO.CSV > ./zip_code_seed.tsv     --zip_code=KEN_ALL.CSV --jigyosyo=JIGYOSYO.CSV > ./zip_code_seed.tsv
69  cd -  cd -
70    
 %build  
71  # fix for x86_64  # fix for x86_64
72  sed 's|/usr/lib/mozc|%_libdir/mozc|' < base/util.cc > base/util.cc.new  sed 's|/usr/lib/mozc|%_libexecdir/mozc|' < base/util.cc > base/util.cc.new
73  mv -f base/util.cc.new base/util.cc  mv -f base/util.cc.new base/util.cc
74    
75    %build
76    
77  %setup_compile_flags  %setup_compile_flags
78  %__python build_mozc.py gyp  %__python build_mozc.py gyp
79  %__python build_mozc.py build_tools -c Release  %__python build_mozc.py build_tools -c Release
# Line 82  mv -f base/util.cc.new base/util.cc Line 83  mv -f base/util.cc.new base/util.cc
83  rm -rf %buildroot  rm -rf %buildroot
84    
85  # install ibus-mozc  # install ibus-mozc
86  mkdir -p %buildroot/%_libdir/ibus-mozc  mkdir -p %buildroot/%_libexecdir/ibus-mozc
87  cp -p out_linux/Release/ibus_mozc %buildroot/%_libexecdir/ibus-mozc/ibus-engine-mozc  cp -p out_linux/Release/ibus_mozc %buildroot/%_libexecdir/ibus-mozc/ibus-engine-mozc
88  mkdir -p %buildroot/%_datadir/ibus/component/  mkdir -p %buildroot/%_datadir/ibus/component/
89  sed 's|/usr/libexec/ibus-engine-mozc|%_libexecdir/ibus-mozc/ibus-engine-mozc|' < out_linux/Release/obj/gen/unix/ibus/mozc.xml > %buildroot/%_datadir/ibus/component/mozc.xml  sed 's|/usr/libexec/ibus-engine-mozc|%_libexecdir/ibus-mozc/ibus-engine-mozc|' < out_linux/Release/obj/gen/unix/ibus/mozc.xml > %buildroot/%_datadir/ibus/component/mozc.xml
# Line 96  done Line 97  done
97  popd  popd
98    
99  # install mozc-server  # install mozc-server
100  mkdir -p %buildroot/%_libdir/mozc/  mkdir -p %buildroot/%_libexecdir/mozc/
101  cp -p out_linux/Release/mozc_server %buildroot/%_libexecdir/mozc/  cp -p out_linux/Release/mozc_server %buildroot/%_libexecdir/mozc/
102    
103  # install mozc-tools  # install mozc-tools

Legend:
Removed from v.394909  
changed lines
  Added in v.394910

  ViewVC Help
Powered by ViewVC 1.1.28