]> git.pld-linux.org Git - packages/perl-Barcode-Code128.git/blame - perl-Barcode-Code128.spec
- converted to UTF-8
[packages/perl-Barcode-Code128.git] / perl-Barcode-Code128.spec
CommitLineData
0041f13f 1#
f1a4375e
MP
2# Conditional build:
3%bcond_without tests # do perform "make test"
0041f13f 4#
f1a4375e 5%include /usr/lib/rpm/macros.perl
af87ab8d 6%define pdir Barcode
7%define pnam Code128
f1a4375e 8Summary: Barcode::Code128 - Perl module for generating CODE 128 bar codes
454c176c 9Summary(pl.UTF-8): Barcode::Code128 - moduł Perla do generowania kodów paskowych CODE 128
f1a4375e
MP
10Name: perl-Barcode-Code128
11Version: 2.00
69a9f71d 12Release: 2
0041f13f 13License: Public Domain
f1a4375e
MP
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 9838b2c070d90f781013a538c5ada15a
0041f13f 17BuildRequires: perl-devel >= 1:5.8.0
f1a4375e 18BuildRequires: rpm-perlprov >= 4.1-13
0041f13f 19BuildArch: noarch
f1a4375e
MP
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
0041f13f
JB
23Barcode::Code128 generates bar codes using the CODE 128 symbology. It
24can generate images in PNG or GIF format using the GD package, or it
25can generate a text string representing the barcode that you can
26render using some other technology if desired.
27
454c176c
JR
28%description -l pl.UTF-8
29Barcode::Code128 generuje kody paskowe przy użyciu symboli CODE 128.
30Może generować obrazki w formacie PNG lub GIF przy użyciu pakietu GD
31albo tekst reprezentujący kod paskowy, który można zrenderować w inny
32sposób.
f1a4375e
MP
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
69a9f71d 36# module generates correct image, but a bit different to
37# the one included in the distribution and compared with
38mv t/png.t{,.broken}
f1a4375e
MP
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{__make}
45
0041f13f 46%{?with_tests:%{__make} test}
f1a4375e
MP
47
48%install
49rm -rf $RPM_BUILD_ROOT
0041f13f
JB
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
f1a4375e
MP
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
0041f13f 59%doc Changes README
f1a4375e
MP
60%{perl_vendorlib}/Barcode/Code128.pm
61%{_mandir}/man3/*
This page took 0.043161 seconds and 4 git commands to generate.