%define appname meshmagick Name: ogre-meshmagick Version: 0.5.2 Release: 1.20090124svn2618%{?dist} Summary: Command line manipulation tool for Ogre meshes Group: Applications/Multimedia License: LGPLv2+ URL: http://www.ogre3d.org/wiki/index.php/MeshMagick # The source for this package was pulled from upstream's svn. Use the # following commands to generate the tarball: # svn export -r 2618 https://ogreaddons.svn.sourceforge.net/svnroot/ogreaddons/trunk/meshmagick meshmagick # cd meshmagick # ./bootstrap && ./configure && make dist-bzip2 Source0: %{appname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ogre-devel %description MeshMagick is a manipulation tool for Ogre meshes (and skeletons). It allows the user to query interesting information and to transform binary meshes (and skeletons) in many ways. %package devel Summary: Development files for libwfut library Group: Development/Libraries Requires: pkgconfig %{name} = %{version}-%{release} ogre-devel %description devel Development libraries and headers for linking against the meshmagick library. %prep %setup -q -n %{appname}-%{version} chmod -x include/{EditableMesh.h,EditableSkeleton.h,RenameToolFactory.h,RenameTool.h} src/{EditableMesh.cpp,EditableSkeleton.cpp,RenameToolFactory.cpp,RenameTool.cpp} %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{appname}.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_bindir}/%{appname} %{_libdir}/lib%{appname}.so.* %files devel %defattr(-,root,root,-) %{_libdir}/lib%{appname}.so %{_includedir}/%{appname} %{_libdir}/pkgconfig/%{appname}.pc %changelog * Sat Feb 28 2009 Alexey Torkhov - 0.5.2-1.20090124svn2618 - Update to post 0.5.2 * Mon Nov 03 2008 Alexey Torkhov - 0.4.0-0.1.20080731svn2488 - Initial package