|
|
|
@ -12,13 +12,14 @@ Patch1: perl-GD-skip-3.patch
|
|
|
|
|
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
|
|
|
|
|
# and https://rt.cpan.org/Public/Bug/Display.html?id=67990
|
|
|
|
|
Patch2: perl-GD-ccflags.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: gd-devel >= 2.0.28
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
Requires: gd >= 2.0.28
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a autoloadable interface module for GD, a popular library
|
|
|
|
|
for creating and manipulating PNG files. With this library you can
|
|
|
|
@ -44,7 +45,6 @@ make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
@ -65,12 +65,7 @@ base64 t/test.out.3.png_new
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog README README.QUICKDRAW demos/
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorarch}/auto/GD
|
|
|
|
@ -84,6 +79,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
* Sat Jun 18 2011 Iain Arnell <iarnell@gmail.com> 2.44-8
|
|
|
|
|
- patch to avoid issue with ExtUtils::MakeMaker and CCFLAGS
|
|
|
|
|
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
- use perl_default_filter
|
|
|
|
|
|
|
|
|
|
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.44-7
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|