root/trunk/autopackage/default.apspec

Revision 10221, 2.7 kB (checked in by js, 4 months ago)

Update version properly. We should repackage 0.12-alpha1!

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 <psybases@gmail.com>
9Summary: Gajim is a Jabber client written in Python.
10URL: http://www.gajim.org/
11License: GNU General Public License, Version 2
12SoftwareVersion: 0.12-alpha1
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
24client for the GTK+ users. Gajim does not require GNOME to run, eventhough it exists with it nicely. Gajim is
25released under the GNU General Public License. Features: Tabbed chat windows, Groupchat support (with MUC protocol),
26File tranfers, Emoticons, URL grabber, Systray icon, GPG support, Multiple accounts support and much more!
27
28
29
30[BuildPrepare]
31prepareBuild
32
33
34[BuildUnprepare]
35unprepareBuild
36
37
38[Imports]
39echo '*' | import
40import <<EOF
41EOF
42
43
44[Prepare]
45# Dependency checking
46#PyGTK 2.4 requires python 2.3
47
48require @python.org/python 2.4
49require @python.org/python-xml 2.4
50require @gtk.org/gtk 2.6
51require @gnome.org/pygtk 2.5
52require @gnome.org/pyglade 2.5
53require @glade.gnome.org/libglade 2
54require @pysqlite.org/pysqlite 2
55recommend @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
63
64
65[Install]
66# Put your installation script here
67
68copyFiles  lib/gajim "$PREFIX/lib"
69copyFiles  share/gajim "$PREFIX/share/"
70copyFiles  share/doc "$PREFIX/share/"
71installLocale share/locale
72installIcon share/pixmaps/gajim.png
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
77#In the following safeSed we assume that the original Makefile is a bit modified so that to be relocatable by AP
78#so you have to manually remove the sed in Makefile for AP to work
79safeSed bin/gajim "s!PREFIX!$PREFIX!g"
80safeSed 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"
84installExe bin/*
85#chmod +x "$PREFIX/bin/gajim"
86#chmod +x "$PREFIX/bin/gajim-remote"
87
88
89
90
91[Uninstall]
92# Usually just the following line is enough to uninstall everything
93uninstallFromLog
Note: See TracBrowser for help on using the browser.