|
|
|
@ -1,20 +1,22 @@
|
|
|
|
|
%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
|
|
|
|
|
|
|
|
|
|
Name: perl-GD
|
|
|
|
|
Version: 2.12
|
|
|
|
|
Release: 0.fdr.3.2
|
|
|
|
|
Version: 2.19
|
|
|
|
|
Release: 1
|
|
|
|
|
Epoch: 0
|
|
|
|
|
Summary: Perl interface to the GD graphics library
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/GD/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-2.12.tar.gz
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-2.19.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl >= 1:5.6.1
|
|
|
|
|
BuildRequires: gd-devel >= 0:2.0.12, libpng-devel, libjpeg-devel,
|
|
|
|
|
BuildRequires: freetype-devel, XFree86-devel
|
|
|
|
|
BuildRequires: gd-devel >= 0:2.0.28
|
|
|
|
|
BuildRequires: %{_bindir}/gdlib-config
|
|
|
|
|
BuildRequires: libpng-devel, libjpeg-devel, freetype-devel, XFree86-devel
|
|
|
|
|
Requires: gd >= 0:2.0.28
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -31,8 +33,7 @@ chmod 644 bdf_scripts/* demos/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor </dev/null
|
|
|
|
|
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -56,16 +57,23 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog README README.QUICKDRAW demos/ bdf_scripts/
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorarch}/auto/GD
|
|
|
|
|
%{perl_vendorarch}/GD*
|
|
|
|
|
%{perl_vendorarch}/qd.pl
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 09 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.19-1
|
|
|
|
|
- Update to 2.19.
|
|
|
|
|
- GIF support has been restored in gd 2.0.28.
|
|
|
|
|
- Module autoconfigures itself with the gdlib-config program.
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.3
|
|
|
|
|
- Avoid RPATH problem in FC1 (bug 1756).
|
|
|
|
|
- Replaced hardcoded value by rpmmacro (%{__perl}) (bug 1756).
|
|
|
|
|
- Replaced hardcoded value by rpmmacro (%%{__perl}) (bug 1756).
|
|
|
|
|
|
|
|
|
|
* Mon Jun 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.2
|
|
|
|
|
- Bring up to date with current fedora.us perl spec template.
|
|
|
|
|