File 3dto3d.spec of Package 3dto3d

#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           3dto3d
Version:        3.5
Release:        62
License:        Beerware, Cardware, Shareware (not restricted)
Summary:        Converter for Several 3-Dimensional Object File Formats
Url:            http://www.tb-software.com/
Group:          Productivity/Graphics/Convertors
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}.patch
BuildRequires:  gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
3dto3d is a command-line tool able to convert objects in 3D Studio,
Imagine Object, LightWave Object, AutoCad Object, Povray Binary, and
WaveFront formats to Moray/Povray, Moray/Polyray, 3DStudio, HighLight,
Real3D Macro, 3D Studio Binary, Moray/Povray (Wire), Moray/Povray (Blob
Wire), Imagine Object, RenderWare Object, VRML Object, DXF Object,
Lightwave Object, Direct X (Microsoft), Real3D Object, OpenGL C source,
or WaveFront format.

%prep
%setup -q
%patch0

%build
export RPM_OPT_FLAGS
make

%install
install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name}
chmod 644 readme.txt chess.raw

%files
%defattr(-,root,root)
%doc readme.txt chess.raw
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by