BR Inline, Test::Pod, and Test::Pod::Coverage perl modules and rgb (for

rgb.txt) for better test coverage. Fix path to rgb.txt in
    lib/Imager/Color.pm and t/t15color.t.
f38
Steven Pritchard 18 years ago
parent 4f4f05daf8
commit b4b16b7d4f

@ -1,6 +1,6 @@
Name: perl-Imager Name: perl-Imager
Version: 0.56 Version: 0.56
Release: 1%{?dist} Release: 2%{?dist}
Summary: Perl extension for Generating 24 bit Images Summary: Perl extension for Generating 24 bit Images
License: GPL or Artistic License: GPL or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -10,12 +10,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(ExtUtils::Depends)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(Parse::RecDescent)
BuildRequires: perl(Inline)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: freetype-devel BuildRequires: freetype-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libungif-devel BuildRequires: libungif-devel
BuildRequires: t1lib-devel BuildRequires: t1lib-devel
BuildRequires: rgb
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -36,6 +40,10 @@ find . -type f -name '*.pm' \
-exec perl -pi -e '$_=undef if ($.==1 and /^\#\!.*perl/)' {} \; -exec perl -pi -e '$_=undef if ($.==1 and /^\#\!.*perl/)' {} \;
chmod a-x samples/* chmod a-x samples/*
# Fix path to rgb.txt.
%{__perl} -pi -e 's,/usr/lib/X11/,/usr/share/X11/,' \
lib/Imager/Color.pm t/t15color.t
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags} make %{?_smp_mflags}
@ -66,6 +74,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 0.56-2
- BR Inline, Test::Pod, and Test::Pod::Coverage perl modules and rgb
(for rgb.txt) for better test coverage.
- Fix path to rgb.txt in lib/Imager/Color.pm and t/t15color.t.
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 0.56-1 * Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 0.56-1
- Update to 0.56. - Update to 0.56.
- BR ExtUtils::MakeMaker. - BR ExtUtils::MakeMaker.

Loading…
Cancel
Save