%define _use_internal_dependency_generator 0 Name: perl-GD Version: 2.15 Release: 0.ker.rhel3 Packager: Milan Kerslager Summary: Perl interface for GD graphics library. License: Distributable Group: Development/Libraries URL: http://search.cpan.org/search?mode=module&query=GD Source0: GD-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-root BuildRequires: perl >= 0:5.00503 BuildRequires: perl-Digest-HMAC, gd-devel >= 2.0.8 %description GD.pm is a Perl interface to Thomas Boutell's gd graphics library (version 2.01 or higher; see below). GD allows you to create color drawings using a large number of graphics primitives, and emit the drawings as PNG files. %prep %setup -q -n GD-%{version} %build echo | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT eval `perl '-V:installarchlib'` mkdir -p $RPM_BUILD_ROOT/$installarchlib make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; find $RPM_BUILD_ROOT/usr -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v perllocal.pod | \ grep -v "\.packlist" > GD-%{version}-filelist if [ "$(cat GD-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %files -f GD-%{version}-filelist %defattr(-,root,root) %changelog * Sat Jul 24 2004 Milan Kerslager 2.15-0.ker.rhel3 - build with the latest GD library (2.0.28) to bring back GIF support * Sat Jun 05 2004 Milan Kerslager 2.12-0.1.ker.rhel3 - updated to latest version * Fri Dec 19 2003 Milan Kerslager 2.11-1_WB3 - updated & rebuilded for WhiteBoxLinux.org 3.0 * Mon Apr 28 2003 Milan Kerslager 2.06-1 - initial version - version 2.07 does not compile - this version needs gd library 2.0.8 or later to build succesfully