2007-01-15 23:30:41 +00:00
|
|
|
#
|
2013-10-02 11:39:29 +00:00
|
|
|
# spec file for package perl-GDGraph
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
2013-10-02 11:39:29 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
2009-06-18 15:04:43 +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.
|
|
|
|
|
2007-04-26 22:32:45 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
|
|
|
|
2009-06-18 15:04:43 +00:00
|
|
|
|
2007-04-26 22:32:45 +00:00
|
|
|
Name: perl-GDGraph
|
2011-05-01 10:30:27 +00:00
|
|
|
%define cpan_name GDGraph
|
2013-10-02 11:39:29 +00:00
|
|
|
Version: 1.48
|
|
|
|
Release: 0
|
2007-04-26 22:32:45 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/GD/
|
2011-05-01 10:30:27 +00:00
|
|
|
Summary: Package to generate charts, using Lincoln Stein's GD.pm
|
2013-10-02 11:39:29 +00:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
BuildRequires: libtiff-devel
|
2011-05-01 10:30:27 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2013-10-02 11:39:29 +00:00
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
BuildRequires: perl(GD) >= 1.18
|
|
|
|
BuildRequires: perl(GD::Text) >= 0.80
|
2011-05-01 10:30:27 +00:00
|
|
|
Requires: perl(GD) >= 1.18
|
|
|
|
Requires: perl(GD::Text) >= 0.80
|
2013-10-02 11:39:29 +00:00
|
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
2011-05-01 10:30:27 +00:00
|
|
|
Patch: %{cpan_name}-trim_miter.diff
|
2007-04-26 22:32:45 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-01 10:30:27 +00:00
|
|
|
BuildArch: noarch
|
2010-12-05 20:54:40 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is GDGraph, a package to generate charts, using Lincoln Stein's
|
|
|
|
GD.pm. See the documentation for some history and more information.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2011-05-01 10:30:27 +00:00
|
|
|
%setup -n %{cpan_name}-%{version}
|
2007-01-15 23:30:41 +00:00
|
|
|
%patch -p1
|
|
|
|
|
|
|
|
%build
|
2011-05-01 10:30:27 +00:00
|
|
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%{__make} samples
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%install
|
2011-05-01 10:30:27 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:41 +00:00
|
|
|
%perl_process_packlist
|
2011-05-01 10:30:27 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2011-05-01 10:30:27 +00:00
|
|
|
%files -f %{name}.files
|
2007-01-15 23:30:41 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README*
|
|
|
|
|
2007-04-26 22:32:45 +00:00
|
|
|
%changelog
|