Welcome to mirror list, hosted at ThFree Co, Russian Federation.

default.apspec « autopackage - dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3f6f4e64cc24959e57c457eba105bc7008c54e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# -*-shell-script-*-

[Meta]
RootName: @gajim.org/gajim:$SOFTWAREVERSION
DisplayName: Gajim Jabber Client
ShortName: gajim
Maintainer: The Gajim Developers <gajim-devel-subscribe@gajim.org>
Packager: Filippos Papadopoulos <filip@cs.uoi.gr>
Summary: Gajim is a Jabber client written in Python.
URL: http://www.gajim.org/
License: GNU General Public License, Version 2
SoftwareVersion: 0.6.1
AutopackageTarget: 1.0
PackageVersion: 1

# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
#
# InterfaceVersion: 0.0

[Description]
Gajim is a Jabber client based on a plugin system. At this time, 2 plugins have been written: one in GTK2 and one that log messages. Features: Tabbed chat windows, Groupchat support (with MUC protocol), Emoticons, URL grabber, Systray icon,
GPG support, Multiple accounts support and more!


[BuildPrepare]
echo "-------==========$USER i am making the package...===============------"
export build_root="/tmp/build-root.$$"
echo "Build root is $build_root"
mkdir "$build_root"
make PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1



[BuildUnprepare]
unprepareBuild


[Imports]
echo '*' | import
import <<EOF
$source_dir/gajim.desktop
$source_dir/gajim.1
EOF


[Prepare]
# Dependency checking
#PyGTK 2.4 requires python 2.3

require @python.org/python 2.3
require @gtk.org/gtk 2.4
require @pygtk.org/pygtk 2.4
require @glade.gnome.org/libglade 2


[Install]
# Put your installation script here

copyFiles  lib/gajim "$PREFIX/lib"
copyFiles  share/gajim "$PREFIX/share/"
installIcon share/gajim/gajim.xpm
installDesktop "Network/Instant Messaging" gajim.desktop
installMan 1 gajim.1
installExe bin/*
safeSed "$PREFIX/bin/gajim" "s!PREFIX!$PREFIX!g"
chmod +x "$PREFIX/bin/gajim"

[Uninstall]
# Usually just the following line is enough to uninstall everything
uninstallFromLog