/[packages]/cauldron/perl-Imager/current/SPECS/perl-Imager.spec
ViewVC logotype

Contents of /cauldron/perl-Imager/current/SPECS/perl-Imager.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 145243 - (show annotations) (download)
Mon Sep 19 01:30:53 2011 UTC (9 years, 7 months ago) by fwang
File size: 1413 byte(s)
rebuild for new libpng
1 %define upstream_name Imager
2 %define upstream_version 0.85
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 3
7
8 Summary: Perl extension for generating 24 bit images
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/Imager/%{upstream_name}-%{upstream_version}.tar.gz
13 Patch0: Imager-0.85-format_security.patch
14
15 BuildRequires: perl(ExtUtils::MakeMaker)
16 BuildRequires: perl(Test::More) >= 0.470.0
17 BuildRequires: fontconfig-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libpng-devel
20 BuildRequires: libtiff-devel
21 BuildRequires: perl-devel
22 BuildRequires: t1lib-devel
23 BuildRequires: ungif-devel
24
25 %description
26 Imager is a module for creating and altering images. It can read and write
27 various image formats, draw primitive shapes like lines,and polygons, blend
28 multiple images together in various ways, scale, crop, render text and more.
29
30 %prep
31 %setup -q -n %{upstream_name}-%{upstream_version}
32 %patch0 -p2 -b .fmt_security
33
34 %build
35 IM_SUPPRESS_PROMPT=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
36 %make
37
38 %check
39 make test
40
41 %install
42 rm -rf %{buildroot}
43 %makeinstall_std
44
45 %files
46 %doc Changes GIF ICO JPEG META.yml PNG README SGI TIFF samples
47 %{perl_vendorarch}/Imager.pm
48 %{perl_vendorarch}/Imager
49 %{perl_vendorarch}/auto/Imager
50 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.28