- Do not depend on ant-trax

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=42
This commit is contained in:
Tomáš Chvátal 2014-07-08 10:31:22 +00:00 committed by Git OBS Bridge
parent e54856e3f5
commit de34208b16
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 8 10:30:59 UTC 2014 - tchvatal@suse.com
- Do not depend on ant-trax
-------------------------------------------------------------------
Thu Sep 12 21:16:29 UTC 2013 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package xmlgraphics-fop
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
@ -32,10 +32,10 @@ Group: Productivity/Publishing/XML
Source0: http://ftp.halifax.rwth-aachen.de/apache/xmlgraphics/fop/source/fop-1.1-src.tar.gz
#FIX-OPENSUSE: add xmlgraphics-commons to classpath
Source1: %{name}.script
Source2: http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-1_0/xmlgraphics-fop-pom-template.pom
Source2: http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-1_0/xmlgraphics-fop-pom-template.pom
Source3: %{name}-fontmetrics.script
Source4: %{name}-fontlist.script
Source5: http://heanet.dl.sourceforge.net/project/offo/offo-hyphenation/2.0/offo-hyphenation_v2.0.zip
Source5: http://heanet.dl.sourceforge.net/project/offo/offo-hyphenation/2.0/offo-hyphenation_v2.0.zip
# Manpage(s)
Source10: %{name}.xml
Source11: %{name}-fontmetrics.xml
@ -57,7 +57,6 @@ Requires: xmlgraphics-batik
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
@ -91,7 +90,7 @@ representation), Print, AWT, MIF, and TXT.
%prep
%gpg_verify %{SOURCE1000}
%setup -q -n %{bname}-%{version} -a5
%setup -q -n %{bname}-%{version} -a5
ln -thyph offo-hyphenation/hyph/*.xml
find -name "*.jar" | xargs -t rm
%patch1 -p1 -b .cli
@ -137,7 +136,7 @@ export OPT_JAR_LIST=`%{__cat} %{_sysconfdir}/ant.d/{junit,trax}`
%if %{with tests}
junit \
%endif
maven-artifacts
maven-artifacts
# false
# Build the manpage(s) and HTML
@ -187,7 +186,7 @@ pushd %{buildroot}%_mandir/man1
for m in *.1.gz; do
ln -s $m ${m#*-}
done
popd
popd
%files
%defattr(0644,root,root,0755)