Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
perl-PDF-Reuse-Barcode
perl-PDF-Reuse-Barcode.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-PDF-Reuse-Barcode.spec of Package perl-PDF-Reuse-Barcode
# # spec file for package perl-PDF-Reuse-Barcode # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: perl-PDF-Reuse-Barcode Version: 0.07 Release: 0 %define cpan_name PDF-Reuse-Barcode Summary: Create barcodes for PDF documents with PDF::Reuse License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/C/CN/CNIGHS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Barcode::Code128) BuildRequires: perl(GD::Barcode) BuildRequires: perl(GD::Barcode::COOP2of5) BuildRequires: perl(GD::Barcode::Code39) BuildRequires: perl(GD::Barcode::EAN13) BuildRequires: perl(GD::Barcode::EAN8) BuildRequires: perl(GD::Barcode::IATA2of5) BuildRequires: perl(GD::Barcode::ITF) BuildRequires: perl(GD::Barcode::Industrial2of5) BuildRequires: perl(GD::Barcode::Matrix2of5) BuildRequires: perl(GD::Barcode::NW7) BuildRequires: perl(GD::Barcode::UPCA) BuildRequires: perl(GD::Barcode::UPCE) BuildRequires: perl(PDF::Reuse) Requires: perl(Barcode::Code128) Requires: perl(GD::Barcode) Requires: perl(GD::Barcode::COOP2of5) Requires: perl(GD::Barcode::Code39) Requires: perl(GD::Barcode::EAN13) Requires: perl(GD::Barcode::EAN8) Requires: perl(GD::Barcode::IATA2of5) Requires: perl(GD::Barcode::ITF) Requires: perl(GD::Barcode::Industrial2of5) Requires: perl(GD::Barcode::Matrix2of5) Requires: perl(GD::Barcode::NW7) Requires: perl(GD::Barcode::UPCA) Requires: perl(GD::Barcode::UPCE) Requires: perl(PDF::Reuse) %{perl_requires} %description This is a sub-module to PDF::Reuse. It creates barcode "images" to be used in PDF documents. It uses GD::Barcode and its sub-modules: GD::Barcode::Code39, COOP2of5, EAN13 and so on, to calculate the barcode pattern. For Code128 it uses Barcode::Code128. Normally the barcodes are displayed on a white background and with the characters under the bars. You can rotate the "image", make it smaller or bigger, prolong the bars and change the background. (But then, don't forget to test that your barcode scanner still understands it.) If you don't change the size of the "image", the bars are approximately 24 pixels high (the guard bars a few pixels longer) and the box/background is 38 pixels high and something like 20 pixels wider than the barcodes. The text under the bars are 10 pixels high. %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor