summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fa43b6)
raw | patch | inline | side by side (parent: 4fa43b6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Feb 2009 13:16:24 +0000 (13:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Feb 2009 13:16:24 +0000 (13:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13423 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/redhat/rpm-make-gosa | patch | blob | history |
index a7bd4250070bf49bc1af54856cdd3880aa08166c..1965cc0396d5c9cd6d9a2982dba76d96332d3838 100755 (executable)
release=0
echo "Creating Spec file..."
-cat << EOF | sed -e "s/@@NAME@@/$name/g" -e "s/@@DESCRIPTION@@/$description/g" -e "s/@@VERSION@@/$version/g" -e "s/@@AUTHOR@@/$author/g" -e "s#@@HOMEPAGE@@#$homepage#g" -e "s/@@DEPENDS@@/$depends/g" -e "s/@@CONFLICTS@@/$conflicts/g" -e "s/@@PROVIDES@@/$provides/g" -e "s/@@RELEASE@@/$release/g" -e "s/@@.*@@/not_defined/g" > $configfile
+cat << EOF | sed -e "s%@@NAME@@%$name%g" -e "s%@@DESCRIPTION@@%$description%g" -e "s%@@VERSION@@%$version%g" -e "s%@@AUTHOR@@%$author%g" -e "s%@@HOMEPAGE@@%$homepage%g" -e "s%@@DEPENDS@@%$depends%g" -e "s%@@CONFLICTS@@%$conflicts%g" -e "s%@@PROVIDES@@%$provides%g" -e "s%@@RELEASE@@%$release%g" -e "s%@@.*@@%not_defined%g" > $configfile
# Some sort of "detection" of suse
%{?suse_version:%define suse 1}
%{!?suse_version:%define suse 0}