File perl-Image-Base-Imlib2.spec of Package perl-Image-Base-Imlib2
#
# spec file for package perl-Image-Base-Imlib2
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Image-Base-Imlib2
Version: 1
Release: 0
%define cpan_name Image-Base-Imlib2
Summary: Image::Base on files using Image::Imlib2.
License: GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Image-Base-Imlib2/
Source: http://www.cpan.org/authors/id/K/KR/KRYDE/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Image::Base)
BuildRequires: perl(Image::Imlib2)
#BuildRequires: perl(Devel::FindRef)
#BuildRequires: perl(Devel::StackTrace)
#BuildRequires: perl(File::Slurp)
#BuildRequires: perl(Image::Base::Imlib2)
#BuildRequires: perl(MyMakeMakerExtras)
#BuildRequires: perl(MyTestHelpers)
#BuildRequires: perl(MyTestImageBase)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(Smart::Comments)
#BuildRequires: perl(Test::ConsistentVersion)
#BuildRequires: perl(Test::DistManifest)
#BuildRequires: perl(YAML)
#BuildRequires: perl(YAML::Syck)
#BuildRequires: perl(YAML::Tiny)
#BuildRequires: perl(YAML::XS)
Requires: perl(Image::Base)
Requires: perl(Image::Imlib2)
%{perl_requires}
%description
'Image::Base::Imlib2' extends 'Image::Base' to create or update image files
using the 'Image::Imlib2' module.
The following file formats are available, as of Imlib2 1.4.4, provided
Imlib2 was built with necessary supporting libraries (such as 'libpng').
PNG, JPEG, TIFF, PNM, BMP
GIF read-only
XPM read-only
TGA Targa
LBM Amiga Paint, read-only
ARGB raw something format (?)
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes COPYING
%changelog