2007-01-15 23:12:39 +00:00
|
|
|
#
|
2011-10-05 14:52:49 +00:00
|
|
|
# spec file for package fly
|
2007-01-15 23:12:39 +00:00
|
|
|
#
|
2024-02-22 08:18:33 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:12:39 +00:00
|
|
|
#
|
2009-06-17 17:33:05 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2024-02-22 08:18:33 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:12:39 +00:00
|
|
|
#
|
|
|
|
|
|
2011-10-05 14:52:49 +00:00
|
|
|
|
2007-01-15 23:12:39 +00:00
|
|
|
Name: fly
|
2017-10-09 11:50:14 +00:00
|
|
|
Version: 2.0.1
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: A Script to Create PNGs
|
2012-05-29 20:22:34 +00:00
|
|
|
License: SUSE-Permissive
|
2007-01-15 23:12:39 +00:00
|
|
|
Group: Productivity/Graphics/Visualization/Other
|
2024-02-22 08:18:33 +00:00
|
|
|
URL: http://martin.gleeson.com/fly/
|
2018-03-13 16:14:14 +00:00
|
|
|
# Mirror is used since martin gleeson (master site) rejects robot requests
|
|
|
|
|
Source: http://www.w3perl.com/fly/dist/%{name}-%{version}.tar.gz
|
2007-01-15 23:12:39 +00:00
|
|
|
Patch1: fly-2.0.0-gif.patch
|
2017-10-09 11:50:14 +00:00
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
BuildRequires: gd-devel
|
2007-01-15 23:12:39 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Fly allows you to create images with script statements. It uses gdlib.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-02-22 08:18:33 +00:00
|
|
|
%autosetup -p0
|
2017-10-09 11:50:14 +00:00
|
|
|
# Gifs are not supported
|
|
|
|
|
rm -fr examples/gif
|
|
|
|
|
|
|
|
|
|
# Duplicate file in source
|
|
|
|
|
rm -f examples/jpeg/small-end.fly
|
|
|
|
|
|
|
|
|
|
# Use unix line endings
|
|
|
|
|
dos2unix README examples/{jpeg,png,perl}/* examples/example.csh
|
2007-01-15 23:12:39 +00:00
|
|
|
|
|
|
|
|
%build
|
2018-03-13 15:51:41 +00:00
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}" CC="gcc" LIBS="-lgd"
|
2007-01-15 23:12:39 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-10-09 11:50:14 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
|
install -m 755 fly %{buildroot}%{_bindir}
|
2007-01-15 23:12:39 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README examples doc
|
2017-10-09 11:50:14 +00:00
|
|
|
%{_bindir}/fly
|
2007-01-15 23:12:39 +00:00
|
|
|
|
2009-06-17 17:33:05 +00:00
|
|
|
%changelog
|