|
|
1636e6f |
# Run optional tests
|
|
|
1636e6f |
%{bcond_without perl_Graphics_TIFF_enables_optional_test}
|
|
|
1636e6f |
|
|
|
1636e6f |
Name: perl-Graphics-TIFF
|
|
|
1276882 |
Version: 6
|
|
|
e61f249 |
Release: 4%{?dist}
|
|
|
1636e6f |
Summary: Perl extension for the LibTIFF library
|
|
|
1636e6f |
License: GPL+ or Artistic
|
|
|
7537cf2 |
URL: https://metacpan.org/release/Graphics-TIFF
|
|
|
7537cf2 |
Source0: https://cpan.metacpan.org/authors/id/R/RA/RATCLIFFE/Graphics-TIFF-%{version}.tar.gz
|
|
|
1636e6f |
BuildRequires: findutils
|
|
|
1636e6f |
BuildRequires: gcc
|
|
|
1636e6f |
BuildRequires: make
|
|
|
1636e6f |
BuildRequires: perl-devel
|
|
|
1636e6f |
BuildRequires: perl-generators
|
|
|
1636e6f |
BuildRequires: perl-interpreter
|
|
|
1636e6f |
BuildRequires: perl(:VERSION) >= 5.8.5
|
|
|
1636e6f |
BuildRequires: perl(English)
|
|
|
1636e6f |
BuildRequires: perl(ExtUtils::Depends)
|
|
|
1636e6f |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
1636e6f |
BuildRequires: perl(ExtUtils::PkgConfig)
|
|
|
1636e6f |
BuildRequires: perl(strict)
|
|
|
1636e6f |
BuildRequires: perl(warnings)
|
|
|
1636e6f |
BuildRequires: pkgconfig(libtiff-4) >= 4.0.3
|
|
|
1636e6f |
# Run-time:
|
|
|
1636e6f |
BuildRequires: perl(base)
|
|
|
1636e6f |
BuildRequires: perl(Exporter)
|
|
|
1636e6f |
BuildRequires: perl(Readonly)
|
|
|
1636e6f |
BuildRequires: perl(XSLoader)
|
|
|
1636e6f |
# Tests:
|
|
|
1636e6f |
BuildRequires: perl(File::Spec)
|
|
|
1636e6f |
BuildRequires: perl(Test::Deep)
|
|
|
1636e6f |
BuildRequires: perl(Test::More)
|
|
|
1636e6f |
BuildRequires: perl(Test::Requires)
|
|
|
1636e6f |
%if %{with perl_Graphics_TIFF_enables_optional_test}
|
|
|
1636e6f |
# Optional tests:
|
|
|
299174f |
BuildRequires: coreutils
|
|
|
299174f |
BuildRequires: grep
|
|
|
299174f |
# libtiff-tools for tiffcp, tiff2pdf, tiffinfo
|
|
|
1636e6f |
BuildRequires: libtiff-tools
|
|
|
299174f |
BuildRequires: perl(:VERSION) >= 5.10
|
|
|
299174f |
BuildRequires: perl(feature)
|
|
|
299174f |
BuildRequires: perl(if)
|
|
|
299174f |
BuildRequires: perl(Image::Magick)
|
|
|
1636e6f |
# Test::Perl::Critic not used
|
|
|
299174f |
BuildRequires: util-linux
|
|
|
299174f |
BuildRequires: which
|
|
|
1636e6f |
%endif
|
|
|
1636e6f |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
1636e6f |
|
|
|
1636e6f |
%description
|
|
|
1636e6f |
The Graphics::TIFF module allows a Perl developer to access TIFF images using
|
|
|
1636e6f |
LibTIFF library in a Perlish and object-oriented way.
|
|
|
1636e6f |
|
|
|
1636e6f |
%prep
|
|
|
1636e6f |
%setup -q -n Graphics-TIFF-%{version}
|
|
|
1636e6f |
|
|
|
1636e6f |
%build
|
|
|
1636e6f |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
1636e6f |
make %{?_smp_mflags}
|
|
|
1636e6f |
|
|
|
1636e6f |
%install
|
|
|
1636e6f |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
1636e6f |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
1636e6f |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
1636e6f |
|
|
|
1636e6f |
%check
|
|
|
1636e6f |
make test
|
|
|
1636e6f |
|
|
|
1636e6f |
%files
|
|
|
299174f |
%doc Changes examples README
|
|
|
1636e6f |
%{perl_vendorarch}/auto/*
|
|
|
1636e6f |
%{perl_vendorarch}/Graphics*
|
|
|
1636e6f |
%{_mandir}/man3/*
|
|
|
1636e6f |
|
|
|
1636e6f |
%changelog
|
|
|
e61f249 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6-4
|
|
|
e61f249 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e61f249 |
|
|
|
14c574c |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6-3
|
|
|
14c574c |
- Perl 5.28 rebuild
|
|
|
14c574c |
|
|
|
86ca34e |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
|
|
|
86ca34e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
86ca34e |
|
|
|
1276882 |
* Thu Aug 10 2017 Petr Pisar <ppisar@redhat.com> - 6-1
|
|
|
1276882 |
- Version 6 bump
|
|
|
1276882 |
|
|
|
299174f |
* Tue Aug 01 2017 Petr Pisar <ppisar@redhat.com> - 5-1
|
|
|
299174f |
- Version 5 bump
|
|
|
299174f |
|
|
|
1636e6f |
* Fri Jul 28 2017 Petr Pisar <ppisar@redhat.com> 4-1
|
|
|
1636e6f |
- Specfile autogenerated by cpanspec 1.78.
|