Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37424501
en ru br
Репозитории ALT
S:2.044-alt1
5.1: 0.73-alt1
4.1: 0.69-alt1
4.0: 0.59.002-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-PDF-API2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# SPEC file for Perl module PDF::API2

%define version    0.73
%define release    alt1

Name: perl-PDF-API2
Version: %version
Release: %release

Summary: Perl module for creation and modification PDF files
Summary(ru_RU.UTF-8): п╪п╬п╢я┐п╩я▄ Perl п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ PDF

License: %lgpl2plus
Group: Development/Perl
URL: http://search.cpan.org/~areibens/PDF-API2/

Packager: Nikolay A. Fetisov <naf at altlinux.ru>

%define real_name PDF-API2
Source: http://search.cpan.org/CPAN/authors/id/A/AR/AREIBENS/%real_name-%version.tar
Patch0: PDF-API2-0.51-alt-missed_use.patch
Patch1: PDF-API2-0.51-alt-Lbrk_pl.patch

AutoReqProv: perl, yes
BuildRequires(pre): perl-devel rpm-build-licenses

# Automatically added by buildreq on Sun Dec 14 2008

BuildRequires: perl-Compress-Zlib perl-Encode perl-devel perl-unicore

BuildRequires: perl-Storable perl-XML-Parser

%description
PDF::API2 is a Perl module to facilitate the creation and
modification of high-quality "Portable Document Format"
(PDF) files. PDF::API2:
- works with more than one PDF file open at once;
- presents an object-oriented API to the user;
- supports the 14 base PDF Core Fonts, subset of PDF CJK Fonts,
 Adobe Type1 (.pfa/pfb), TrueType (.ttf) and OpenType (.ttf/otf)
 fonts;
- supports images in JPEG, PND, GIF, TIFF, PBM, PGM, PPM formats;
- supports EAN13, CODE39, CODE39EXT, CODE25INT, CODABAR barcodes;
- supports rudimentary modification and import from existing PDFs.

%description -l ru_RU.UTF-8
PDF::API2 - п╪п╬п╢я┐п╩я▄  Perl п╢п╩я▐  я│п╬п╥п╢п╟п╫п╦я▐ п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ п╡
я└п╬я─п╪п╟я┌п╣ PDF (Portable Document Format). PDF::API2:
- п©п╬п╥п╡п╬п╩я▐п╣я┌ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ я─п╟п╠п╬я┌п╟я┌я▄ я│ п╠п╬п╩п╣п╣ я┤п╣п╪ п╬п╢п╫п╦п╪ п╬я┌п╨я─я▀я┌я▀п╪
 я└п╟п╧п╩п╬п╪ PDF;
- п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▌ п╬п╠я┼п╣п╨я┌п╫п╬-п╬я─п╦п╣п╫я┌п╦я─п╬п╡п╟п╫п╫я▀п╧ п╦п╫я┌п╣я─я└п╣п╧я│;
- п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ 14 п╠п╟п╥п╬п╡я▀я┘ я┬я─п╦я└я┌п╬п╡ PDF, п©п╬п╢п╪п╫п╬п╤п╣я│я┌п╡п╬ я┬я─п╦я└я┌п╬п╡ CJK.
 я┬я─п╦я└я┌я▀ Adobe Type1 (.pfa/pfb), TrueType (.ttf) п╦ OpenType
 (.ttf/otf);
- п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ я─п╟п╠п╬я┌я┐ я│ п╦п╥п╬п╠я─п╟п╤п╣п╫п╦я▐п╪п╦ п╡ я└п╬я─п╪п╟я┌п╟я┘ JPEG, PND, GIF,
 TIFF, PBM, PGM п╦ PPM;
- п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ я┬я┌я─п╦я┘п╨п╬п╢я▀ п╡ п╨п╬п╢п╦я─п╬п╡п╨п╟я┘ EAN13, CODE39, CODE39EXT,
 CODE25INT, CODABAR;
- п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п©я─п╬я│я┌я┐я▌ п╪п╬п╢п╦я└п╦п╨п╟я├п╦я▌ п╦ п╦п╪п©п╬я─я┌ п╦п╥ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦я┘
 п╢п╬п╨я┐п╪п╣п╫я┌п╬п╡ PDF.

%prep
%setup  -n %real_name-%version
find . -type f -print0 | xargs -0i subst 's at \r at  at g' {}

%patch0
%patch1

mv -f -- COPYING COPING.LGPL.orig
ln -s -- $(relative %_licensedir/LGPL %_docdir/%name/COPYING) COPYING

#%%__bzip2 CHANGELOG


%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc AUTHORS README LICENSE TODO CONTACT
%doc examples*
%doc contrib*
%doc --no-dereference COPYING
%perl_vendor_privlib/PDF/API2*
%exclude /.perl.req
# We don't want a second DejaVu font's pack in system.
%exclude %perl_vendor_privlib/PDF/API2/fonts/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin