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

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Kouremenos <kourem@gmail.com>2005-05-06 16:04:50 +0400
committerNikos Kouremenos <kourem@gmail.com>2005-05-06 16:04:50 +0400
commit9737fb58f0e3c7761d8c5d0dc628baff3eaf4c72 (patch)
treee6ebe77978f3632819d62399b1abdee0f3a9dec7 /autopackage
parent3c200bea78d4ef21f101414076bdaaefb6301b6a (diff)
adding autopackage sources
Diffstat (limited to 'autopackage')
-rw-r--r--autopackage/@python.org/python/skeleton.122
-rw-r--r--autopackage/default.apspec66
2 files changed, 88 insertions, 0 deletions
diff --git a/autopackage/@python.org/python/skeleton.1 b/autopackage/@python.org/python/skeleton.1
new file mode 100644
index 000000000..072bc56c6
--- /dev/null
+++ b/autopackage/@python.org/python/skeleton.1
@@ -0,0 +1,22 @@
+[Meta]
+RootName: @python.org/python
+DisplayName: Python language runtime
+ShortName: python
+Skeleton-Author: Mike Hearn <mike@theoretic.com>
+Skeleton-Version: 1
+
+[Notes]
+INTERFACE_VERSIONS are set to match the currently installed version using the "python" executable name.
+For instance, python 2.2 causes INTERFACE_VERSIONS to contain "2.2 2.1 2.0". This skeleton assumes python1 and python2 are not parallel installed.
+SOFTWARE_VERSIONS is set to the result of python -V
+
+[Test]
+SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 )
+if [[ "$?" != "0" ]]; then
+ INTERFACE_VERSIONS=""
+else
+ local v
+ v=$( echo $SOFTWARE_VERSIONS | awk '{print $2}' | awk -F. '{print $1 "." $2}' )
+ INTERFACE_VERSIONS=$( countDownVersions $v )
+fi
+
diff --git a/autopackage/default.apspec b/autopackage/default.apspec
new file mode 100644
index 000000000..13727fee4
--- /dev/null
+++ b/autopackage/default.apspec
@@ -0,0 +1,66 @@
+# -*-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 APKG_BUILD_SKIP_CONFIGURE=1
+export build_root="/tmp/build-root.$$"
+echo "Build root is $build_root"
+mkdir "$build_root"
+make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
+
+
+
+[BuildUnprepare]
+unprepareBuild
+
+
+[Imports]
+##################make install PREFIX=$build_root CC=apgcc CXX=apg++ || exit 1
+echo '*' | import
+import <<EOF
+$source_dir/gajim.desktop
+$source_dir/gajim.1
+EOF
+
+
+[Prepare]
+# Dependency checking
+require @python.org/python 2.2
+recommend @python.org/python 2.3
+
+[Install]
+# Put your installation script here
+installExe bin/*
+copyFiles lib/gajim "$PREFIX/lib"
+copyFiles share/gajim "$PREFIX/share/"
+installIcon share/gajim/gajim.xpm
+installDesktop "Networking/Instant Messaging" gajim.desktop
+installMan 1 gajim.1
+
+[Uninstall]
+# Usually just the following line is enough to uninstall everything
+uninstallFromLog