removed _link
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=2
This commit is contained in:
commit
b76d29a44f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
fop-1.0-src.tar.gz
Normal file
3
fop-1.0-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a7163a1aded5fdfc4a0e46f9c0dbcfed57f0c0affb4500e39ec54fa3c727829
|
||||
size 16141354
|
20
xmlgraphics-fop-build.patch
Normal file
20
xmlgraphics-fop-build.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: build.xml
|
||||
===================================================================
|
||||
--- build.xml.orig 2010-07-12 21:34:37.000000000 +0200
|
||||
+++ build.xml 2010-11-03 15:32:55.535189854 +0100
|
||||
@@ -974,6 +974,7 @@
|
||||
<target name="junit-reduced" depends="junit-userconfig, junit-basic, junit-transcoder, junit-text-linebreak, junit-fotree"/>
|
||||
<target name="junit-full" depends="junit-reduced, junit-layout, junit-area-tree-xml-format, junit-intermediate-format"/>
|
||||
<target name="junit" depends="junit-full" description="Runs all of FOP's JUnit tests" if="junit.present">
|
||||
+<!--
|
||||
<fail><condition><or><isset property="fop.junit.error"/><isset property="fop.junit.failure"/><not><isset property="hyphenation.present"/></not></or></condition>
|
||||
NOTE:
|
||||
**************************************************************************
|
||||
@@ -983,6 +984,7 @@
|
||||
**************************************************************************
|
||||
</fail>
|
||||
<echo>All Junit tests passed!</echo>
|
||||
+-->
|
||||
<echo>Use the "junit-reports" target to generate HTML test reports</echo>
|
||||
</target>
|
||||
<!-- haven't made this dependent on "junit" as that would rerun all tests -->
|
17
xmlgraphics-fop-cli.patch
Normal file
17
xmlgraphics-fop-cli.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: fop-1.0/src/java/org/apache/fop/cli/Main.java
|
||||
===================================================================
|
||||
--- fop-1.0.orig/src/java/org/apache/fop/cli/Main.java 2010-07-12 21:34:44.000000000 +0200
|
||||
+++ fop-1.0/src/java/org/apache/fop/cli/Main.java 2010-11-03 15:33:27.174637237 +0100
|
||||
@@ -201,11 +201,7 @@
|
||||
* @param args the command line parameters
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
- if (checkDependencies()) {
|
||||
- startFOP(args);
|
||||
- } else {
|
||||
- startFOPWithDynamicClasspath(args);
|
||||
- }
|
||||
+ startFOP(args);
|
||||
}
|
||||
|
||||
}
|
21
xmlgraphics-fop-java-opts.patch
Normal file
21
xmlgraphics-fop-java-opts.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- fop
|
||||
+++ fop
|
||||
@@ -137,7 +137,8 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
-if [ ! -x "$JAVACMD" ] ; then
|
||||
+# bnc#467866 fop fails if JAVACMD_OPTS is set
|
||||
+if [ ! -x "`echo $JAVACMD | cut -d ' ' -f 1`" ] ; then
|
||||
echo "Error: JAVA_HOME is not defined correctly."
|
||||
echo " We cannot execute $JAVACMD"
|
||||
exit 1
|
||||
@@ -247,7 +248,7 @@
|
||||
|
||||
# Execute FOP using eval/exec to preserve spaces in paths,
|
||||
# java options, and FOP args
|
||||
-fop_exec_command="exec \"$JAVACMD\" $LOGCHOICE $LOGLEVEL -classpath \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args"
|
||||
+fop_exec_command="exec $JAVACMD $LOGCHOICE $LOGLEVEL -classpath \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args"
|
||||
if $fop_exec_debug ; then
|
||||
echo $fop_exec_command
|
||||
fi
|
155
xmlgraphics-fop-pom-template.pom
Normal file
155
xmlgraphics-fop-pom-template.pom
Normal file
@ -0,0 +1,155 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!-- $Id$ -->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||
http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>fop</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Apache FOP</name>
|
||||
<version>@version@</version>
|
||||
<url>http://xmlgraphics.apache.org/fop/</url>
|
||||
<description>Apache FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world's first output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Output formats currently supported include PDF, PCL, PS, AFP, TIFF, PNG, SVG, XML (area tree representation), Print, AWT and TXT. The primary output target is PDF.</description>
|
||||
<inceptionYear>1999</inceptionYear>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>FOP Users List</name>
|
||||
<subscribe>fop-users-subscribe@xmlgraphics.apache.org</subscribe>
|
||||
<unsubscribe>fop-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
|
||||
<archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>FOP Developer List</name>
|
||||
<subscribe>fop-dev-subscribe@xmlgraphics.apache.org</subscribe>
|
||||
<unsubscribe>fop-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
|
||||
<archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/</archive>
|
||||
</mailingList>
|
||||
<mailingList>
|
||||
<name>FOP Commit List</name>
|
||||
<subscribe>fop-commits-subscribe@xmlgraphics.apache.org</subscribe>
|
||||
<unsubscribe>fop-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
|
||||
<archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-commits/</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/?root=Apache-SVN</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
<url>http://www.apache.org/</url>
|
||||
</organization>
|
||||
<parent>
|
||||
<groupId>org.apache</groupId>
|
||||
<artifactId>apache</artifactId>
|
||||
<version>7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<!-- XML Graphics -->
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>xmlgraphics-commons</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-svg-dom</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-bridge</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-awt-util</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-gvt</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-transcoder</artifactId>
|
||||
<version>1.7</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>fop</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-extension</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-ext</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<!-- other dependencies -->
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.0.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>1.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.avalon.framework</groupId>
|
||||
<artifactId>avalon-framework-api</artifactId>
|
||||
<version>4.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.avalon.framework</groupId>
|
||||
<artifactId>avalon-framework-impl</artifactId>
|
||||
<version>4.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<version>2.2</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>xalan</groupId>
|
||||
<artifactId>xalan</artifactId>
|
||||
<version>2.7.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
86
xmlgraphics-fop.changes
Normal file
86
xmlgraphics-fop.changes
Normal file
@ -0,0 +1,86 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 13:11:50 UTC 2010 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#650138 - fop update wanted
|
||||
* fix memory leak in property cache
|
||||
* change FONode.addCharacters() parameter to closer match the signature of the standard SAX characters() event
|
||||
* new event handling framework
|
||||
* support for font substitution
|
||||
* support for addressing all glyphs available in a Type 1 font,
|
||||
not just the ones in the font's primary encoding.
|
||||
* limited support for pages of different inline-progression-dimensions within a page-sequence.
|
||||
* minimal support for integer keep values on the various keep properties on block-level FOs.
|
||||
* new AFPGraphics2D implementation which provides the ability to use Batik to
|
||||
drive the production of AFP Graphics (GOCA) output from SVG.
|
||||
* new Resource group leveling, external streaming, and de-duplication of images and
|
||||
graphics using IncludeObject and ResourceGroup.
|
||||
* new Native image embedding support (e.g. JPEG, GIF, TIFF) using ObjectContainer
|
||||
and a MOD:CA Registry implementation.
|
||||
- merge with xmlgraphics-fop-0.95-6.jpp5.src.rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 13:52:34 CET 2009 - mvyskocil@suse.cz
|
||||
|
||||
- fixed bnc#467866 - fop fails if JAVACMD_OPTS is set
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 6 15:23:11 CEST 2008 - skh@suse.de
|
||||
|
||||
- update to version 0.95, list of changes at:
|
||||
http://xmlgraphics.apache.org/fop/0.95/changes_0.95.html
|
||||
- fop requires java 1.4 now
|
||||
- use unversioned Requires: jre
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 27 10:48:43 CEST 2008 - coolo@suse.de
|
||||
|
||||
- avoid build cycle between fop and saxon
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 30 17:42:06 CET 2008 - skh@suse.de
|
||||
|
||||
- update to version 0.94, major changes:
|
||||
|
||||
* Add support for font auto-detection (JM) Thanks to Adrian Cumiskey
|
||||
* Add support for the border-collapsing model in tables (VH, JM)
|
||||
* Add support for named destinations in PDF (JB)
|
||||
* Add support for UAX#14 type line breaking (MM)
|
||||
|
||||
full list of changes at:
|
||||
|
||||
http://xmlgraphics.apache.org/fop/0.94/changes_0.94.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 10 12:23:48 CEST 2007 - skh@suse.de
|
||||
|
||||
- update to version 0.93
|
||||
- build with gcj
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 6 22:50:12 CEST 2007 - ro@suse.de
|
||||
|
||||
- added unzip to buildrequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:46:22 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 17 19:53:40 CEST 2004 - skh@suse.de
|
||||
|
||||
- do no longer use setJava
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 28 13:59:08 CEST 2004 - ke@suse.de
|
||||
|
||||
- Provide wrapper scripts for fop.sh and xalan.sh to make it find the
|
||||
java environment; reported by Thomas Schraitle; fix provided by Petr
|
||||
Mladek [#39581].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 13:56:38 CET 2003 - ke@suse.de
|
||||
|
||||
- New package: version 0.20.5.
|
||||
|
||||
|
36
xmlgraphics-fop.script
Normal file
36
xmlgraphics-fop.script
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# FOP 0.94 script
|
||||
# JPackage Project <http://www.jpackage.org/>
|
||||
# $Id$
|
||||
|
||||
# Source functions library
|
||||
if [ -f /usr/share/java-utils/java-functions ] ; then
|
||||
. /usr/share/java-utils/java-functions
|
||||
else
|
||||
echo "Can't find functions library, aborting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Load system-wide configuration
|
||||
if [ -f /etc/fop.conf ]; then
|
||||
. /etc/fop.conf
|
||||
fi
|
||||
|
||||
# Load user configuration
|
||||
if [ -f "$HOME/.foprc" ]; then
|
||||
. "$HOME/.foprc"
|
||||
fi
|
||||
|
||||
# Rest of the configuration
|
||||
MAIN_CLASS=org.apache.fop.cli.Main
|
||||
BASE_JARS="xmlgraphics-fop xmlgraphics-batik/util xml-commons-jaxp-1.3-apis excalibur/avalon-framework-api xerces-j2 xalan-j2 xalan-j2-serializer"
|
||||
|
||||
# Set parameters
|
||||
set_jvm
|
||||
set_classpath $BASE_JARS
|
||||
set_flags $BASE_FLAGS
|
||||
set_options $BASE_OPTIONS $FOP_OPTS
|
||||
|
||||
# Let's start
|
||||
run "$@"
|
307
xmlgraphics-fop.spec
Normal file
307
xmlgraphics-fop.spec
Normal file
@ -0,0 +1,307 @@
|
||||
# Copyright (c) 2000-2008, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name of the JPackage Project nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define section free
|
||||
%define bname fop
|
||||
|
||||
Name: xmlgraphics-fop
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
Summary: Formatter for Printing XSLT Processed XML Files
|
||||
License: The Apache Software License
|
||||
Group: Productivity/Publishing/XML
|
||||
Source0: http://www.apache.org/dist/xmlgraphics/fop/source/fop-%{version}-src.tar.gz
|
||||
Source1: %{name}.script
|
||||
Source2: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/xmlgraphics-fop-pom-template.pom
|
||||
Patch0: xmlgraphics-fop-build.patch
|
||||
Patch1: xmlgraphics-fop-cli.patch
|
||||
# PATCH-FIX-UPSTREAM fop-0.95-java_opts.patch bnc#467866, bao#46771
|
||||
Patch2: xmlgraphics-fop-java-opts.patch
|
||||
URL: http://xmlgraphics.apache.org/fop/
|
||||
Requires(post): jpackage-utils >= 1.7.4
|
||||
Requires(postun): jpackage-utils >= 1.7.4
|
||||
Requires: jpackage-utils >= 1.7.4
|
||||
Requires: java >= 1.5.0
|
||||
Requires: xmlgraphics-batik
|
||||
Requires: excalibur-avalon-logkit
|
||||
Requires: excalibur-avalon-framework-api
|
||||
Requires: excalibur-avalon-framework-impl
|
||||
Requires: xalan-j2
|
||||
Requires: xerces-j2
|
||||
Requires: xmlgraphics-commons
|
||||
Requires: xml-commons-jaxp-1.3-apis
|
||||
BuildRequires: jpackage-utils >= 1.7.4
|
||||
BuildRequires: java-devel >= 1.5.0
|
||||
BuildRequires: java-javadoc
|
||||
BuildRequires: ant >= 1.6.5
|
||||
BuildRequires: ant-trax
|
||||
BuildRequires: ant-junit
|
||||
BuildRequires: junit
|
||||
BuildRequires: xmlgraphics-batik
|
||||
BuildRequires: xmlgraphics-batik-javadoc
|
||||
BuildRequires: excalibur-avalon-logkit
|
||||
BuildRequires: excalibur-avalon-framework-api
|
||||
BuildRequires: excalibur-avalon-framework-impl
|
||||
BuildRequires: servlet_api
|
||||
BuildRequires: xalan-j2
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xmlgraphics-commons >= 1.2
|
||||
BuildRequires: xmlunit
|
||||
BuildRequires: xml-commons-jaxp-1.3-apis
|
||||
BuildRequires: qdox
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildArch: noarch
|
||||
#!BuildIgnore: saxon
|
||||
Provides: %{bname} = %{name}-%{version}
|
||||
Obsoletes: %{bname} < %{name}-%{version}
|
||||
|
||||
%description
|
||||
FOP (Formatting Objects Processor) is driven by XSL formatting objects
|
||||
(XSL-FO). It is a Java application that reads a formatting object (FO)
|
||||
tree and renders the resulting pages to one of the following output
|
||||
formats: PDF (primary output target), PCL, PS, SVG, XML (area tree
|
||||
representation), Print, AWT, MIF, and TXT.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{bname}-%{version}
|
||||
find -name "*.jar" | xargs -t rm
|
||||
%patch0 -p0 -b .build
|
||||
%patch1 -p1 -b .cli
|
||||
%patch2 -b .java_opts
|
||||
|
||||
pushd lib
|
||||
ln -s $(build-classpath excalibur/avalon-framework-api)
|
||||
ln -s $(build-classpath excalibur/avalon-framework-impl)
|
||||
ln -s $(build-classpath commons-io)
|
||||
ln -s $(build-classpath commons-logging)
|
||||
ln -s $(build-classpath servlet_api)
|
||||
ln -s $(build-classpath xml-commons-jaxp-1.3-apis)
|
||||
ln -s $(build-classpath xml-commons-jaxp-1.3-apis-ext)
|
||||
ln -s $(build-classpath xmlgraphics-batik/anim)
|
||||
ln -s $(build-classpath xmlgraphics-batik/awt-util)
|
||||
ln -s $(build-classpath xmlgraphics-batik/bridge)
|
||||
ln -s $(build-classpath xmlgraphics-batik/css)
|
||||
ln -s $(build-classpath xmlgraphics-batik/dom)
|
||||
ln -s $(build-classpath xmlgraphics-batik/ext)
|
||||
ln -s $(build-classpath xmlgraphics-batik/extension)
|
||||
ln -s $(build-classpath xmlgraphics-batik/gvt)
|
||||
ln -s $(build-classpath xmlgraphics-batik/parser)
|
||||
ln -s $(build-classpath xmlgraphics-batik/svg-dom)
|
||||
ln -s $(build-classpath xmlgraphics-batik/svggen)
|
||||
ln -s $(build-classpath xmlgraphics-batik/script)
|
||||
ln -s $(build-classpath xmlgraphics-batik/transcoder)
|
||||
ln -s $(build-classpath xmlgraphics-batik/util)
|
||||
ln -s $(build-classpath xmlgraphics-batik/xml)
|
||||
ln -s $(build-classpath xalan-j2)
|
||||
ln -s $(build-classpath xalan-j2-serializer)
|
||||
ln -s $(build-classpath xerces-j2)
|
||||
ln -s $(build-classpath xmlgraphics-commons)
|
||||
ln -s $(build-classpath xmlunit)
|
||||
ln -s $(build-classpath qdox)
|
||||
popd
|
||||
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
export CLASSPATH=
|
||||
export OPT_JAR_LIST=`%{__cat} %{_sysconfdir}/ant.d/{junit,trax}`
|
||||
%{ant} \
|
||||
-Dbatik.javadoc=%{_javadocdir}/xmlgraphics-batik \
|
||||
package junit maven-artifacts
|
||||
|
||||
%install
|
||||
# jars
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
install -m 644 build/%{bname}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
%add_to_maven_depmap org.apache.xmlgraphics %{bname} %{version} JPP %{name}
|
||||
|
||||
# pom
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
|
||||
install -pm 644 build/maven/pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
|
||||
|
||||
# script
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/xmlgraphics-fop
|
||||
|
||||
# data
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
cp -pr hyph $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
cp -pr conf $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
|
||||
# javadoc
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc NOTICE LICENSE README known-issues.xml status.xml
|
||||
|
||||
%attr(0755,root,root) %{_bindir}/xmlgraphics-fop
|
||||
%{_javadir}/%{name}*.jar
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/maven2/*
|
||||
%{_mavendepmapfragdir}/*
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue May 26 2009 David Walluck <dwalluck@redhat.com> 0:0.95-6
|
||||
- cleanup
|
||||
|
||||
* Fri Sep 12 2008 David Walluck <dwalluck@redhat.com> 0:0.95-5
|
||||
- fix java-devel requires
|
||||
|
||||
* Sun Aug 10 2008 David Walluck <dwalluck@redhat.com> 0:0.95-4
|
||||
- fix fop script
|
||||
|
||||
* Fri Aug 01 2008 David Walluck <dwalluck@redhat.com> 0:0.95-3
|
||||
- GCJ fixes
|
||||
|
||||
* Fri Aug 01 2008 David Walluck <dwalluck@redhat.com> 0:0.95-2
|
||||
- add new cli patch
|
||||
|
||||
* Thu Jul 31 2008 David Walluck <dwalluck@redhat.com> 0:0.95-1
|
||||
- 0.95
|
||||
|
||||
* Thu Jul 31 2008 David Walluck <dwalluck@redhat.com> 0:0.94-4
|
||||
- update and rebuild for xmlgraphics-batik
|
||||
- patch cli to look for xmlgraphics-fop.jar in addition to fop.jar
|
||||
|
||||
* Thu Jul 17 2008 David Walluck <dwalluck@redhat.com> 0:0.94-4
|
||||
- remove javadoc scriptlets
|
||||
- GCJ fixes
|
||||
- fix maven directory ownership
|
||||
- update BuildRoot
|
||||
- update License
|
||||
- remove Vendor and Distribution
|
||||
|
||||
* Tue Mar 18 2008 Ralph Apel <r.apel at r-apel.de> - 0:0.94-3jpp
|
||||
- Fix classpath in script
|
||||
- (B)R xerces, xalan, xml-commons-jaxp-a.3-apis
|
||||
|
||||
* Tue Feb 26 2008 Ralph Apel <r.apel at r-apel.de> - 0:0.94-2jpp
|
||||
- Replace avalon-framework with excalibur-avalon-framework-{api,impl}
|
||||
|
||||
* Mon Feb 25 2008 Ralph Apel <r.apel at r-apel.de> - 0:0.94-1jpp
|
||||
- Derived 0.94 from 0.20.5 keep this as "fop"
|
||||
- Add pom and depmap frag
|
||||
- Activate tests
|
||||
|
||||
* Fri May 11 2007 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-12jpp
|
||||
- Rebuild taking care of arch for src.rpm
|
||||
|
||||
* Thu May 10 2007 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-11jpp
|
||||
- Make Vendor, Distribution based on macro
|
||||
|
||||
* Thu Feb 22 2007 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-10jpp
|
||||
- Add gcj_support option
|
||||
|
||||
* Thu Mar 30 2006 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-9jpp
|
||||
- First build for JPP-1.7
|
||||
- Replace avalon-framework, avalon-logkit with their new excalibur-*
|
||||
counterparts
|
||||
- Drop non-free jimi and jai BRs
|
||||
|
||||
* Tue Oct 11 2005 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-8jpp
|
||||
- Patch to Batik >= 1.5.1
|
||||
|
||||
* Fri Oct 07 2005 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-7jpp
|
||||
- Omit ant -d flag
|
||||
|
||||
* Mon Aug 23 2004 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-6jpp
|
||||
- Build with ant-1.6.2
|
||||
|
||||
* Fri Aug 06 2004 Ralph Apel <r.apel at r-apel.de> - 0:0.20.5-5jpp
|
||||
- Void change
|
||||
|
||||
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:0.20.5-4jpp
|
||||
- Upgrade to Ant 1.6.X
|
||||
|
||||
* Thu Jan 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.20.5-3jpp
|
||||
- BuildRequires ant-optional.
|
||||
- Crosslink with full J2SE javadocs instead of just JAXP/XML-commons.
|
||||
- Add Main-Class back to manifest.
|
||||
|
||||
* Tue Sep 23 2003 Paul Nasrat <pauln at truemesh.com> - 0:0.20.5-2jpp
|
||||
- Fix script and requires
|
||||
- Remove class path in manifest
|
||||
- New javadoc style
|
||||
|
||||
* Sat Jul 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.20.5-1jpp
|
||||
- Update to 0.20.5.
|
||||
- Crosslink with xml-commons-apis and batik javadocs.
|
||||
- BuildRequires jai, jce and jimi.
|
||||
|
||||
* Sat Jun 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.20.5-0.rc3a.1jpp
|
||||
- Update to 0.20.5rc3a.
|
||||
- Include fop script.
|
||||
- Non-versioned javadoc symlinks.
|
||||
|
||||
* Thu Apr 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.20.5-0.rc2.1jpp
|
||||
- Update to 0.20.5rc2 and JPackage 1.5.
|
||||
|
||||
* Sun Mar 10 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 0.20.3-1jpp
|
||||
- 0.20.3 final
|
||||
- fixed missing symlink
|
||||
|
||||
* Mon Jan 21 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 0.20.3-0.rc.1jpp
|
||||
- 0.20.3rc
|
||||
- first unified release
|
||||
- javadoc into javadoc package
|
||||
- no dependencies for manual package
|
||||
- s/jPackage/JPackage
|
||||
- adaptation to new xalan-j2 package
|
||||
- requires and buildrequires avalon-logkit
|
||||
|
||||
* Thu Aug 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 0.20.1-1mdk
|
||||
- first release
|
Loading…
Reference in New Issue
Block a user