Accepting request 1114392 from Java:packages:test
simplify OBS-URL: https://build.opensuse.org/request/show/1114392 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=109
This commit is contained in:
parent
e27e25fa06
commit
7c521b0a7b
@ -25,7 +25,7 @@ Summary: Formatter for Printing XSLT Processed XML Files
|
||||
License: Apache-2.0
|
||||
Group: Productivity/Publishing/XML
|
||||
URL: https://xmlgraphics.apache.org/fop/
|
||||
Source0: https://dlcdn.apache.org/xmlgraphics/fop/source/fop-%{version}-src.tar.gz
|
||||
Source0: https://archive.apache.org/dist/xmlgraphics/fop/source/fop-%{version}-src.tar.gz
|
||||
Source1: https://download.sourceforge.net/project/offo/offo-hyphenation/2.2/offo-hyphenation.zip
|
||||
#FIX-OPENSUSE: add xmlgraphics-commons to classpath
|
||||
Source2: %{name}.script
|
||||
@ -60,18 +60,6 @@ BuildRequires: xmlgraphics-commons >= 2.6
|
||||
#!BuildIgnore: saxon
|
||||
Requires: java >= 1.8
|
||||
Requires: xml-commons-apis
|
||||
Requires: mvn(com.thoughtworks.qdox:qdox) >= 2.0
|
||||
Requires: mvn(commons-io:commons-io)
|
||||
Requires: mvn(commons-logging:commons-logging)
|
||||
Requires: mvn(javax.servlet:servlet-api)
|
||||
Requires: mvn(org.apache.pdfbox:fontbox) >= 2.0.0
|
||||
Requires: mvn(org.apache.xmlgraphics:batik-anim) >= 1.14
|
||||
Requires: mvn(org.apache.xmlgraphics:batik-awt-util) >= 1.14
|
||||
Requires: mvn(org.apache.xmlgraphics:batik-bridge) >= 1.14
|
||||
Requires: mvn(org.apache.xmlgraphics:batik-extension) >= 1.14
|
||||
Requires: mvn(org.apache.xmlgraphics:batik-gvt) >= 1.14
|
||||
Requires: mvn(org.apache.xmlgraphics:batik-transcoder) >= 1.14
|
||||
Requires: mvn(org.apache.xmlgraphics:xmlgraphics-commons)
|
||||
Provides: %{bname} = %{version}-%{release}
|
||||
Obsoletes: %{bname} < %{version}-%{release}
|
||||
Provides: fo-formatter = %{version}-%{release}
|
||||
@ -101,10 +89,6 @@ for x in %{SOURCE10} %{SOURCE11} %{SOURCE12}; do
|
||||
sed -i "s=@VERSION@=%{version}=" $x
|
||||
done
|
||||
|
||||
# Building with ant, so the parent is pointless
|
||||
%pom_remove_parent fop
|
||||
%pom_xpath_inject pom:project "<version>%{version}</version>" fop
|
||||
|
||||
# When building with ant, the fop.jar is an all-in jar,
|
||||
# so adapt the dependencies accordingly
|
||||
|
||||
@ -162,7 +146,7 @@ install -m 644 fop/build/%{bname}-sandbox.jar %{buildroot}%{_javadir}/%{name}-sa
|
||||
|
||||
# pom
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 fop/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%{mvn_install_pom} fop/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap
|
||||
|
||||
# script
|
||||
|
Loading…
Reference in New Issue
Block a user