# -*- 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 Packager: Bruno Coudoin 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