Move to Batik 1.7 manifests.
- Remove old stuff.
This commit is contained in:
parent
6757b751d0
commit
9b0dbf90cd
@ -1,12 +0,0 @@
|
||||
--- ./batik-dom-svg-MANIFEST.MF 2011-07-08 13:40:27.911556763 -0400
|
||||
+++ ./batik-dom-svg-MANIFEST.MF 2011-07-08 13:41:33.834333213 -0400
|
||||
@@ -8,8 +8,7 @@
|
||||
g.apache.batik.dom;bundle-version="[1.6.0,1.7.0)",org.apache.batik.pa
|
||||
rser;bundle-version="[1.6.0,1.7.0)",org.apache.batik.util;bundle-vers
|
||||
ion="[1.6.0,1.7.0)",org.w3c.css.sac;bundle-version="[1.3.0,1.4.0)",or
|
||||
- g.w3c.dom.smil;bundle-version="[1.0.0,1.1.0)",org.w3c.dom.svg;bundle-
|
||||
- version="[1.1.0,1.3.0)"
|
||||
+ g.w3c.dom.svg;bundle-version="[1.1.0,1.3.0)"
|
||||
Bundle-Version: 1.6.0.v201011041432
|
||||
Export-Package: org.apache.batik.dom.svg;version="1.6.0",org.apache.ba
|
||||
tik.dom.svg12;version="1.6.0"
|
||||
@ -1,9 +0,0 @@
|
||||
--- batik-dom-svg-MANIFEST.MF 2011-07-08 14:10:12.527952393 -0400
|
||||
+++ batik-dom-svg-MANIFEST.MF 2011-07-08 14:10:38.468245610 -0400
|
||||
@@ -22,5 +22,5 @@
|
||||
Implementation-Version: 1.7+r608262
|
||||
Import-Package: org.w3c.dom.svg;version="[1.1.0,1.3.0)",org.w3c.dom.ev
|
||||
ents;version="[3.0.0,4.0.0)",org.w3c.css.sac;version="[1.3.0,1.4.0)";
|
||||
- provenance=W3C,org.w3c.dom.smil;version="[1.0.0,1.1.0)"
|
||||
+ provenance=W3C
|
||||
Bundle-ManifestVersion: 2
|
||||
@ -1,13 +0,0 @@
|
||||
--- /home/tbento/build.xml 2007-08-23 10:46:31.000000000 -0400
|
||||
+++ build.xml 2007-08-23 10:48:38.000000000 -0400
|
||||
@@ -669,7 +669,9 @@
|
||||
<exclude name="**/rhino/*" unless="rhino.present"/>
|
||||
<exclude name="**/jpython/*" unless="jpython.present"/>
|
||||
<exclude name="**/jacl/*" unless="jacl.present"/>
|
||||
- <exclude name="${src}/${package-prefix}/ext/awt/image/codec/jpeg/*"
|
||||
+ <exclude name="${package-prefix}/ext/awt/image/codec/jpeg/*"
|
||||
+ unless="sun-codecs.present"/>
|
||||
+ <exclude name="${package-prefix}/ext/awt/image/codec/tiff/*"
|
||||
unless="sun-codecs.present"/>
|
||||
</javac>
|
||||
<property name="compile.done" value="true"/>
|
||||
39
batik.spec
39
batik.spec
@ -1,6 +1,6 @@
|
||||
Name: batik
|
||||
Version: 1.8
|
||||
Release: 0.11.svn1230816%{?dist}
|
||||
Release: 0.12.svn1230816%{?dist}
|
||||
Summary: Scalable Vector Graphics for Java
|
||||
License: ASL 2.0 and W3C
|
||||
URL: http://xml.apache.org/batik/
|
||||
@ -24,30 +24,23 @@ Source7: %{name}-repack.sh
|
||||
# Then manually remove all lines containing MD5sums/crypto hashes.
|
||||
# tar czf batik-1.6-orbit-manifests.tar.gz *.MF
|
||||
#
|
||||
# FIXME: move to 1.7 manifests
|
||||
Source8: %{name}-1.6-orbit-manifests.tar.gz
|
||||
Source8: %{name}-1.7-orbit-manifests.tar.gz
|
||||
|
||||
|
||||
Patch0: %{name}-manifests.patch
|
||||
Patch1: %{name}-policy.patch
|
||||
# remove dependency on bundled rhino from pom
|
||||
Patch2: %{name}-script-remove-js.patch
|
||||
# SMIL in Fedora has been merged into xml-commons-apis-ext like it has
|
||||
# been upstream. It's easier to take the OSGi manifests from Orbit
|
||||
# directly and patch this one.
|
||||
#
|
||||
# FIXME: move to 1.7 manifest from Eclipse Orbit project
|
||||
Patch3: %{name}-1.6-nosmilInDOMSVGManifest.patch
|
||||
Patch2: %{name}-script-remove-js.patch
|
||||
|
||||
# make sure we fail build if javadocs fail (run OOM)
|
||||
# also make maxmem a bit higher. we seem to need more...
|
||||
# https://issues.apache.org/jira/browse/BATIK-1065
|
||||
Patch4: %{name}-javadoc-task-failonerror-and-oom.patch
|
||||
Patch3: %{name}-javadoc-task-failonerror-and-oom.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: java-devel >= 1:1.6.0
|
||||
BuildRequires: jpackage-utils >= 1.5
|
||||
BuildRequires: javapackages-tools >= 1.5
|
||||
BuildRequires: ant
|
||||
BuildRequires: subversion
|
||||
BuildRequires: zip
|
||||
@ -59,12 +52,11 @@ BuildRequires: xalan-j2
|
||||
BuildRequires: xml-commons-apis >= 1.3.04
|
||||
|
||||
BuildRequires: java-javadoc >= 1:1.6.0
|
||||
BuildRequires: rhino-javadoc
|
||||
|
||||
Requires: java >= 1:1.6.0
|
||||
Requires: jpackage-utils
|
||||
Requires: javapackages-tools
|
||||
#full support for tiff
|
||||
Requires: jai-imageio-core
|
||||
Requires: jai-imageio-core
|
||||
Requires: rhino >= 1.5
|
||||
Requires: xalan-j2
|
||||
Requires: xml-commons-apis >= 1.3.04
|
||||
@ -156,7 +148,6 @@ rm -f `find -name properties`
|
||||
mkdir orbit
|
||||
pushd orbit
|
||||
tar xzf %{SOURCE8}
|
||||
%patch3
|
||||
popd
|
||||
|
||||
# create poms from templates
|
||||
@ -164,11 +155,11 @@ for module in anim awt-util bridge codec css dom ext extension gui-util \
|
||||
gvt parser script svg-dom svggen swing transcoder util xml \
|
||||
rasterizer slideshow squiggle svgpp ttf2svg; do
|
||||
sed "s:@version@:%{version}:g" sources/%{name}-$module.pom.template \
|
||||
> %{name}-$module.pom
|
||||
> %{name}-$module.pom
|
||||
done
|
||||
%patch2
|
||||
|
||||
%patch4
|
||||
%patch3
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath xml-commons-apis xml-commons-apis-ext js rhino xalan-j2 xalan-j2-serializer xerces-j2)
|
||||
@ -182,9 +173,6 @@ ant all-jar jars\
|
||||
rasterizer-jar \
|
||||
ttf2svg-jar
|
||||
|
||||
for j in $(find batik-%{version} -name *.jar); do
|
||||
export CLASSPATH=$CLASSPATH:${j}
|
||||
done
|
||||
ant javadoc
|
||||
|
||||
|
||||
@ -267,9 +255,6 @@ for module in anim awt-util bridge codec css dom ext extension gui-util \
|
||||
%add_maven_depmap JPP.%{name}-%{name}-$module.pom %{name}/%{name}-$module.jar -a "%{name}:%{name}-$module"
|
||||
done
|
||||
|
||||
|
||||
|
||||
|
||||
# scripts
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/squiggle
|
||||
@ -323,6 +308,10 @@ chmod +x $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/charts/convert.sh
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 23 2014 Alexander Kurtakov <akurtako@redhat.com> 1.8-0.12.svn1230816
|
||||
- Move to Batik 1.7 manifests.
|
||||
- Remove old stuff.
|
||||
|
||||
* Thu Jan 16 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8-0.11.svn1230816
|
||||
- Fix classpath for slideshow script
|
||||
- Change javadoc task maxmem to 512MB to avoid OOM
|
||||
@ -527,7 +516,7 @@ chmod +x $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/charts/convert.sh
|
||||
* Sat Nov 17 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.1-0.rc3.2jpp
|
||||
- added batik-libs creation
|
||||
|
||||
* Thu Nov 9 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.1-0.rc3.1jpp
|
||||
* Fri Nov 9 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.1-0.rc3.1jpp
|
||||
- changed version to 0.rc3.1
|
||||
|
||||
* Mon Nov 5 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.1rc3-1jpp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user