]> git.pld-linux.org Git - packages/perl-Barcode-Code128.git/blame - perl-Barcode-Code128.spec
new spec
[packages/perl-Barcode-Code128.git] / perl-Barcode-Code128.spec
CommitLineData
f1a4375e
MP
1
2# Conditional build:
3%bcond_without tests # do perform "make test"
4
5%include /usr/lib/rpm/macros.perl
6%define pdir Barcode
7%define pnam Code128
8Summary: Barcode::Code128 - Perl module for generating CODE 128 bar codes
9Name: perl-Barcode-Code128
10Version: 2.00
11Release: 1
12# same as perl
13License: GPL/Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 9838b2c070d90f781013a538c5ada15a
17BuildRequires: perl-devel >= 5.6
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Similar functionality is available at shell prompts of *nix O/S.
23This modules is attempting to provide the same to Perl programming,
24
25%prep
26%setup -q -n %{pdir}-%{pnam}-%{version}
27
28%build
29%{__perl} Makefile.PL \
30 INSTALLDIRS=vendor
31
32%{__make}
33
34%{?with_tests:make test}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make install DESTDIR=$RPM_BUILD_ROOT
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%{perl_vendorlib}/Barcode/Code128.pm
46%{_mandir}/man3/*
This page took 0.068144 seconds and 4 git commands to generate.