rpms/ogre/F-7 .cvsignore, 1.6, 1.7 ogre-samples.sh, 1.2, 1.3 ogre.spec, 1.9, 1.10 sources, 1.6, 1.7

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Jan 16 19:32:54 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/ogre/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28696

Modified Files:
	.cvsignore ogre-samples.sh ogre.spec sources 
Log Message:
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.6-2
- Oops I just found out that ogre contains private copies of GL and GLEW
  headers, which fall under the not 100% SGI Free Software B and GLX Public
  License licenses, remove these (even from the tarbal!) and use the system
  versions instead



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ogre/F-7/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	3 Jul 2007 15:55:57 -0000	1.6
+++ .cvsignore	16 Jan 2008 19:32:23 -0000	1.7
@@ -1 +1 @@
-ogre-linux-osx-v1-4-2.tar.bz2
+ogre-1.4.6-clean.tar.bz2


Index: ogre-samples.sh
===================================================================
RCS file: /cvs/extras/rpms/ogre/F-7/ogre-samples.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ogre-samples.sh	3 Jul 2007 15:55:57 -0000	1.2
+++ ogre-samples.sh	16 Jan 2008 19:32:23 -0000	1.3
@@ -29,8 +29,15 @@
 
 set +e
 
-for i in `(cd $LIBDIR/OGRE/Samples/; find -type f -perm +111)`; do
-  if [ $i != ./BSP ]; then
-    $LIBDIR/OGRE/Samples/$i
-  fi
-done
+if [ $# -ge 1 ]; then
+  while [ $# -ge 1 ]; do
+    $LIBDIR/OGRE/Samples/$1
+    shift
+  done
+else
+  for i in `(cd $LIBDIR/OGRE/Samples/; find -type f -perm +111)`; do
+    if [ $i != ./BSP ]; then
+      $LIBDIR/OGRE/Samples/$i
+    fi
+  done
+fi


Index: ogre.spec
===================================================================
RCS file: /cvs/extras/rpms/ogre/F-7/ogre.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ogre.spec	3 Jul 2007 15:55:57 -0000	1.9
+++ ogre.spec	16 Jan 2008 19:32:23 -0000	1.10
@@ -1,18 +1,20 @@
 Name:           ogre
-Version:        1.4.2
-Release:        1%{?dist}
+Version:        1.4.6
+Release:        2%{?dist}
 Summary:        Object-Oriented Graphics Rendering Engine
-License:        LGPL
+License:        LGPLv2+
 Group:          System Environment/Libraries
 URL:            http://www.ogre3d.org/
-Source0:        http://downloads.sourceforge.net/ogre/ogre-linux-osx-v%(echo %{version} | tr . -).tar.bz2
+# This is http://downloads.sourceforge.net/ogre/ogre-linux_osx-v%(echo %{version} | tr . -).tar.bz2
+# With the non free licensed headers under RenderSystems/GL/include/GL removed
+Source0:        ogre-%{version}-clean.tar.bz2
 Source1:        ogre-samples.sh
 Patch0:         ogre-1.2.1-rpath.patch
-Patch1:         ogre-1.2.5-ppc64.patch
+Patch1:         ogre-1.4.6-system-glew.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  cegui-devel zziplib-devel DevIL-devel freetype-devel gtk2-devel
 BuildRequires:  libXaw-devel libXrandr-devel libXxf86vm-devel libGLU-devel
-BuildRequires:  ois-devel
+BuildRequires:  ois-devel glew-devel
 
 %description
 OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,
@@ -60,14 +62,11 @@
 %prep
 %setup -q -n ogrenew
 %patch0 -p1 -z .rpath
-%patch1 -p1 -z .ppc64
-# Don't try to build SSE optimised code on ppc64
-sed -i 's/\tpowerpc)$/\tpowerpc|powerpc64)/g' configure
+%patch1 -p1 -z .glew
 # stop some CVS stuff from getting installed
-rm -r `find Docs Samples/Media -name CVS` 'Docs/manual/.#manual_16.html.1.47' \
-  Docs/manual/manual_16.html.rej
+rm -r `find Docs Samples/Media -name CVS`
 # fix line-endings of Docs
-sed -i 's/\r//g' Docs/manual/*.html
+sed -i 's/\r//g' Docs/ChangeLog.html Docs/manual/*.html
 # remove execute bits from src-files for -debuginfo package
 chmod -x `find RenderSystems/GL -type f` \
   `find Samples/DeferredShading -type f` Samples/DynTex/src/DynTex.cpp
@@ -80,6 +79,17 @@
   Samples/Media/gui/TaharezLook.looknfeel \
   Samples/Media/gui/Falagard.xsd \
   Samples/Media/materials/scripts/Example-DynTex.material
+# create a clean version of the api docs for %%doc
+mkdir api
+cp Docs/api/html/*.html Docs/api/html/*.gif Docs/api/html/*.png \
+  Docs/api/html/*.css api
+for i in api/OgreParticleEmitter_8h-source.html \
+         api/classOgre_1_1ParticleSystem.html \
+         api/classOgre_1_1DynLib.html \
+         api/classOgre_1_1ParticleEmitter.html; do
+  iconv -f ISO_8859-2 -t UTF8 $i > api/tmp
+  mv api/tmp $i
+done
 
 
 %build
@@ -89,6 +99,9 @@
 # Don't use rpath!
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+# Stop ogre from linking the GL render plugin against the system libOgre
+# instead of the just build one.
+sed -i 's|-L%{_libdir}||g' `find -name Makefile`
 make %{?_smp_mflags}
 
 
@@ -104,9 +117,9 @@
 # the cwd??
 mv $RPM_BUILD_ROOT`pwd`/Samples/Common/bin/* \
   $RPM_BUILD_ROOT%{_libdir}/OGRE/Samples
-for cfg in `find Samples/Common/bin -name \*.cfg -print -maxdepth 1`
-do
-  install -p -m 644 $cfg $RPM_BUILD_ROOT%{_libdir}/OGRE/Samples
+for cfg in media.cfg quake3settings.cfg resources.cfg; do
+  install -p -m 644 Samples/Common/bin/$cfg \
+    $RPM_BUILD_ROOT%{_libdir}/OGRE/Samples
 done
 install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/Ogre-Samples
 
@@ -144,7 +157,7 @@
 
 %files devel-doc
 %defattr(-,root,root,-)
-%doc LINUX.DEV Docs/api Docs/manual Docs/vbo-update Docs/style.css
+%doc LINUX.DEV api Docs/manual Docs/vbo-update Docs/style.css
 
 %files samples
 %defattr(-,root,root)
@@ -154,6 +167,36 @@
 
 
 %changelog
+* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.6-2
+- Oops I just found out that ogre contains private copies of GL and GLEW
+  headers, which fall under the not 100% SGI Free Software B and GLX Public
+  License licenses, remove these (even from the tarbal!) and use the system
+  versions instead
+
+* Sat Dec 29 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.6-1
+- New upstream release 1.4.6
+- Warning as always with a new upstream ogre release this breaks the ABI
+  and changes the soname!
+
+* Wed Nov 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.5-3
+- Fix building of ogre with an older version of ogre-devel installed
+  (bz 382311)
+
+* Mon Nov 12 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.5-2
+- Ogre-Samples now takes the name of which samples to run as arguments, if no
+  arguments are provided, it will run all of them like it used too (bz 377011)
+- Don't install a useless / broken plugins.cfg in the Samples folder,
+  Ogre-Samples will generate a correct one when run (bz 377011)
+
+* Mon Oct  8 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.5-1
+- New upstream release 1.4.5
+
+* Fri Sep 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.4-1
+- New upstream release 1.4.4 (bz 291481)
+
+* Wed Aug 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.2-2
+- Update License tag for new Licensing Guidelines compliance
+
 * Sat Jun 30 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.2-1
 - New upstream release 1.4.2
 - Warning as always with a new upstream ogre release this breaks the ABI


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ogre/F-7/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	3 Jul 2007 15:55:57 -0000	1.6
+++ sources	16 Jan 2008 19:32:23 -0000	1.7
@@ -1 +1 @@
-52eea0cf5fc659d9ca63491348e0e0ec  ogre-linux-osx-v1-4-2.tar.bz2
+d51c457bf1903f2a0ac15bdfee696f8c  ogre-1.4.6-clean.tar.bz2




More information about the fedora-extras-commits mailing list