- Version bump to 1.6.3 to match upstream code.

* Package done to match fedora one.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/wsdl4j?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal 2014-06-17 15:37:38 +00:00 committed by Git OBS Bridge
parent f2968fb96a
commit ba42fd32d0
7 changed files with 93 additions and 55 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6d53069a6050f35df350f2008226bf551eae6a1b20978cd94004b152d2b26ae
size 6014923

32
wsdl4j-1.6.3.pom Normal file
View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
<version>1.6.3</version>
<packaging>jar</packaging>
<name>WSDL4J</name>
<url>http://sf.net/projects/wsdl4j</url>
<description>Java stub generator for WSDL</description>
<dependencies/>
<licenses>
<license>
<name>CPL</name>
<url>http://www.opensource.org/licenses/cpl1.0.txt</url>
<distribution>repo</distribution>
<comments>Common Public License</comments>
</license>
</licenses>
<scm>
<connection>scm:cvs:pserver:anonymous@wsdl4j.cvs.sourceforge.net:/cvsroot/wsdl4j</connection>
<developerConnection>scm:cvs:pserver:wsdl4j.cvs.sourceforge.net:/cvsroot/wsdl4j</developerConnection>
<url>http://wsdl4j.cvs.sourceforge.net/wsdl4j</url>
</scm>
<developers>
<developer>
<id>wsdl4j</id>
<name>WSDL4J</name>
<email>wsdl4j-discuss@sourceforge.net</email>
</developer>
</developers>
</project>

23
wsdl4j-MANIFEST.MF Normal file
View File

@ -0,0 +1,23 @@
Manifest-Version: 1.0
Bundle-SymbolicName: javax.wsdl
Specification-Version: 1.2
Bundle-ManifestVersion: 2
Specification-Title: JWSDL
Bundle-Version: 1.6.3
Bundle-Vendor: IBM
Implementation-Vendor: IBM
Bundle-RequiredExecutionEnvironment: J2SE-1.2
Bundle-Localization: plugin
Bundle-Name: WSDL4J
Specification-Vendor: IBM (Java Community Process)
Implementation-Version: 1.6
Bundle-ClassPath: .
Implementation-Title: WSDL4J
Export-Package: com.ibm.wsdl,com.ibm.wsdl.extensions,com.ibm.wsdl.exte
nsions.http,com.ibm.wsdl.extensions.mime,com.ibm.wsdl.extensions.sche
ma,com.ibm.wsdl.extensions.soap,com.ibm.wsdl.extensions.soap12,com.ib
m.wsdl.factory,com.ibm.wsdl.util,com.ibm.wsdl.util.xml,com.ibm.wsdl.x
ml,javax.wsdl,javax.wsdl.extensions,javax.wsdl.extensions.http,javax.
wsdl.extensions.mime,javax.wsdl.extensions.schema,javax.wsdl.extensio
ns.soap,javax.wsdl.extensions.soap12,javax.wsdl.factory,javax.wsdl.xm
l

View File

@ -1,13 +0,0 @@
diff -Naur ../wsdl4j-1.5.1.orig/build.xml ./build.xml
--- ../wsdl4j-1.5.1.orig/build.xml 2005-04-12 16:10:33.000000000 +0200
+++ ./build.xml 2006-09-22 15:35:08.000000000 +0200
@@ -118,7 +118,8 @@
<!-- =================================================================== -->
<target name="compile" depends="prepare">
<mkdir dir="${build.dest}"/>
- <javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}">
+ <javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}"
+ target="1.4" source="1.4">
<patternset refid="javac.source.files"/>
</javac>

BIN
wsdl4j-src-1.6.3.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 17 15:36:50 UTC 2014 - tchvatal@suse.com
- Version bump to 1.6.3 to match upstream code.
* Package done to match fedora one.
-------------------------------------------------------------------
Fri Sep 13 08:19:51 UTC 2013 - mvyskocil@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package wsdl4j
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,28 +20,22 @@
Name: wsdl4j
BuildRequires: ant-junit
BuildRequires: java2-devel-packages
BuildRequires: unzip
BuildRequires: xml-commons-apis
%define name wsdl4j
%define version 1.5.1
%define release 1jpp
%define section free
# -----------------------------------------------------------------------------
BuildRequires: zip
Summary: Web Services Description Language Toolkit for Java
License: IPL-1.0
Group: Development/Libraries/Java
Version: 1.5.1
Version: 1.6.3
Release: 0
Url: http://www-124.ibm.com/developerworks/projects/wsdl4j/
Url: http://sourceforge.net/projects/wsdl4j
BuildArch: noarch
Source0: wsdl4j-%{version}-src.tar.gz
##cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wsdl4j login
##cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wsdl4j export -r wsdl4j-1_5_1 wsdl4j
Patch: %{name}-java14compat.patch
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.zip
Source1: %{name}-MANIFEST.MF
Source2: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/%{version}/wsdl4j-%{version}.pom
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: java
Requires: jaxp_parser_impl
#XXX: temporary fix to make axis auto dependencies work, need to revork package
Provides: osgi(javax.wsdl)
%description
The Web Services Description Language for Java Toolkit (WSDL4J) allows
@ -68,45 +62,41 @@ Description Language for Java.
%prep
%setup -q -n %{name}-%{version}
%patch
%setup -q -n %{name}-1_6_3
%build
export OPT_JAR_LIST="ant/ant-junit junit"
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
#ant -Dbuild.compiler=modern compile
#ant -Dbuild.compiler=modern javadocs
ant -Dbuild.compiler=modern compile test javadocs
ant compile javadocs
%install
# inject OSGi manifests
mkdir -p META-INF
cp -p %{SOURCE1} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/lib/%{name}.jar META-INF/MANIFEST.MF
# jars
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}
for jar in %{name}.jar qname.jar ; do
vjar=$(echo $jar | sed s+.jar+-%{version}.jar+g)
install -m 644 build/lib/$jar $RPM_BUILD_ROOT%{_javadir}/$vjar
pushd $RPM_BUILD_ROOT%{_javadir}
ln -fs $vjar $jar
popd
done
install -m 644 build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
install -m 644 build/lib/qname.jar $RPM_BUILD_ROOT%{_javadir}/qname.jar
# POMs
install -d -m 0755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar
# javadoc
install -d -m 0755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/
%clean
rm -rf $RPM_BUILD_ROOT
%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
%postun javadoc
if [ "$1" = "0" ]; then
rm -f %{_javadocdir}/%{name}
fi
install -d -m 755 %{buildroot}%{_javadir}/javax.wsdl/
ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.wsdl/
ln -sf ../qname.jar %{buildroot}%{_javadir}/javax.wsdl/
%files
%defattr(0644,root,root,0755)
%doc license.html
%{_mavenpomdir}/JPP-%{name}.pom
%config %{_mavendepmapfragdir}/*
%{_javadir}/*
%files javadoc