File perl-GDTextUtil.spec of Package perl-GDTextUtil

# spec file for package perl-GDTextUtil (Version 0.86)
# Copyright (c) 2007 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

# norootforbuild

Name:           perl-GDTextUtil
BuildRequires:  libjpeg-devel perl-GD xorg-x11-devel
Version:        0.86
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
Summary:        text utilities for use with the GD drawing package
Source:         GDTextUtil-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package provides three modules that make it possible to work with
internal GD fonts as well as TrueType fonts, without having to worry
about different interface functions to call. Apart from an abstract
interface to all font types and strings for GD, this library also
provides some utility in aligning and wrapping your string.

    Martien Verbruggen <>

%setup -q -n GDTextUtil-%{version}

perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make test
make demo

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%defattr(-, root, root)
%doc README*
%doc %{_mandir}/man?/*

* Fri Dec 14 2007 -
- update to 0.86
  * Fixed check for TTF font support. The libgd error message changed
  between 1.8 and 2.0
* Wed Jan 25 2006 -
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 -
- add norootforbuild
* Thu Jul 29 2004 -
- update to 0.86
* Thu Sep 25 2003 -
- created package version 0.85