root/branches/gajim_0.8.2/autopackage/default.apspec

Revision 1958, 2.4 kB (checked in by nk, 3 years ago)

apspec updated for 0.7.1

Line 
1# -*-shell-script-*-
2
3[Meta]
4RootName: @gajim.org/gajim:$SOFTWAREVERSION
5DisplayName: Gajim Jabber Client
6ShortName: gajim
7Maintainer: The Gajim Developers <gajim-devel-subscribe@gajim.org>
8Packager: Filippos Papadopoulos <filip@cs.uoi.gr>
9Summary: Gajim is a Jabber client written in Python.
10URL: http://www.gajim.org/
11License: GNU General Public License, Version 2
12SoftwareVersion: 0.7.1
13AutopackageTarget: 1.0
14PackageVersion: 1
15
16# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
17# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
18# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
19#
20# InterfaceVersion: 0.0
21
22[Description]
23Gajim is a jabber client written in PyGTK. The goal of Gajim is to provide a full featured and easy to use xmpp client for the GTK+ users. Gajim does not require GNOME to run, eventhough it exists with it nicely. Gajim is released under the GNU General Public License. Features: Tabbed chat windows, Groupchat support (with MUC protocol), Emoticons, URL grabber, Systray icon, GPG support, Multiple accounts support and much more!
24
25
26[BuildPrepare]
27echo "-------==========$USER i am making the package...===============------"
28export build_root="/tmp/build-root.$$"
29echo "Build root is $build_root"
30mkdir "$build_root"
31make PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
32make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
33
34
35
36[BuildUnprepare]
37unprepareBuild
38
39
40[Imports]
41echo '*' | import
42import <<EOF
43$source_dir/gajim.desktop
44$source_dir/gajim.1
45EOF
46
47
48[Prepare]
49# Dependency checking
50#PyGTK 2.4 requires python 2.3
51
52require @python.org/python 2.3
53require @gtk.org/gtk 2.4
54require @gnome.org/pygtk 2.4
55require @glade.gnome.org/libglade 2
56recommend @gtkspell.sourceforge.net/gtkspell 0
57
58[Install]
59# Put your installation script here
60
61copyFiles  lib/gajim "$PREFIX/lib"
62copyFiles  share/gajim "$PREFIX/share/"
63installIcon share/pixmaps/gajim.png
64installDesktop "Network/Instant Messaging" gajim.desktop
65installMan 1 gajim.1
66#In the following safeSed we assume that the original Makefile is a bit modified so that to be relocatable by AP
67#so you have to manually remove the sed in Makefile for AP to work
68safeSed bin/gajim "s!PREFIX!$PREFIX!g"
69installExe bin/*
70chmod +x "$PREFIX/bin/gajim"
71
72
73
74[Uninstall]
75# Usually just the following line is enough to uninstall everything
76uninstallFromLog
Note: See TracBrowser for help on using the browser.