%define module_name Barcode-Code128Name:perl-%module_name
Version:2.01
Release:alt3.1
Packager:VictorForsyuk<force@altlinux.org>
Summary:GenerateCODE128barcodes
License:PublicDomain
Group:Development/Perl
Url:%CPAN%module_name
Source:http://www.cpan.org/modules/by-module/Barcode/%module_name-%version.tar.gz
# Author thinks that gif no more supported by libgd and perl GD module.# But this is not true.Patch1:Barcode-Code128-2.01-creategif.patch
BuildArch:noarch
# Automatically added by buildreq on Fri Jan 15 2010BuildRequires:perl-GDperl-devel
%descriptionBarcode::Code128generatesbarcodesusingtheCODE128symbology.Itcan
generateimagesinPNGorGIFformatusingtheGDpackage,oritcangenerate
atextstringrepresentingthebarcodethatyoucanrenderusingsomeother
technologyifdesired.
%prep%setup-n%module_name-%version
%patch1-p1
# From PLD spec:# module generates correct image, but a bit different to# the one included in the distribution and compared withmvt/png.t{,.broken}
# The same correct for this test:mvt/gif.t{,.broken}
%build%perl_vendor_build
%install%perl_vendor_install
%files%perl_vendor_privlib/Barcode/
%changelog* Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 2.01-alt3.1-repairafterperl5.12upgradeusinggirar-nmu
* Fri Jan 15 2010 Victor Forsyuk <force@altlinux.org> 2.01-alt3-Resurrectdeletedpackage.