# Note that this is NOT a relocatable package %define ver @LIB3DS_VERSION@ %define prefix /usr BuildRoot: /tmp/lib3ds-%{PACKAGE_VERSION}-root Summary: 3DS Viewing and Conversion Utilities Name: lib3ds-utils Version: %ver Release: 1 Copyright: LGPL Group: Aplpications/Multimedia Source: http://download.sourceforge.net/lib3ds/lib3ds-%{ver}.tar.gz URL: http://lib3ds.sourceforge.net Docdir: %{prefix}/share/doc %description Lib3ds is a free alternative to Autodesk's 3DS File Toolkit for handling 3DS files It's main goal is to simplify the creation of 3DS import and export filters. This package contains some conversion and viewing utilities. This project is not related in any form to Autodesk. The library is based on unofficial information about the 3DS format found on the web. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. The official Lib3ds Homepage can be found under: http://lib3ds.sourceforge.net %prep %setup %build ./configure --prefix=%{prefix} make %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README COPYING TODO %{prefix}/bin/* %{prefix}/man/man1/3dsplayer.1 %{prefix}/man/man1/3ds2m.1 %{prefix}/man/man1/3dsdump.1