Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/autopackage/default.apspec.in
blob: cbe2e9ce45e7e40060a4928d8cee8cd3331e7e0d (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
# -*- shell-script -*-
# Generated by mkapspec 0.2
[Meta]
ShortName: gcompris
SoftwareVersion: @VERSION@
DisplayName: GCompris Educational software
RootName: @gcompris.net/gcompris:$SOFTWAREVERSION
Summary:  GCompris Educational suite for kids
Maintainer: Bruno Coudoin <bruno.coudoin@free.fr>
Packager: Bruno Coudoin <bruno.coudoin@free.fr>
PackageVersion: 1
CPUArchitectures: x86
AutopackageTarget: 1.2
License: GNU General Public License (GPL)
PackageFileName: gcompris-$SOFTWAREVERSION.x86.package
PackageDesktop: share/applications/gcompris.desktop

[BuildPrepare]
# If you're using autotools, the default should be enough.
# prepareBuild will set up apbuild and run configure for you. If you
# need to pass arguments to configure, just add them to prepareBuild:
# prepareBuild --enable-foo --disable-bar
APBUILD_STATIC_X="1"
prepareBuild --enable-binreloc

[BuildUnprepare]
# If you're using prepareBuild above, there is no need to change this!
unprepareBuild

[Globals]

[Prepare]
require @gtk.org/gtk 2.4
removeOwningPackage $PREFIX/bin/gcompris

[Imports]
# This command will tell makeinstaller what to include in the package.
# The selection comes from the files created by 'make install' or equivalent.
# Usually, you can leave this at the default
echo '*' | import

[Install]
# See http://www.autopackage.org/api/ for details
installExe bin/*
copyFiles lib/gcompris/* "$PREFIX/lib/gcompris"
installData share/gcompris
installIcon share/pixmaps/gcompris.*
installLocale share/locale/
# You probably need to change the category
installMenuItem "Edutainment" share/applications/gcompris.desktop
installMenuItem "Edutainment" share/applications/gcompris-edit.desktop

[Uninstall]
# Leaving this at the default is safe unless you use custom commands in
# "Install" to create files. By default, all autopackage API functions are
# logged.
uninstallFromLog