|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-GD
|
|
|
|
|
Version: 2.35
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Perl interface to the GD graphics library
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -9,7 +9,6 @@ URL: http://search.cpan.org/dist/GD/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl >= 1:5.6.1
|
|
|
|
|
BuildRequires: gd-devel >= 2.0.28
|
|
|
|
|
BuildRequires: %{_bindir}/gdlib-config
|
|
|
|
|
BuildRequires: libpng-devel, libjpeg-devel, freetype-devel
|
|
|
|
@ -27,8 +26,8 @@ create PNG images on the fly or modify existing files.
|
|
|
|
|
%setup -q -n GD-%{version}
|
|
|
|
|
%{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
|
|
|
|
|
qd.pl demos/{*.{pl,cgi},truetype_test}
|
|
|
|
|
chmod -v 644 bdf_scripts/* demos/*
|
|
|
|
|
chmod -v 755 qd.pl
|
|
|
|
|
chmod -c 644 bdf_scripts/* demos/*
|
|
|
|
|
chmod -c 755 qd.pl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -48,6 +47,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
# Remove duplicate file
|
|
|
|
|
rm bdf_scripts/bdf2gdfont.PLS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-2
|
|
|
|
|
- Removed a duplicate file (bdf_scripts/bdf2gdfont.PLS).
|
|
|
|
|
|
|
|
|
|
* Tue Sep 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-1
|
|
|
|
|
- Update to 2.35.
|
|
|
|
|
|
|
|
|
|