File f4l.spec of Package f4l
#
# spec file for package f4l (Version 0.2.1)
#
# Copyright 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
#
# 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.
Name:           f4l
BuildRequires:  qt3-devel update-desktop-files
License:        GPL-2.0
Group:          Productivity/Graphics/Vector Editors
Summary:        Flash Development Environment
Version:        0.2.1
Release:        20
URL:            http://f4l.sourceforge.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-0.2cvs.tar.bz2
Source1:        f4l.png
Patch1:         f4l-0.2.1-gcc43.patch
Patch2:         f4l-0.2.1-no-return-in-nonvoid-function.patch
Patch3:         f4l-0.2.1-no_copy_dt_needed_default.patch
%description
F4L is an open source development environment for Macromedia Flash,
a multi-platform format(swf/svg) widely used for web applications
and vector animation. Basically, you can make interactive eye candy
for your web site or any other purpose.
%prep 
%setup -q -n %{name}-0.2cvs
%patch1
%patch2
%patch3
%build
export PATH=/usr/lib/qt3/bin/:$PATH
qmake
make 
%install
%__install -d $RPM_BUILD_ROOT/usr/bin/
%__install -m 0755 bin/f4l $RPM_BUILD_ROOT/usr/bin/
%__install -d $RPM_BUILD_ROOT/usr/share/pixmaps
%__cp %{S:1} $RPM_BUILD_ROOT/usr/share/pixmaps
%suse_update_desktop_file -c %name F4L "A Flash/SWF Editor" f4l f4l Graphics VectorGraphics
%files
%defattr(-,root,root)
/usr/bin/f4l
/usr/share/applications/*
/usr/share/pixmaps/f4l.png