rpms/ogre/devel ogre.spec,1.55,1.56

Bruno Wolff III bruno at fedoraproject.org
Sun Nov 22 06:29:12 UTC 2009


Author: bruno

Update of /cvs/pkgs/rpms/ogre/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24964

Modified Files:
	ogre.spec 
Log Message:
Clean up the spec file a bit




Index: ogre.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ogre/devel/ogre.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -p -r1.55 -r1.56
--- ogre.spec	17 Nov 2009 10:23:14 -0000	1.55
+++ ogre.spec	22 Nov 2009 06:29:10 -0000	1.56
@@ -1,6 +1,6 @@
 Name:           ogre
 Version:        1.6.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Object-Oriented Graphics Rendering Engine
 # LGPLv2+ with exceptions - main library
 # CC-BY-SA - devel docs
@@ -33,7 +33,7 @@ BuildRequires:  tinyxml-devel
 %description
 OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,
 flexible 3D engine written in C++ designed to make it easier and more
-intuitive for developers to produce applications utilising
+intuitive for developers to produce applications utilizing
 hardware-accelerated 3D graphics. The class library abstracts all the
 details of using the underlying system libraries like Direct3D and
 OpenGL and provides an interface based on world objects and other
@@ -106,13 +106,15 @@ for i in api/OgreParticleEmitter_8h-sour
 done
 # Add lgpl.txt symlink for links in License.html
 rm -r Docs/licenses/*
-ln -s COPYING Docs/licenses/lgpl.txt
+ln -s ../COPYING Docs/licenses/lgpl.txt
 # remove included tinyxml headers to ensure use of system headers
 rm Tools/XMLConverter/include/tiny*
 
 
 %build
 %configure --disable-cg --disable-devil --enable-openexr
+# Don't link to unneeded stuff
+sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
 # 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
@@ -193,7 +195,7 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{_bindir}/Ogre-Samples
 %exclude %{_libdir}/OGRE/Samples
 %exclude %{_datadir}/OGRE/Samples
-/etc/ld.so.conf.d/*
+%config(noreplace) /etc/ld.so.conf.d/*
 
 %files devel
 %defattr(-,root,root,-)
@@ -215,6 +217,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Nov 21 2009 Bruno Wolff III <bruno at wolff.to> - 1.6.4-3
+- Spec file cleanups
+
 * Tue Nov 17 2009 Bruno Wolff III <bruno at wolff.to> - 1.6.4-2
 - Rebuild for ois 1.2
 




More information about the fedora-extras-commits mailing list