# -*-shell-script-*- # # This is an example specfile. Delete these comments when you're done. # [Meta] RootName: @mysite.org/myproject:$SOFTWAREVERSION DisplayName: MyProject Strategy Game ShortName: myproject Maintainer: John Smith Packager: John Smith Summary: MyProject is an example URL: http://www.mysite.org/ License: GNU General Public License, Version 2 SoftwareVersion: 1.0 # SoftwareVersion: @VERSION@ Repository: http://www.mysite.org/downloads/myproject.xml # If you change the autopackage but not the software itself, # increment this number. # PackageVersion: 1 # This is the version of the autopackage runtime this package is # written for. Increasing this number implies you have read the # "Migrating to 1.X" document and understand the impact it will have # on your package. Some APIs may change their behaviour and new # features will be enabled depending on what this is set to. AutopackageTarget: 1.2 # 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 aren't sure about interface versioning. # # InterfaceVersion: 0.0 [BuildPrepare] # For ./configure based systems this is a good default #prepareBuild --with-some-feature echo 'hi' > $build_root/test [BuildUnprepare] unprepareBuild [Imports] echo '*' | import [Prepare] [Install] installExe test safeSed "$PREFIX/bin/test" 's/hi/bye/g' [Uninstall] # Usually just the following line is enough to uninstall everything uninstallFromLog