2011-04-09 11:15:24 +00:00
|
|
|
#
|
2015-04-15 04:35:52 +00:00
|
|
|
# spec file for package perl-Image-Info
|
2011-04-09 11:15:24 +00:00
|
|
|
#
|
2023-08-08 15:11:02 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-04-09 11:15:24 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-23 10:12:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-09 11:15:24 +00:00
|
|
|
#
|
|
|
|
|
2015-04-15 04:35:52 +00:00
|
|
|
|
2022-10-04 18:47:50 +00:00
|
|
|
%define cpan_name Image-Info
|
2011-04-09 11:15:24 +00:00
|
|
|
Name: perl-Image-Info
|
2023-08-08 15:11:02 +00:00
|
|
|
Version: 1.440.0
|
2015-04-15 04:35:52 +00:00
|
|
|
Release: 0
|
2023-08-08 15:11:02 +00:00
|
|
|
%define cpan_version 1.44
|
2019-10-23 10:12:27 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-10-04 18:47:50 +00:00
|
|
|
Summary: Extract meta information from image files
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-08-08 15:11:02 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SR/SREZIC/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-20 16:47:19 +00:00
|
|
|
Source1: cpanspec.yml
|
2011-04-09 11:15:24 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2023-08-08 15:11:02 +00:00
|
|
|
Provides: perl(Bundle::Image::Info::Everything) = 0.02
|
|
|
|
Provides: perl(Bundle::Image::Info::PNG) = 0.02
|
|
|
|
Provides: perl(Bundle::Image::Info::SVG) = 0.02
|
|
|
|
Provides: perl(Bundle::Image::Info::XBM) = 0.02
|
|
|
|
Provides: perl(Bundle::Image::Info::XPM) = 0.02
|
|
|
|
Provides: perl(Image::Info) = 1.440.0
|
|
|
|
Provides: perl(Image::Info::AVIF) = 0.10.0
|
|
|
|
Provides: perl(Image::Info::BMP) = 1.04
|
|
|
|
Provides: perl(Image::Info::GIF) = 1.02
|
|
|
|
Provides: perl(Image::Info::ICO) = 0.02
|
|
|
|
Provides: perl(Image::Info::JPEG) = 0.06
|
|
|
|
Provides: perl(Image::Info::PNG) = 1.03
|
|
|
|
Provides: perl(Image::Info::PPM) = 0.04
|
|
|
|
Provides: perl(Image::Info::Result)
|
|
|
|
Provides: perl(Image::Info::SVG) = 2.04
|
|
|
|
Provides: perl(Image::Info::SVG::XMLLibXMLReader) = 1.05
|
|
|
|
Provides: perl(Image::Info::SVG::XMLSimple) = 1.05
|
|
|
|
Provides: perl(Image::Info::TIFF) = 0.05
|
|
|
|
Provides: perl(Image::Info::WBMP) = 0.01
|
|
|
|
Provides: perl(Image::Info::WEBP) = 0.01
|
|
|
|
Provides: perl(Image::Info::XBM) = 1.08
|
|
|
|
Provides: perl(Image::Info::XPM) = 1.09
|
|
|
|
Provides: perl(Image::TIFF) = 1.11
|
|
|
|
Provides: perl(Image::TIFF::Rational)
|
|
|
|
%define __perllib_provides /bin/true
|
2011-04-09 11:15:24 +00:00
|
|
|
Recommends: perl(Bundle::Image::Info::PNG)
|
|
|
|
Recommends: perl(Bundle::Image::Info::SVG)
|
|
|
|
Recommends: perl(Bundle::Image::Info::XBM)
|
|
|
|
Recommends: perl(Bundle::Image::Info::XPM)
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2017-03-26 08:29:31 +00:00
|
|
|
This module provides functions to extract various kinds of meta information
|
2011-04-09 11:15:24 +00:00
|
|
|
from image files.
|
|
|
|
|
|
|
|
%prep
|
2023-08-08 15:11:02 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2011-04-09 11:15:24 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-23 10:12:27 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2022-10-04 18:47:50 +00:00
|
|
|
%make_build
|
2011-04-09 11:15:24 +00:00
|
|
|
|
|
|
|
%check
|
2019-10-23 10:12:27 +00:00
|
|
|
make test
|
2011-04-09 11:15:24 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2015-04-15 04:35:52 +00:00
|
|
|
%doc CHANGES CREDITS exifdump imgdump README TODO
|
2011-04-09 11:15:24 +00:00
|
|
|
|
|
|
|
%changelog
|