Commit 5e41c9e2 authored by claes's avatar claes

Version files added

parent 9156902e
......@@ -13,6 +13,90 @@ if [ -e $pwr_inc/pwr_version.h ]; then
ver=${ver:2:2}
fi
# Generate version help file
{
if [ ! -e $pwre_sroot/tools/pkg/rpm/pwr/pwr.spec ]; then
echo "Controlfile not found"
exit 1
fi
datfile=$pwre_sroot/tools/pkg/rpm/pwr/pwr.spec
echo "<topic> version"
d=`eval date +\"%F %X\"`
{
let printout=0
while read line; do
if [ "${line:0:6}" = "Name: " ]; then
package=${line#Name: }
fi
if [ "${line:0:9}" = "Version: " ]; then
version=${line#Version: }
fi
if [ "${line:0:9}" = "Release: " ]; then
release=${line#Release: }
fi
if [ "${line:0:11}" = "BuildArch: " ]; then
arch=${line#BuildArch: }
fi
if [ "${line:0:9}" = "Summary: " ]; then
summary=${line#Summary: }
fi
if [ "${line:0:10}" = "%changelog" ]; then
echo ""
echo "<image> pwr_logga.gif"
echo ""
echo ""
echo ""
echo "<b>Proview V${version:0:3}"
echo "Version V$version"
echo ""
echo "Copyright © 2004-${d:0:4} SSAB Oxelösund AB"
echo ""
echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version."
echo ""
echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
echo ""
echo "E-mail postmaster@proview.se <weblink> mailto:postmaster@proview.se"
echo "Internet www.proview.se <weblink> http://www.proview.se"
echo ""
echo ""
echo "<b>Package"
echo "Package $package""-""$version""-""$release"".""$arch"
echo "Build date $d"
echo "Package description:"
echo "$summary"
echo ""
printout=1
else
if [ $printout -eq 1 ]; then
if [ "${line:0:1}" = "-" ]; then
echo $line
else
echo ${line:2}
fi
fi
fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/wtt_version_help.dat
if [ "$1" == "-v" ]; then
exit
fi
pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwr$ver
pkgsrc=$pwre_sroot/tools/pkg/rpm/pwr
......
......@@ -8,16 +8,16 @@
#
Name: pwr42
Summary: Proview/R development and runtime environment
Version: 4.2.0
Release: 7
Copyright: (c) 2006 SSAB Oxelösund AB, Sweden
#License: GPL
BuildArch: i386
Packager: robert.karlsson@ssabox.com
Group: Development/Tools/Other
Url: http://www.proview.se
Name: pwr42
Summary: Proview/R development and runtime environment
Version: 4.2.0
Release: 7
Copyright: (c) 2006 SSAB Oxelösund AB, Sweden
#License: GPL
BuildArch: i386
Packager: robert.karlsson@ssabox.com
Group: Development/Tools/Other
Url: http://www.proview.se
%description
For more information please see www.proview.se.
......@@ -192,12 +192,4 @@ fi
- Volume volref version check for not yet loaded volume removed.
- Problems with mq quota fixed.
- Profibus: problems with user PRM data for bigendian slaves fixed.
* Tue Feb 14 2006 Robert Karlsson <robert.karlsson@ssabox.com> 4.1.3-2
- Template values in Profibus objects added.
- Template IoConnections for ABB_ACS800PumpAggr added.
- Bugfix in BaseMotorIncrDecrAggr. LimitSwitchIncr/LimitSwitchDecr was switched.
- Bugfix in volume creation. Flags in volume object was not initialized.
- Bugfix in gdh_DisableAttr. Didn't work on remote objects.
- Bugfix in classcache. Large classes wasn't loaded correctly.
* Tue Jan 31 2006 Robert Karlsson <robert.karlsson@ssabox.com> 4.1.3-1
- Base release
......@@ -12,6 +12,90 @@ if [ -e $pwr_inc/pwr_version.h ]; then
fi
# Generate version help file
{
if [ ! -e $pwre_sroot/tools/pkg/rpm/pwrrt/pwrrt.spec ]; then
echo "Controlfile not found"
exit 1
fi
datfile=$pwre_sroot/tools/pkg/rpm/pwrrt/pwrrt.spec
echo "<topic> version"
d=`eval date +\"%F %X\"`
{
let printout=0
while read line; do
if [ "${line:0:6}" = "Name: " ]; then
package=${line#Name: }
fi
if [ "${line:0:9}" = "Version: " ]; then
version=${line#Version: }
fi
if [ "${line:0:9}" = "Release: " ]; then
release=${line#Release: }
fi
if [ "${line:0:11}" = "BuildArch: " ]; then
arch=${line#BuildArch: }
fi
if [ "${line:0:9}" = "Summary: " ]; then
summary=${line#Summary: }
fi
if [ "${line:0:10}" = "%changelog" ]; then
echo ""
echo "<image> pwr_logga.gif"
echo ""
echo ""
echo ""
echo "<b>Proview V${version:0:3}"
echo "Version V$version"
echo ""
echo "Copyright © 2004-${d:0:4} SSAB Oxelösund AB"
echo ""
echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version."
echo ""
echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
echo ""
echo "E-mail postmaster@proview.se <weblink> mailto:postmaster@proview.se"
echo "Internet www.proview.se <weblink> http://www.proview.se"
echo ""
echo ""
echo "<b>Package"
echo "Package $package""-""$version""-""$release"".""$arch"
echo "Build date $d"
echo "Package description:"
echo "$summary"
echo ""
printout=1
else
if [ $printout -eq 1 ]; then
if [ "${line:0:1}" = "-" ]; then
echo $line
else
echo ${line:2}
fi
fi
fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
# Print rt version file
echo "Version: $version" > $pwr_eexe/rt_version.dat
if [ "$1" == "-v" ]; then
exit
fi
......
......@@ -8,16 +8,16 @@
#
Name: pwrrt
Summary: Proview/R runtime environment
Version: 4.2.0
Release: 8
Copyright: (c) 2006 SSAB Oxelösund AB, Sweden
#License: GPL
BuildArch: i386
Packager: robert.karlsson@ssabox.com
Group: Applications/System
Url: http://www.proview.se
Name: pwrrt
Summary: Proview/R runtime environment
Version: 4.2.0
Release: 8
Copyright: (c) 2006 SSAB Oxelösund AB, Sweden
#License: GPL
BuildArch: i386
Packager: robert.karlsson@ssabox.com
Group: Applications/System
Url: http://www.proview.se
%description
For more information please see www.proview.se.
......@@ -475,12 +475,4 @@ fi
- rt_qmon: Fixed setting of priorities for threads.
- rt_tmon: Fixed problem with memory allocation.
- Plc: Fixed setting of priorities for threads.
* Tue Feb 14 2006 Robert Karlsson <robert.karlsson@ssabox.com> 4.1.3-2
- Template values in Profibus objects added.
- Template IoConnections for ABB_ACS800PumpAggr added.
- Bugfix in BaseMotorIncrDecrAggr. LimitSwitchIncr/LimitSwitchDecr was switched.
- Bugfix in volume creation. Flags in volume object was not initialized.
- Bugfix in gdh_DisableAttr. Didn't work on remote objects.
- Bugfix in classcache. Large classes weren't loaded correctly.
* Tue Jan 31 2006 Robert Karlsson <robert.karlsson@ssabox.com> 4.1.3-1
- Base release
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment