Package perl-Image-Xbm: Specfile

%define dist Image-Xbm
Name: perl-%dist
Version: 1.08
Release: alt2

Summary: Load, create, manipulate and save xbm image files.
License: LGPL
Group: Development/Perl

URL: %CPAN %dist
Source: %dist-%version.tar.gz

Patch0: %name-1.08-cpan-7439-filehandle.patch
Patch1: %name-1.08-alt-perlio.patch
Patch2: %name-1.08-alt-no-gensym.patch

BuildArch: noarch

# Added by buildreq2 on Sat Apr 16 2005
BuildRequires: perl-Image-Base perl-devel

%description
This class module provides basic load, manipulate and save functionality
for the xbm file format. It inherits from Image::Base which provides
additional manipulation functionality.

%prep
%setup -q -n %dist-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%dir %perl_vendor_privlib/Image
%perl_vendor_privlib/Image/Xbm.pm

%changelog
* Sat Apr 16 2005 Alexey Tourbin <at@altlinux.ru> 1.08-alt2
- alt-perlio.patch: use PerlIO::scalar instead of IO::String
- alt-no-gensym.patch: use autovivification instead of Symbol::gensym

* Thu Dec 16 2004 Alexey Tourbin <at@altlinux.ru> 1.08-alt1.1
- allow new() to accept filehandles (patch from cpan #7439)

* Thu Dec 16 2004 Alexey Tourbin <at@altlinux.ru> 1.08-alt1
- initial revision
- license: LGPL