File 3dto3d.spec of Package 3dto3d

#
# spec file for package 3dto3d (Version 3.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

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

# norootforbuild

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

%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.

Authors:
--------
    Thomas Baier <thbaier@ibm.net>

%prep
%setup -q
%patch0

%build
export RPM_OPT_FLAGS
make

%install
install -D -m 755 %{name} $RPM_BUILD_ROOT%{_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