Changeset 8182 for trunk/autopackage

Show
Ignore:
Timestamp:
05/31/07 17:14:39 (18 months ago)
Author:
asterix
Message:

[Filippos Papadopoulos] updated autopackage files for 0.11.1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/autopackage/default.apspec

    r6264 r8182  
    1010URL: http://www.gajim.org/ 
    1111License: GNU General Public License, Version 2 
    12 SoftwareVersion: 0.10 
     12SoftwareVersion: 0.11.1 
    1313AutopackageTarget: 1.0 
    1414PackageVersion: 1 
     
    2929 
    3030[BuildPrepare] 
    31 echo "-------==========$USER i am making the package...===============------" 
    32 export build_root="/tmp/build-root.$$" 
    33 echo "Build root is $build_root" 
    34 mkdir "$build_root" 
    35 make PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 
    36 make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1 
    37  
     31prepareBuild 
    3832 
    3933 
     
    4539echo '*' | import 
    4640import <<EOF 
    47 $source_dir/gajim.desktop 
    48 $source_dir/gajim.1 
    4941EOF 
    5042 
     
    5244[Prepare] 
    5345# Dependency checking 
     46#PyGTK 2.4 requires python 2.3 
    5447 
    5548require @python.org/python 2.4 
    5649require @python.org/python-xml 2.4 
    5750require @gtk.org/gtk 2.6 
    58  
    59 ########The 2.5 version is for SUSE 9.3 
    6051require @gnome.org/pygtk 2.5 
    6152require @gnome.org/pyglade 2.5 
     
    6354require @pysqlite.org/pysqlite 2 
    6455recommend @gtkspell.sourceforge.net/gtkspell 0 
     56if ! require @dnspython.org/dnspython 1; then 
     57recommend @pydns.sourceforge.net/pydns 2 
     58fi 
     59 
     60#recommend @dnspython.org/dnspython 1 
     61#recommend @pydns.sourceforge.net/pydns 2 
     62 
    6563 
    6664 
     
    7068copyFiles  lib/gajim "$PREFIX/lib" 
    7169copyFiles  share/gajim "$PREFIX/share/" 
     70copyFiles  share/doc "$PREFIX/share/" 
    7271installLocale share/locale 
    7372installIcon share/pixmaps/gajim.png 
    74 installDesktop "Network/Instant Messaging" gajim.desktop 
    75 installMan 1 gajim.1 
     73installIcon share/pixmaps/gajim_about.png 
     74installDesktop "Network/Instant Messaging" share/applications/gajim.desktop 
     75installMan 1 share/man/man1/gajim.1 share/man/man1/gajim-remote.1 
     76 
    7677#In the following safeSed we assume that the original Makefile is a bit modified so that to be relocatable by AP 
    7778#so you have to manually remove the sed in Makefile for AP to work 
    7879safeSed bin/gajim "s!PREFIX!$PREFIX!g" 
    7980safeSed bin/gajim-remote "s!PREFIX!$PREFIX!g" 
     81locateCommand python 
     82safeSed bin/gajim "s!PYBIN!$lc_location!g" 
     83safeSed bin/gajim-remote "s!PYBIN!$lc_location!g" 
    8084installExe bin/* 
    81 chmod +x "$PREFIX/bin/gajim" 
    82 chmod +x "$PREFIX/bin/gajim-remote" 
     85#chmod +x "$PREFIX/bin/gajim" 
     86#chmod +x "$PREFIX/bin/gajim-remote" 
     87 
     88 
    8389 
    8490