mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
create-mkspec.sh: Add support for global.license option in project.conf
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b18c91d48b
commit
6af6704576
1 changed files with 5 additions and 2 deletions
|
|
@ -19,16 +19,19 @@ _cat()
|
|||
sed 's/^ *|//'
|
||||
}
|
||||
|
||||
LICENSE=`cfg_value global.license`
|
||||
[ "$LICENSE" ] || LICENSE="janware GmbH proprietary license"
|
||||
|
||||
_cat << EOT
|
||||
|echo "Name: \$NAME"
|
||||
|echo "Summary: `cfg_value summary`"
|
||||
|echo "Version: \$VERSION"
|
||||
|echo "Release: \$RELEASE"
|
||||
|echo "License: Jannet IT Services proprietary license"
|
||||
|echo "License: $LICENSE"
|
||||
|echo "Group: System/Libraries"
|
||||
|[ -n "\$SOURCE" ] && echo "Source: \$SOURCE"
|
||||
|echo "Vendor: Jannet IT Services"
|
||||
|echo "URL: http://www.jannet.de"
|
||||
|echo "URL: http://janware.com"
|
||||
|echo "BuildRoot: /var/tmp/%{name}-buildroot"
|
||||
|echo ""
|
||||
|echo "%description"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue