File fly.spec of Package fly

#
# spec file for package fly (Version 2.0.0_PNG)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           fly
BuildRequires:  freetype2-devel gd-devel libjpeg-devel libpng-devel xorg-x11 xorg-x11-devel
Url:            http://martin.gleeson.com/fly/
License:        Any permissive
Group:          Productivity/Graphics/Visualization/Other
AutoReqProv:    on
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.



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
* 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