1# Note that this is NOT a relocatable package 2%define ver @LIB3DS_VERSION@ 3%define prefix /usr 4BuildRoot: /tmp/lib3ds-%{PACKAGE_VERSION}-root 5 6Summary: 3DS Viewing and Conversion Utilities 7Name: lib3ds-utils 8Version: %ver 9Release: 1 10Copyright: LGPL 11Group: Aplpications/Multimedia 12Source: http://download.sourceforge.net/lib3ds/lib3ds-%{ver}.tar.gz 13URL: http://lib3ds.sourceforge.net 14Docdir: %{prefix}/share/doc 15 16%description 17 18Lib3ds is a free alternative to Autodesk's 3DS File Toolkit for handling 193DS files It's main goal is to simplify the creation of 3DS import and 20export filters. 21 22This package contains some conversion and viewing utilities. 23 24This project is not related in any form to Autodesk. The library is 25based on unofficial information about the 3DS format found on the web. 26 27This program is distributed in the hope that it will be useful, but 28WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 29or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 30License for more details. 31 32The official Lib3ds Homepage can be found under: 33 http://lib3ds.sourceforge.net 34 35%prep 36%setup 37 38%build 39./configure --prefix=%{prefix} 40make 41 42%install 43make DESTDIR=$RPM_BUILD_ROOT install 44 45%clean 46rm -rf $RPM_BUILD_ROOT 47 48%post -p /sbin/ldconfig 49 50%postun -p /sbin/ldconfig 51 52%files 53%defattr(-, root, root) 54%doc AUTHORS ChangeLog NEWS README COPYING TODO 55%{prefix}/bin/* 56%{prefix}/man/man1/3dsplayer.1 57%{prefix}/man/man1/3ds2m.1 58%{prefix}/man/man1/3dsdump.1 59 60