File fly.spec of Package fly
#
# spec file for package fly
#
# Copyright (c) 2011 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/
#
Name: fly
BuildRequires: freetype2-devel gd-devel libjpeg-devel libpng-devel xorg-x11 xorg-x11-devel
Url: http://martin.gleeson.com/fly/
License: SUSE-Permissive
Group: Productivity/Graphics/Visualization/Other
Version: 2.0.0_PNG
Release: 773
Summary: A Script to Create PNGs
Source: fly-2.0.0.tar.gz
Patch: fly-2.0.0-libs.patch
Patch1: fly-2.0.0-gif.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Fly allows you to create images with script statements. It uses gdlib.
%prep
%setup -n %{name}-2.0.0
%patch
%patch1
%build
make CFLAGS="$RPM_OPT_FLAGS" CC="%__cc"
%install
mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
install -m 755 fly $RPM_BUILD_ROOT%{_prefix}/bin
%files
%defattr(-,root,root)
%doc README examples doc
%{_prefix}/bin/fly
%changelog