1 Star 0 Fork 2

jinxu/perl-Text-PDF

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Text-PDF.spec 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
jinxu 提交于 2021-06-28 15:57 . Initial package for openEuler
Name: perl-Text-PDF
Version: 0.31
Release: 1
License: GPL+ or Artistic
Summary: Module for manipulating PDF files
Source: https://cpan.metacpan.org/authors/id/B/BH/BHALLISSY/Text-PDF-%{version}.tar.gz
Patch0: Text-PDF-0.29-formats.patch
Url: https://metacpan.org/release/Text-PDF
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Compress::Zlib)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Simple)
%{?perl_default_filter}
%description
This module allows interaction with existing PDF files directly. It
includes various tools:
pdfbklt - make booklets out of existing PDF files
pdfrevert - remove edits from a PDF file
pdfstamp - stamp text on each page of a PDF file
%package help
Summary: Help documents for %{name}
%description help
This package contains all man files to use %{name}
%prep
%setup -q -n Text-PDF-%{version}
find . -type f -exec chmod -c -x {} ';'
sed -i 's/\r//' examples/CD.CFG
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc readme.txt examples/
%license LICENSE
%{perl_vendorlib}/Text*
%{_bindir}/*
%files help
%{_mandir}/man3/Text*.3*
%changelog
* Mon Jun 28 2021 Xu Jin <jinxu@kylinos.cn> - 0.31-1
- Initial package for openEuler
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jinxu1992/perl-Text-PDF.git
git@gitee.com:jinxu1992/perl-Text-PDF.git
jinxu1992
perl-Text-PDF
perl-Text-PDF
master

搜索帮助