https://bugzilla.redhat.com/show_bug.cgi?id=2035955
Bug ID: 2035955 Summary: Provides %jpackage_script for pdfbox Product: Fedora Version: rawhide Status: NEW Component: pdfbox Assignee: sergio@serjux.com Reporter: didiksupriadi41@gmail.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, puntogil@libero.it, sergio@serjux.com Target Milestone: --- Classification: Fedora
Description of problem:
Hi,
- preflight-app - debugger-app - app (pdfbox-app)
I know that those jars are disabled for reasons (e.g. wasting spaces, etc.) but I think %jpackage_script(s) for each application (.*-app) need to be provided, such as:
%jpackage_script org.apache.pdfbox.debugger.PDFDebugger "" "" pdfbox-debugger pdfbox-debugger true
%jpackage_script org.apache.pdfbox.tools.PDFBox "" "" pdfbox-tools pdfbox true
%jpackage_script org.apache.pdfbox.preflight.Validator_A1b "" "" preflight:jakarta-activation:jaxb-api pdfbox-preflight true
Version-Release number of selected component (if applicable):
rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=2035955
Sergio Basto sergio@serjux.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Sergio Basto sergio@serjux.com --- and I I do that ? Pull request are welcome , also I can add you as maintainer
https://bugzilla.redhat.com/show_bug.cgi?id=2035955
--- Comment #2 from Didik Supriadi didiksupriadi41@gmail.com --- I'd be happy to comaintain it. My FAS name is didiksupriadi41 and I'd prepare my PR tommorow. :)
https://bugzilla.redhat.com/show_bug.cgi?id=2035955
--- Comment #3 from Sergio Basto sergio@serjux.com ---
from previous comment (*) and how I do that ?
I added you as admin of pdfbox .
Best regards,
https://bugzilla.redhat.com/show_bug.cgi?id=2035955
--- Comment #4 from Didik Supriadi didiksupriadi41@gmail.com --- Do you mean how to use %jpackage_script?
from `/usr/lib/rpm/macros.d/macros.jpackage`:
%jpackage_script param1 param2 param3 param4 param5 param6
# Standard JPackage script # # %1 main class # %2 flags # %3 options # %4 jars (separated by ':') # %5 the name of script you wish to create # %6 whether to prefer a jre over a sdk when finding a jvm
Also, Java binary packages MUST have transitive Requires on: javapackages-tools
You can see it in action here: https://sourcegraph.com/search?q=context:global+r:src.fedoraproject.org+file...
https://bugzilla.redhat.com/show_bug.cgi?id=2035955
--- Comment #5 from Sergio Basto sergio@serjux.com --- (In reply to Didik Supriadi from comment #4)
Do you mean how to use %jpackage_script?
yes
https://bugzilla.redhat.com/show_bug.cgi?id=2035955
Didik Supriadi didiksupriadi41@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2021-12-29 09:07:04
--- Comment #6 from Didik Supriadi didiksupriadi41@gmail.com --- Built on rawhide and f35
java-sig-commits@lists.fedoraproject.org