Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > contrib-release-src > by-pkgid > 198abf0feabace2213c142ce1e2edca2 > files > 2

white_dune-0.28-0.pl11.1mdk.src.rpm

%define name white_dune
%define version 0.28
%define realvers 0.28pl11
%define release 0.pl11.1mdk

Name:		%{name}
Summary:	A graphical VRML97 editor and animation tool
Version:	%{version}
Release:	%{release}
Source:		%{name}-%{realvers}.tar.bz2
Patch0:		white_dune_missing_includes.patch.bz2
Group:		Graphics
BuildRequires:	jpeg-devel
BuildRequires:	png-devel
BuildRequires:	bison
BuildRequires:	flex
Buildrequires:	lesstif-devel
BuildRequires:	libMesaGLU-devel
URL:		http://www.csv.ica.uni-stuttgart.de/vrml/dune
BuildRoot:	%{_tmppath}/%{name}-buildroot
License:	GPL

%description
The dune program is a graphical VRML97 editor and animation tool.
VRML97 (Virtual Reality Modelling Language) is the ISO standard for
displaying 3D data over the web. It has support for animation, realtime
interaction and multimedia (image, movie, sound). VRML97 can be written
by popular programs like maya, catia, 3D Studio MAX, cinema4D and others.
Dune can read VRML97 files, display and let the user change the
scenegraph/fields. Some documentation how to use dune is included.
Beside some support for the VRML200x style nurbs node, dune has only a few
3D Modelling features. For artistic work, the usage of a static 3D modeller
with VRML97 export features is recommended. Examples for free/lowcost static
3D modellers available under Linux are sced, ppmodeler or ac3d.
Dune can load and store x3d (next generation VRML xml format) files,
if configured to work with the nist.gov x3d translators.
Advanced features of dune like the usage of 3Drevelator shutterglases with
the commercial Linux XIG X11 Server (DX/platium) require recompilation of
the source package.

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q -n %{name}-%{realvers}

%patch0 -p 1

%build

%configure --with-optimization --with-buginlesstif

rm Makefile
cd src && make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install

mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1

install -s -m 755 bin/dune $RPM_BUILD_ROOT/usr/X11R6/bin/dune
install -m 644 man/dune.1 $RPM_BUILD_ROOT%{_mandir}/man1/dune.1


#menu
(cd $RPM_BUILD_ROOT
mkdir -p ./usr/lib/menu
cat > ./usr/lib/menu/%{name} <<EOF
?package(%{name}):\
command="/usr/X11R6/bin/dune"\
title="White Dune"\
longtitle="VRML 97 Editor"\
needs="x11"\
icon="graphics_section.png"\
section="Multimedia/Graphics"
EOF
)

%post
%update_menus

%postun
%clean_menus


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc docs
/usr/X11R6/bin/dune
%_mandir/man1/*
%_menudir/*

%changelog
* Tue Jan 04 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.28-0.pl11.1mdk
- 0.28pl11

* Mon Dec 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.28-0.pl8.1mdk
- 0.28pl8

* Tue Dec 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.28-0.pl7.1mdk
- 0.28pl7

* Tue Nov 30 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.28-0.pl4.1mdk
- 0.28pl4

* Mon Nov 22 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.28-0.pl1.1mdk
- 0.28pl1

* Thu Jun 17 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.26-0.pl5.2mdk
- patch0: add missing includes

* Sat Dec 20 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.26-0.pl5.1mdk
- 0.26pl5

* Sun Dec 07 2003 Franck Villaume <fvill@freesurf.fr> 0.26-0.pl4.2mdk
- add libMesaGLU1-devel as BuildRequires
 
* Sat Dec 06 2003 Franck Villaume <fvill@freesurf.fr> 0.26-0.pl4.1mdk
- updated to 0.26pl4 stable version
- clean up a little bit the spec file
- add some BuildRequires

* Mon Jul 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.24-0.pl3.1mdk
- updated to 0.24pl3 stable version

* Thu May 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.23-0.pl6.1mdk
- updated to 0.23pl6 stable version

* Wed May 07 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.22-0.beta98.1mdk
- beta98

* Tue May 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.22-0.beta51.2mdk
- buildrequires

* Tue Apr 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.22-0.beta51.1mdk
- 0.22-0.beta51.1mdk

* Tue Mar 25 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.22-0.beta45.1mdk
- 0.22beta45

* Thu Mar 20 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.22-0.beta39.1mdk
- 0.22beta39

* Mon Feb 17 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.21-0.pl3.1mdk
- updated to 0.21pl3

* Tue Feb 11 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.20-0.beta196-1mdk
- 0.20-0.beta196

* Thu Feb 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.20-0.beta186.1mdk
- 0.20beta186

* Fri Jan 17 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.20-0.beta167.1mdk
- 0.20beta167

* Tue Jan 07 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.20-0.beta160.1mdk
- 0.20beta160

* Tue Dec 03 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.20-0.beta122.1mdk
- 0.20beta122

* Sun Sep 22 2002 Chris De Maeyer <ceppe@pandora.be> 0.20-0.beta51.1mdk
- 0.20beta51 release

* Tue Sep 3 2002 Chris De Maeyer <ceppe@pandora.be> 0.20-0.beta35.1mdk
- 0.20beta35 release

* Mon Aug 26 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.20-0.beta27.1mdk
- icon
- from Chris De Maeyer <ceppe@pandora.be> :
	- 0.20beta27 release