]> git.pld-linux.org Git - packages/perl-Barcode-Code128.git/commitdiff
new spec
authorMaciej Pijanka <agaran@pld-linux.org>
Sun, 11 Apr 2004 15:02:15 +0000 (15:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Barcode-Code128.spec -> 1.1

perl-Barcode-Code128.spec [new file with mode: 0644]

diff --git a/perl-Barcode-Code128.spec b/perl-Barcode-Code128.spec
new file mode 100644 (file)
index 0000000..f9af6da
--- /dev/null
@@ -0,0 +1,46 @@
+
+# Conditional build:
+%bcond_without tests   # do perform "make test"
+
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Barcode
+%define pnam   Code128
+Summary:       Barcode::Code128 - Perl module for generating CODE 128 bar codes
+Name:          perl-Barcode-Code128
+Version:       2.00
+Release:       1
+# same as perl
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9838b2c070d90f781013a538c5ada15a
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Similar functionality is available at shell prompts of *nix O/S.
+This modules is attempting to provide the same to Perl programming,
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:make test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Barcode/Code128.pm
+%{_mandir}/man3/*
This page took 0.074359 seconds and 4 git commands to generate.