Initial revision
This commit is contained in:
BIN
dist/.osg.spec.swp
vendored
Normal file
BIN
dist/.osg.spec.swp
vendored
Normal file
Binary file not shown.
16
dist/Irix/Makefile
vendored
Normal file
16
dist/Irix/Makefile
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
SHELL = /bin/sh
|
||||
|
||||
|
||||
all : irixdist tardist
|
||||
|
||||
|
||||
irixdist :
|
||||
cd ${OSGHOME}; [ -d irixdist ] || mkdir irixdist
|
||||
cd ${OSGHOME}; \
|
||||
/usr/sbin/gendist -sbase ${OSGHOME} -idb dist/Irix/osg.idb -spec dist/Irix/osg.spec -dist irixdist -all
|
||||
|
||||
|
||||
tardist : irixdist
|
||||
cd ${OSGHOME}/irixdist;\
|
||||
tar cvf osg.tardist osg osg.idb osg.sw
|
||||
|
||||
80
dist/Irix/osg.idb
vendored
Normal file
80
dist/Irix/osg.idb
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
f 0755 root sys usr/bin/sgv bin/sgv osg.sw.base
|
||||
d 0755 root sys usr/include/osg include/osg osg.sw.base
|
||||
f 0666 root sys usr/include/osg/AlphaFunc include/osg/AlphaFunc osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Billboard include/osg/Billboard osg.sw.base
|
||||
f 0666 root sys usr/include/osg/BoundingBox include/osg/BoundingBox osg.sw.base
|
||||
f 0666 root sys usr/include/osg/BoundingSphere include/osg/BoundingSphere osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Camera include/osg/Camera osg.sw.base
|
||||
f 0666 root sys usr/include/osg/CullFace include/osg/CullFace osg.sw.base
|
||||
f 0666 root sys usr/include/osg/DCS include/osg/DCS osg.sw.base
|
||||
f 0666 root sys usr/include/osg/DynamicLibrary include/osg/DynamicLibrary osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Export include/osg/Export osg.sw.base
|
||||
f 0666 root sys usr/include/osg/ExtensionSupported include/osg/ExtensionSupported osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Field include/osg/Field osg.sw.base
|
||||
f 0666 root sys usr/include/osg/FieldReader include/osg/FieldReader osg.sw.base
|
||||
f 0666 root sys usr/include/osg/FieldReaderIterator include/osg/FieldReaderIterator osg.sw.base
|
||||
f 0666 root sys usr/include/osg/FileNameUtils include/osg/FileNameUtils osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Fog include/osg/Fog osg.sw.base
|
||||
f 0666 root sys usr/include/osg/GL include/osg/GL osg.sw.base
|
||||
f 0666 root sys usr/include/osg/GeoSet include/osg/GeoSet osg.sw.base
|
||||
f 0666 root sys usr/include/osg/GeoState include/osg/GeoState osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Geode include/osg/Geode osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Group include/osg/Group osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Image include/osg/Image osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Input include/osg/Input osg.sw.base
|
||||
f 0666 root sys usr/include/osg/LOD include/osg/LOD osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Light include/osg/Light osg.sw.base
|
||||
f 0666 root sys usr/include/osg/LightSource include/osg/LightSource osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Lighting include/osg/Lighting osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Material include/osg/Material osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Matrix include/osg/Matrix osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Node include/osg/Node osg.sw.base
|
||||
f 0666 root sys usr/include/osg/NodeVisitor include/osg/NodeVisitor osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Notify include/osg/Notify osg.sw.base
|
||||
f 0666 root sys usr/include/osg/OSG include/osg/OSG osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Object include/osg/Object osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Output include/osg/Output osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Point include/osg/Point osg.sw.base
|
||||
f 0666 root sys usr/include/osg/PolygonOffset include/osg/PolygonOffset osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Quat include/osg/Quat osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Referenced include/osg/Referenced osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Registry include/osg/Registry osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Scene include/osg/Scene osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Seg include/osg/Seg osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Sequence include/osg/Sequence osg.sw.base
|
||||
f 0666 root sys usr/include/osg/State include/osg/State osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Switch include/osg/Switch osg.sw.base
|
||||
f 0666 root sys usr/include/osg/TexEnv include/osg/TexEnv osg.sw.base
|
||||
f 0666 root sys usr/include/osg/TexGen include/osg/TexGen osg.sw.base
|
||||
f 0666 root sys usr/include/osg/TexMat include/osg/TexMat osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Texture include/osg/Texture osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Timer include/osg/Timer osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Transparency include/osg/Transparency osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Types include/osg/Types osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Vec2 include/osg/Vec2 osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Vec3 include/osg/Vec3 osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Vec4 include/osg/Vec4 osg.sw.base
|
||||
f 0666 root sys usr/include/osg/Version include/osg/Version osg.sw.base
|
||||
d 0750 root sys usr/include/osgUtil include/osgUtil osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/CameraManipulator include/osgUtil/CameraManipulator osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/DisplayListVisitor include/osgUtil/DisplayListVisitor osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/DriveManipulator include/osgUtil/DriveManipulator osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/Export include/osgUtil/Export osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/FlightManipulator include/osgUtil/FlightManipulator osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/GUIActionAdapter include/osgUtil/GUIActionAdapter osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/GUIEventAdapter include/osgUtil/GUIEventAdapter osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/IntersectVisitor include/osgUtil/IntersectVisitor osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/RenderVisitor include/osgUtil/RenderVisitor osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/SceneView include/osgUtil/SceneView osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/TrackballManipulator include/osgUtil/TrackballManipulator osg.sw.base
|
||||
f 0666 root sys usr/include/osgUtil/Version include/osgUtil/Version osg.sw.base
|
||||
f 0755 root sys usr/lib32/libosg.so lib/libosg.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/libosgUtil.so lib/libosgUtil.so osg.sw.base
|
||||
d 0755 root sys usr/lib32/osgPlugins lib/osgPlugins osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_flt.so lib/osgPlugins/osgdb_flt.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_fly.so lib/osgPlugins/osgdb_fly.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_jpg.so lib/osgPlugins/osgdb_jpg.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_osgtgz.so lib/osgPlugins/osgdb_osgtgz.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_pic.so lib/osgPlugins/osgdb_pic.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_tga.so lib/osgPlugins/osgdb_tga.so osg.sw.base
|
||||
f 0755 root sys usr/lib32/osgPlugins/osgdb_tif.so lib/osgPlugins/osgdb_tif.so osg.sw.base
|
||||
13
dist/Irix/osg.spec
vendored
Normal file
13
dist/Irix/osg.spec
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
product osg
|
||||
id "OpenSceneGraph"
|
||||
image sw
|
||||
id "Software"
|
||||
version 1
|
||||
order 9999
|
||||
subsys base default
|
||||
id "Base Software"
|
||||
replaces self
|
||||
exp osg.sw.base
|
||||
endsubsys
|
||||
endimage
|
||||
endproduct
|
||||
29
dist/RedHatRPM/Makefile
vendored
Normal file
29
dist/RedHatRPM/Makefile
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
SHELL = /bin/sh
|
||||
|
||||
BINDIRS = \
|
||||
OpenSceneGraph-${OSGVERSION}/bin/\
|
||||
OpenSceneGraph-${OSGVERSION}/include/\
|
||||
OpenSceneGraph-${OSGVERSION}/lib/\
|
||||
|
||||
all :: rpm
|
||||
|
||||
|
||||
rpm : osg.spec tardist
|
||||
rpm -bb --clean osg.spec
|
||||
|
||||
|
||||
osg.spec : makespec
|
||||
makespec
|
||||
|
||||
tardist :
|
||||
@[ -n "${OSGHOME}" ] || (echo Please define OSGHOME; exit 3)
|
||||
@[ -n "${OSGVERSION}" ] || (echo Please define OSGVERSION; exit 4)
|
||||
@[ -n "${OSGRELEASE}" ] || (echo Please define OSGRELEASE; exit 5)
|
||||
@[ "`whoami`" = "root" ] || (echo Must be ROOT; exit 6)
|
||||
(cd ${OSGHOME}/..; \
|
||||
tar cf - ${BINDIRS} | gzip > \
|
||||
/usr/src/redhat/SOURCES/osg-${OSGVERSION}-${OSGRELEASE}.tar.gz)
|
||||
|
||||
|
||||
clean :
|
||||
rm -f osg.spec
|
||||
84
dist/RedHatRPM/makespec
vendored
Executable file
84
dist/RedHatRPM/makespec
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
#!/bin/sh
|
||||
|
||||
list_install_files()
|
||||
{
|
||||
for d in \
|
||||
${OSGHOME}/bin\
|
||||
${OSGHOME}/lib\
|
||||
${OSGHOME}/include
|
||||
do
|
||||
dd=`basename $d`
|
||||
for f in `ls -1 $d`
|
||||
do
|
||||
echo cp -rf \
|
||||
/usr/src/redhat/BUILD/OpenSceneGraph-"$OSGVERSION"/$dd/$f /usr/$dd/$f
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
list_attr_files()
|
||||
{
|
||||
for d in \
|
||||
${OSGHOME}/bin\
|
||||
${OSGHOME}/lib
|
||||
do
|
||||
dd=`basename $d`
|
||||
for f in $d/*
|
||||
do
|
||||
ff=`basename $f`
|
||||
echo "%attr(755, root, root) /usr/$dd/$ff"
|
||||
done
|
||||
done
|
||||
|
||||
for f in ${OSGHOME}/include/osg/*
|
||||
do
|
||||
ff=`basename $f`
|
||||
echo "%attr(444, root, root) /usr/include/osg/$ff"
|
||||
done
|
||||
}
|
||||
|
||||
[ -z "$OSGHOME" ] && (echo Please define OSGHOME; exit 1)
|
||||
[ -z "$OSGVERSION" ] && (echo Please define OSGVERSION; exit 1)
|
||||
[ -z "$OSGRELEASE" ] && (echo Please define OSGRELEASE; exit 1)
|
||||
|
||||
|
||||
|
||||
|
||||
cat <<-LEOF > osg.spec
|
||||
|
||||
Summary: Open Scene Graph
|
||||
Name: OpenSceneGraph
|
||||
Version: $OSGVERSION
|
||||
Release: $OSGRELEASE
|
||||
Copyright: GLPL
|
||||
Group: Graphics
|
||||
Source: osg-$OSGVERSION-$OSGRELEASE.tar.gz
|
||||
URL: http://www.openscenegraph.org
|
||||
Packager: `awk -f - /etc/passwd <<-EOF
|
||||
BEGIN { FS=":"}
|
||||
{
|
||||
if( \\$1 == "$LOGNAME" )
|
||||
print \\$5
|
||||
}
|
||||
EOF`
|
||||
|
||||
%description
|
||||
|
||||
Open Scene Graph is an open-source scene graph API.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%build
|
||||
%install
|
||||
|
||||
`list_install_files`
|
||||
|
||||
|
||||
|
||||
# ---------------------
|
||||
# FILES Sections
|
||||
%files
|
||||
|
||||
`list_attr_files`
|
||||
|
||||
LEOF
|
||||
32
dist/RedHatRPM/osg.spec
vendored
Normal file
32
dist/RedHatRPM/osg.spec
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
Summary: Open Scene Graph
|
||||
Name: OpenSceneGraph
|
||||
Version: 0.8
|
||||
Release: 2
|
||||
Copyright: GLPL
|
||||
Group: Graphics
|
||||
Source: osg-0.8-2.tar.gz
|
||||
URL: http://www.openscenegraph.org
|
||||
Packager: Robert Osfield
|
||||
|
||||
%description
|
||||
|
||||
Open Scene Graph is an open-source scene graph API.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%build
|
||||
%install
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ---------------------
|
||||
# FILES Sections
|
||||
%files
|
||||
|
||||
%attr(755, root, root) /usr/bin/*
|
||||
%attr(755, root, root) /usr/lib/*
|
||||
%attr(444, root, root) /usr/include/osg/*
|
||||
|
||||
Reference in New Issue
Block a user