File fly.spec of Package fly

#
# spec file for package fly (Version 2.0.0_PNG)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           fly
BuildRequires:  freetype2-devel gd-devel libjpeg-devel libpng-devel xorg-x11 xorg-x11-devel
URL:            http://martin.gleeson.com/fly/
License:        Other License(s), see package
Group:          Productivity/Graphics/Visualization/Other
Autoreqprov:    on
Version:        2.0.0_PNG
Release:        591
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.



Authors:
--------
    Martin Gleeson <gleeson@unimelb.edu.au>

%prep
%setup -n %{name}-2.0.0
%patch
%patch1

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
install -m 755 fly $RPM_BUILD_ROOT%{_prefix}/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README examples doc
%{_prefix}/bin/fly

%changelog -n fly
* Tue Oct 31 2006 - meissner@suse.de
- use RPM_OPT_FLAGS
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Thu Oct 24 2002 - nadvornik@suse.cz
- added BuildRoot
* Fri Aug 16 2002 - ro@suse.de
- removed empty postinstall (#17837)
* Tue Apr 23 2002 - nadvornik@suse.cz
- fixed to compile on ppc
- removed needless freetype from neededforbuild
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Mon Dec 17 2001 - rvasice@suse.cz
- update to version 2.0.0
* Mon Sep 24 2001 - rvasice@suse.cz
- fix documentation GIF -> PNG
* Wed Aug 15 2001 - kukuk@suse.de
- Fix path to perl interpreter in examples
* Wed Mar 21 2001 - ro@suse.de
- added freetype2 to neededforbuild
* Thu Nov 16 2000 - ro@suse.de
- fixed to build with new shared gd-lib
* Wed Nov 15 2000 - ro@suse.de
- fixed neededforbuild gdlib -> gd gd-devel
* Thu Aug 24 2000 - ro@suse.de
- switched to current gdlib: produce PNG
* Thu Aug 24 2000 - ray@suse.de
- new package 1.6.5
openSUSE Build Service is sponsored by