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 +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 +Packager: Filippos Papadopoulos +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 <