OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-GD-Barcode-Code128?expand=0&rev=8
79 lines
2.4 KiB
RPMSpec
79 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package perl-Barcode-Code128
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-Barcode-Code128
|
|
%define real_name Barcode-Code128
|
|
Summary: Generate CODE 128 bar codes
|
|
Url: http://search.cpan.org/perldoc?Barcode::Code128
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Version: 2.01
|
|
Release: 1
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
BuildRequires: perl-GD
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl-GD-Barcode
|
|
Requires: perl-GD
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Barcode::Code128 generates bar codes using the CODE 128 symbology. It can
|
|
generate images in PNG or GIF format using the GD package, or it can generate
|
|
a text string representing the barcode that you can render using some other
|
|
technology if desired.
|
|
|
|
The intended use of this module is to create a web page with a bar code on it,
|
|
which can then be printed out and faxed or mailed to someone who will scan the
|
|
bar code. The application which spurred its creation was an expense report tool,
|
|
where the employee submitting the report would print out the web page and staple
|
|
the receipts to it, and the Accounts Payable clerk would scan the bar code to
|
|
indicate that the receipts were received.
|
|
|
|
Author:
|
|
-------
|
|
William R. Ward, wrw@bayview.com
|
|
|
|
%prep
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?jobs:-j%jobs}
|
|
|
|
# %check
|
|
# make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc Changes README MANIFEST
|
|
%doc %{_mandir}/man?/*
|
|
%dir %{perl_vendorlib}/Barcode
|
|
%{perl_vendorlib}/Barcode/Code128.pm
|
|
|
|
%changelog
|