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
|
|
|
#
|
2022-10-04 18:47:50 +00:00
|
|
|
# Copyright (c) 2022 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
|
2022-10-04 18:47:50 +00:00
|
|
|
Version: 1.43
|
2015-04-15 04:35:52 +00:00
|
|
|
Release: 0
|
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}
|
2017-03-26 08:29:31 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SR/SREZIC/%{cpan_name}-%{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
|
|
|
|
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
|
2022-10-04 18:47:50 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -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
|