/[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 2056892 - (show annotations) (download)
Sat Apr 13 15:53:12 2024 UTC (2 days, 18 hours ago) by tv
File size: 1853 byte(s)
update to 1.024
1 %define upstream_name Imager
2 %define upstream_version 1.024
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1.1
7
8 Summary: Perl extension for generating 24 bit images
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: https://metacpan.org/release/%{upstream_name}
12 Source0: https://cpan.metacpan.org/modules/by-module/Imager/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(Exporter) >= 5.570.0
15 BuildRequires: perl(ExtUtils::MakeMaker)
16 BuildRequires: perl(Scalar::Util) >= 1.0.0
17 BuildRequires: perl(Test::More) >= 0.990.0
18 BuildRequires: perl(XSLoader)
19 BuildRequires: pkgconfig(fontconfig)
20 BuildRequires: pkgconfig(libjpeg)
21 BuildRequires: pkgconfig(libpng)
22 BuildRequires: pkgconfig(libtiff-4)
23 BuildRequires: perl-devel
24 BuildRequires: t1lib-devel
25 # (tv) testsuite is broken with giflib-5.x:
26 # (https://bugzilla.redhat.com/show_bug.cgi?id=822844)
27 BuildConflicts: giflib-devel
28
29 %{?perl_default_filter}
30
31 # Imager-1.020 disabled Imager::Font::T1 and Freetype 1.x fonts by default
32 # Installing Imager no longer installs Imager::Font::T1 by default.
33 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Imager::Font::T1\\)
34
35 %description
36 Imager is a module for creating and altering images. It can read and write
37 various image formats, draw primitive shapes like lines,and polygons, blend
38 multiple images together in various ways, scale, crop, render text and more.
39
40 %prep
41 %setup -q -n %{upstream_name}-%{upstream_version}
42
43 %build
44 IM_SUPPRESS_PROMPT=1 %__perl Makefile.PL INSTALLDIRS=vendor
45 %make_build
46
47 %check
48 make test
49
50 %install
51 %make_install
52
53 %files
54 %doc Changes GIF ICO JPEG META.json META.yml MYMETA.yml PNG README SGI TIFF samples
55 %{perl_vendorarch}/Imager.pm
56 %{perl_vendorarch}/Imager
57 %{perl_vendorarch}/auto/Imager
58 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30