- use new add_maven_depmap
- add missing commons packages to BuildRequires OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=36
This commit is contained in:
parent
0bfece7535
commit
e17aeb09dd
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 08:09:43 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- use new add_maven_depmap
|
||||
- add missing commons packages to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 12:10:30 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
|
34
xmlgraphics-fop.keyring
Normal file
34
xmlgraphics-fop.keyring
Normal file
@ -0,0 +1,34 @@
|
||||
pub 2048R/0ED3D317 2012-04-09 [expires: 2017-04-08]
|
||||
uid Glenn Adams <gadams@apache.org>
|
||||
sub 2048R/F23E86C1 2012-04-09 [expires: 2017-04-08]
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQENBE+DFvEBCACwHesM5hkZrlgPiq588FbZPe7QGtDRVdh0YbgI2A4Ky2odbFmA
|
||||
/n7lF9v+yf+FUn/0H2igwDYqLFx4JsB7z+Nvj+hwExdGQxuDaGSwMjjpJeEiuEmf
|
||||
b1Er5KYgpeFNm1MVP+r5kW5962O+HGIEx1xQ85AskNbr/jQkAg/wbbwWLFBQRMER
|
||||
PqFs1rXL2aWip8XtNPKnKBLPlFPn9a7glgB5Whgbls44KpR0dplAVoCWMnZEYnTA
|
||||
JYITcaDTCGFQI7aYgbj986RpS80o/Wcsnb8rjHKRZG8TaDr9MbgmmK39KwiJCflJ
|
||||
9LvXR9g1j3addxgqEUuQBEtoLkWs/eDT/KQ7ABEBAAG0H0dsZW5uIEFkYW1zIDxn
|
||||
YWRhbXNAYXBhY2hlLm9yZz6JAT4EEwECACgFAk+DFvECGwMFCQlmAYAGCwkIBwMC
|
||||
BhUIAgkKCwQWAgMBAh4B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SmSztNe/Mws69EbuBph6bQ
|
||||
+zSmTQ6nt8PX+v3e0PnkXdGD8si9H6hj0K32pEMz86ttSnAtrhvsAdKPYOkY7/JD
|
||||
0Bl+bnb7FLxJjJGlGuO/Rn5SIR3fFNQGrE/zl2wsKtftUXse6kkZSue+
|
||||
=XDBB
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -41,14 +41,15 @@ Source10: %{name}.xml
|
||||
Source11: %{name}-fontmetrics.xml
|
||||
Source12: %{name}-fontlist.xml
|
||||
Source1000: http://ftp.halifax.rwth-aachen.de/apache/xmlgraphics/fop/source/fop-1.1-src.tar.gz.asc
|
||||
Source1001: xmlgraphics-fop.keyring
|
||||
Patch1: xmlgraphics-fop-cli.patch
|
||||
Patch2: xmlgraphics-fop-xconf.patch
|
||||
Url: http://xmlgraphics.apache.org/fop/
|
||||
Requires(post): jpackage-utils >= 1.7.4
|
||||
Requires(postun): jpackage-utils >= 1.7.4
|
||||
Requires: apache-commons-io >= 2.4
|
||||
Requires: apache-commons-logging
|
||||
Requires: avalon-framework
|
||||
Requires: commons-io >= 2.4
|
||||
Requires: commons-logging
|
||||
Requires: java >= 1.6.0
|
||||
Requires: jpackage-utils >= 1.7.4
|
||||
Requires: xml-commons-jaxp-1.3-apis
|
||||
@ -57,8 +58,11 @@ Requires: xmlgraphics-commons >= 1.5
|
||||
BuildRequires: ant >= 1.6.5
|
||||
BuildRequires: ant-junit
|
||||
BuildRequires: ant-trax
|
||||
BuildRequires: apache-commons-io >= 2.4
|
||||
BuildRequires: apache-commons-logging
|
||||
BuildRequires: avalon-framework
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: gpg-offline
|
||||
BuildRequires: gpg2
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
BuildRequires: java-javadoc
|
||||
@ -96,6 +100,7 @@ API documentation for %{name} automatically extracted from comments in source fi
|
||||
|
||||
|
||||
%prep
|
||||
%gpg_verify %{SOURCE1000}
|
||||
%setup -q -n %{bname}-%{version} -a5
|
||||
ln -thyph offo-hyphenation/hyph/*.xml
|
||||
find -name "*.jar" | xargs -t rm
|
||||
@ -159,11 +164,11 @@ done
|
||||
# jars
|
||||
mkdir -p %{buildroot}%{_javadir}
|
||||
install -m 644 build/%{bname}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
%add_to_maven_depmap org.apache.xmlgraphics %{bname} %{version} JPP %{name}
|
||||
|
||||
# pom
|
||||
install -d -m 755 %{buildroot}%{_datadir}/maven2/poms
|
||||
install -pm 644 build/maven/pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 build/maven/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap
|
||||
|
||||
# script
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
@ -199,15 +204,6 @@ for m in *.1.gz; do
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc NOTICE LICENSE README known-issues.xml status.xml
|
||||
@ -221,7 +217,7 @@ rm -rf %{buildroot}
|
||||
%attr(0755,root,root) %{_bindir}/%{bname}-fontlist
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/maven2/*
|
||||
%{_mavenpomdir}/*
|
||||
%config %{_mavendepmapfragdir}/*
|
||||
%{_mandir}/man1/*
|
||||
%config(noreplace) /etc/fop.xconf
|
||||
|
Loading…
Reference in New Issue
Block a user