File kde3-fraqtive.spec of Package kde3-fraqtive

#
# spec file for package fraqtive
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild

Name:           kde3-fraqtive
Summary:        Program for drawing Mandelbrot and Julia fractals
License:        GPL-2.0-or-later
Group:          System/GUI/KDE 
Url:            http://fraqtive.mimec.org/
Version:        0.3.1
Release:        1.1
BuildRequires:  kdelibs3-devel kdesdk3 kdesdk3-translate
%if %suse_version < 1010
BuildRequires:  kdelibs3-doc
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        fraqtive-%version.tar.bz2
Source1:        fraqtive.desktop
%define         kdedir /opt/kde3

%description
Fraqtive is a program for drawing Mandelbrot and Julia fractals. 

It uses a very fast algorithm and generates high quality, smooth images. 
It is fully interactive, allowing for real-time mouse navigation and 
dynamic generation of the Julia fractal preview. 

OpenGL-rendered 3D view of the fractals is also supported.

Author:
-------
    Michał Męciński.


%prep 
%setup -q -n fraqtive-%{version}
. /etc/opt/kde3/common_options
update_admin

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final 
make %{?jobs:-j %jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=${RPM_BUILD_ROOT} install
rm -rf %buildroot%kdedir/share/applications/kde
install -m644 -D %{SOURCE1} %buildroot%kdedir/share/applications/kde/fraqtive.desktop
%find_lang fraqtive

%clean
rm -rf ${RPM_BUILD_ROOT}

%files -f fraqtive.lang
%defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING TODO
%kdedir/bin/fraqtive
%kdedir/share/apps/fraqtive
%kdedir/share/config/fraqtiverc
%kdedir/share/icons/??color
# %kdedir/share/mimelnk/*/*
%kdedir/share/appl*/*/fraqtive.desktop

%changelog
* Mon Dec  3 2007 lars@linux-schulserver.de
- initial version 0.3.1
openSUSE Build Service is sponsored by