Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > d71384436da95e2987396a9512a1b08a > files > 2

quat-1.20-4mdk.src.rpm

%define name quat
%define version 1.20
%define release 4mdk

Summary:	Generation of 3d fractal objects.
Name:		%name
Version:	%version
Release:	%release
Source0:	%{name}-%{version}.tar.bz2
Url:		http://www.physcip.uni-stuttgart.de/phy11733/quat_e.html
Group: 		Graphics
License:	GPL
BuildRequires:	libfltk-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
Quat is a program for generation of 3d fractal objects. 
These objects are Julia sets using quaternions. Features 
include calculation of usual images and stereo pair images 
for real 3d views, a user-specified true color palette for 
flexible coloring, 5 iteration formulas, and intersection 
planes to view the interior of the three-dimensional fractal. 

A text mode version for batch calculation is also available. 

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build

perl -pi -e 's,\`\$FLTK --exec-prefix\`,%{_prefix},' configure
%configure

%make

%install

%makeinstall

rm $RPM_BUILD_ROOT/%_datadir/%name.iss

mkdir -p $RPM_BUILD_ROOT%{_libdir}/menu
cat > $RPM_BUILD_ROOT%{_libdir}/menu/%{name} <<EOF
?package(%{name}): command="quat" title="Quat" longtitle="Generate 3D fractal objects" needs="x11" icon="other_sciences.png" section="More applications/Sciences/Other"
EOF

%clean
rm -fr $RPM_BUILD_ROOT

%post
%update_menus

%postun
%update_menus

%files
%defattr(-,root,root)
%doc COPYING INSTALL 
%_bindir/*
%_datadir/%name
%_menudir/*

%changelog
* Fri Jul 09 2004 Michael Scherer <misc@mandrake.org> 1.20-4mdk 
- rebuild for new gcc

* Tue May 11 2004 Olivier Blin <blino@mandrake.org> 1.20-3mdk
- add clean section
- fix menu section
- fix configure script, fltk-config doesn't support --exec-prefix anymore
- fix menu (it made update-menus segfault, bug #9736)
- quiet setup

* Sun Feb 02 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.20-2mdk
- rebuild

* Tue Nov 26 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.20-1mdk
- new