automatic version update by autodist [release 3.3.2-1mamba;Thu Sep 01 2022]
This commit is contained in:
parent
dff882ae0a
commit
b08a9806a5
@ -1,4 +1,3 @@
|
|||||||
# pdftk
|
# pdftk
|
||||||
|
|
||||||
Command-line tool for working with PDFs.
|
Command-line tool for working with PDFs.
|
||||||
|
|
||||||
|
3
pdftk.sh
Normal file
3
pdftk.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
CP='/usr/share/java/bcprov.jar:/usr/share/java/commons-lang.jar:/usr/share/java/pdftk/pdftk.jar'
|
||||||
|
exec /usr/bin/java -cp "$CP" com.gitlab.pdftk_java.pdftk "$@"
|
40
pdftk.spec
40
pdftk.spec
@ -1,38 +1,46 @@
|
|||||||
Name: pdftk
|
Name: pdftk
|
||||||
Version: 2.02
|
Version: 3.3.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Command-line tool for working with PDFs
|
Summary: Command-line tool for working with PDFs
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://www.pdflabs.com/tools/pdftk-server/
|
URL: https://gitlab.com/pdftk-java/pdftk
|
||||||
Source: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-%{version}-src.zip
|
Source: https://gitlab.com/pdftk-java/pdftk.git/v%{version}/pdftk-%{version}.tar.bz2
|
||||||
|
Source1: pdftk.sh
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
|
||||||
BuildRequires: libgcc
|
|
||||||
BuildRequires: libgcj4-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libgcj4-devel >= 6.1.0-2mamba
|
BuildRequires: apache-ant
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRequires: javapackages
|
||||||
|
BuildRequires: java-openjdk11
|
||||||
|
BuildRequires: java-bouncycastle
|
||||||
|
BuildRequires: java-hamcrest
|
||||||
|
BuildRequires: jakarta-commons-lang
|
||||||
|
Requires: java-runtime-headless
|
||||||
|
Requires: java-bouncycastle
|
||||||
|
Requires: jakarta-commons-lang
|
||||||
|
Requires: java-hamcrest
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Command-line tool for working with PDFs.
|
Command-line tool for working with PDFs.
|
||||||
|
|
||||||
%debug_package
|
#% debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}-dist
|
%setup -q
|
||||||
|
mkdir lib
|
||||||
|
ln -s /usr/share/java/{bcprov,commons-lang,hamcrest-core,junit,junit-system-rules/system-rules}.jar lib
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make -C pdftk -f Makefile.Redhat
|
ant clean jar
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -D -m0755 pdftk/pdftk %{buildroot}%{_bindir}/pdftk
|
install -D -m0755 build/jar/pdftk.jar %{buildroot}%{_javadir}/%{name}/pdftk.jar
|
||||||
install -D -m0644 pdftk.1 %{buildroot}%{_mandir}/man1/pdftk.1
|
install -D -m0644 pdftk.1 %{buildroot}%{_mandir}/man1/pdftk.1
|
||||||
|
install -D -m0755 %{SOURCE1} %{buildroot}%{_bindir}/pdftk
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -40,10 +48,14 @@ install -D -m0644 pdftk.1 %{buildroot}%{_mandir}/man1/pdftk.1
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/pdftk
|
%{_bindir}/pdftk
|
||||||
|
%{_javadir}/%{name}/pdftk.jar
|
||||||
%{_mandir}/man1/pdftk.1*
|
%{_mandir}/man1/pdftk.1*
|
||||||
%doc license_gpl_pdftk/readme.txt
|
%doc license_gpl_pdftk/readme.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-2mamba
|
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-2mamba
|
||||||
- rebuilt by autoport with build requirements: libgcj4-devel>=6.1.0-2mamba
|
- rebuilt by autoport with build requirements: libgcj4-devel>=6.1.0-2mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user