Compare commits

...
Sign in to create a new pull request.

43 commits

Author SHA1 Message Date
Hans de Goede
82c464b1ef No packages in Fedora are using wx-jaxme any-more, retire it 2019-08-17 21:03:12 +02:00
Fedora Release Engineering
d992ac23f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:44:35 +00:00
Fedora Release Engineering
c7f072cbbf - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:57:43 +00:00
Fedora Release Engineering
50d7d08465 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:00:35 +00:00
Fedora Release Engineering
a7cc42a2d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:11:01 +00:00
Mikolaj Izdebski
5e1db0dc1e Elimitate race condition when injecting JAR manifest
Resolves: rhbz#1495239
2017-09-25 18:13:22 +02:00
Fedora Release Engineering
95c92ed099 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:46:48 +00:00
Michael Simacek
db9be72972 Install with XMvn 2017-03-22 14:00:19 +01:00
Michael Simacek
ffde061a02 Avoid absolute paths to binaries 2017-02-23 11:59:38 +01:00
Michael Simacek
d4350e776d Add hsqldb conditional 2017-02-07 15:07:52 +01:00
Mikolaj Izdebski
44e45dfa9b Remove build-requires on perl 2016-10-03 08:10:51 +02:00
gil
c3e243a0c4 add missing BR 2016-07-21 09:04:11 +02:00
Fedora Release Engineering
6c56047d27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:10:28 +00:00
Dennis Gilmore
e2f09dda8b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:36:34 +00:00
gil
986db59a5e introduce license macro 2015-02-14 00:17:05 +01:00
gil
fecb59af34 fix BR list 2014-06-10 16:27:57 +02:00
gil
d5b89586e6 fix BR list 2014-06-10 16:18:44 +02:00
gil
2b67b8c992 fix BR list 2014-06-10 16:08:36 +02:00
Dennis Gilmore
9c29076f48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:55:51 -05:00
Mikolaj Izdebski
e385aac8c1 Use .mfiles generated during build 2014-05-29 12:23:46 +02:00
gil
fc3a4cc83b minor changes to update to current packaging guidelines, added maven poms 2013-09-07 09:47:36 +02:00
Dennis Gilmore
831b18e111 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:18:48 -05:00
Hans de Goede
4baf497727 Fix FTBFS (add xalan-j2-serializer to classpath) (rhbz#914580) 2013-03-05 23:01:14 +01:00
Dennis Gilmore
fbc68367c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:19:14 -06:00
Stanislav Ochotnicky
7e0df561a8 Add LICENSE and NOTICE files too all (sub)packages 2012-08-23 18:55:26 +02:00
Hans de Goede
0ae5301b80 Build all class files in 1.5 format (rhbz#842624) 2012-07-27 16:20:43 +02:00
Dennis Gilmore
e090033a3d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 23:04:53 -05:00
Alexander Kurtakov
9e560ee653 Fix the dependencies. 2012-04-06 15:25:48 +03:00
Alexander Kurtakov
d1f7125171 Guideline fixes. 2012-04-06 14:57:07 +03:00
Roland Grunberg
d123e7278b - Update to 0.5.2.
- Remove xmldb-api due to deprecation.
- Fix ws-jaxme-ant-scripts.patch to apply cleanly.
2012-02-08 13:38:02 -05:00
Dennis Gilmore
c456c2f9d4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:30:40 -06:00
Dennis Gilmore
515960dd37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 21:13:36 -06:00
Alexander Kurtakov
f4f2b0744c Fix ant-nodeps in the classpath. 2010-12-21 14:05:08 +02:00
Alexander Kurtakov
32a0a9f3ab Fix FTBFS. 2010-12-21 13:50:30 +02:00
Fedora Release Engineering
e516820331 dist-git conversion 2010-07-29 15:26:54 +00:00
Bill Nottingham
100565f0fa Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:17 +00:00
Jesse Keating
c66ef21b0e - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 07:28:52 +00:00
Jesse Keating
8ee47e9a96 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 07:18:09 +00:00
Alexander Kurtakov
86deb70e14 BR ant-apache-resolver. 2008-10-22 20:30:51 +00:00
Alexander Kurtakov
4720c949f0 BR java-devel >= 1.6.0 2008-10-22 18:28:30 +00:00
Alexander Kurtakov
a81ba7454a BR docbook-style-xsl 2008-10-22 18:10:06 +00:00
Alexander Kurtakov
cc32625ce0 - Partial sync with jpackage to get build fixes.
- Add osgi manifest to jaxmeapi.jar.
2008-10-22 17:54:36 +00:00
Tom Callaway
bd18afa4cd fix repotag 2008-07-10 19:53:59 +00:00
8 changed files with 1 additions and 363 deletions

View file

@ -1,2 +0,0 @@
ws-jaxme-0.5-docs.tar.gz
ws-jaxme-0.5.1-src.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: ws-jaxme
# $Id$
NAME := ws-jaxme
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
No packages in Fedora are using wx-jaxme any-more, retire it

View file

@ -1,2 +0,0 @@
c22a1c7267520c7dfab916825a63218b ws-jaxme-0.5-docs.tar.gz
23c15eb2fd576509822d74d8401cb575 ws-jaxme-0.5.1-src.tar.gz

View file

@ -1,7 +0,0 @@
--- src/js/org/apache/ws/jaxme/js/junit/create.sql.sav 2006-05-04 12:51:33.000000000 +0200
+++ src/js/org/apache/ws/jaxme/js/junit/create.sql 2006-05-04 12:51:54.000000000 +0200
@@ -1,3 +1,4 @@
CREATE CACHED TABLE MAIN ( ID BIGINT NOT NULL, NAME VARCHAR(60) NOT NULL, VER INT NOT NULL, SIG BINARY(16) NOT NULL, DATE DATE NOT NULL, PRIMARY KEY (ID, VER));
CREATE CACHED TABLE SUB ( MTID BIGINT NOT NULL, MTVER INT NOT NULL, ADDRESS VARCHAR(60) NOT NULL, ID VARCHAR(32) NOT NULL, EMAIL VARCHAR(60), PRIMARY KEY (ID), FOREIGN KEY (MTID, MTVER) REFERENCES MAIN (ID, VER));
CREATE CACHED TABLE SUBSUB ( ID VARCHAR(32) NOT NULL, MTID BIGINT NOT NULL, MTVER INT NOT NULL, SSTID VARCHAR(32) NOT NULL, MTTS TIMESTAMP NOT NULL, PRIMARY KEY (ID), FOREIGN KEY (MTID, MTVER) REFERENCES MAIN (ID, VER), FOREIGN KEY (SSTID) REFERENCES SUB (ID));
+SHUTDOWN;

View file

@ -1,92 +0,0 @@
--- ./ant/js.xml.sav 2005-08-12 03:39:29.000000000 -0400
+++ ./ant/js.xml 2007-02-12 12:31:25.000000000 -0500
@@ -34,15 +34,15 @@
<property name="src.js" location="${basedir}/src/js"/>
<path id="js.class.path">
- <pathelement location="${preqs}/log4j-1.2.8.jar"/>
- <pathelement location="${preqs}/ant-1.5.4.jar"/>
+ <pathelement location="${preqs}/log4j.jar"/>
+ <pathelement location="${preqs}/ant.jar"/>
<pathelement location="${preqs}/junit.jar"/>
<pathelement location="${preqs}/antlr.jar"/>
</path>
<path id="js.test.path">
<path refid="js.class.path"/>
- <pathelement location="${preqs}/hsqldb-1.7.1.jar"/>
+ <pathelement location="${preqs}/hsqldb.jar"/>
<pathelement location="${dist}/jaxmejs-${version}.jar"/>
<pathelement location="${build.js.test.classes}"/>
</path>
@@ -129,6 +129,7 @@
</target>
<target name="JS.generate.version" depends="JS.generate.db">
+
<versionGenerator
driver="${jdbc.driver}"
url="${jdbc.url}"
--- ./ant/pm.xml.sav 2005-08-12 03:39:29.000000000 -0400
+++ ./ant/pm.xml 2007-02-12 12:31:25.000000000 -0500
@@ -37,11 +37,11 @@
<pathelement location="${dist}/jaxmexs-${version}.jar"/>
<pathelement location="${dist}/jaxme2-${version}.jar"/>
<pathelement location="${preqs}/beaver.jar"/>
- <pathelement location="${preqs}/hsqldb-1.7.1.jar"/>
+ <pathelement location="${preqs}/hsqldb.jar"/>
<pathelement location="${preqs}/ant.jar"/>
- <pathelement location="${preqs}/xml-apis.jar"/>
- <pathelement location="${preqs}/xercesImpl.jar"/>
- <pathelement location="${preqs}/xmldb-api-20021118.jar"/>
+ <pathelement location="${preqs}/xml-commons-apis.jar"/>
+ <pathelement location="${preqs}/xerces-j2.jar"/>
+ <pathelement location="${preqs}/xmldb-api.jar"/>
<!-- These aren't in the CVS and aren't necessary for the build -->
<pathelement location="${preqs}/TaminoAPI4J.jar"/>
<pathelement location="${preqs}/TaminoJCA.jar"/>
--- ./ant/jm.xml.sav 2005-08-12 03:39:29.000000000 -0400
+++ ./ant/jm.xml 2007-02-12 12:31:41.000000000 -0500
@@ -34,9 +34,10 @@
<pathelement location="${dist}/jaxmejs-${version}.jar"/>
<pathelement location="${dist}/jaxmexs-${version}.jar"/>
<pathelement location="${preqs}/ant.jar"/>
- <pathelement location="${preqs}/xml-apis.jar"/>
+ <pathelement location="${preqs}/xml-commons-apis.jar"/>
<pathelement location="${preqs}/beaver.jar"/>
<pathelement location="${preqs}/antlr.jar"/>
+ <pathelement location="${preqs}/commons-codec.jar"/>
</path>
<path id="jaxme.test.path">
--- ./ant/xs.xml.sav 2005-08-12 03:39:29.000000000 -0400
+++ ./ant/xs.xml 2007-02-12 12:31:25.000000000 -0500
@@ -23,7 +23,7 @@
<property name="src.xs" location="${basedir}/src/xs"/>
<path id="xs.class.path">
- <pathelement location="${preqs}/xml-apis.jar"/>
+ <pathelement location="${preqs}/xml-commons-apis.jar"/>
<pathelement location="${preqs}/junit.jar"/>
<pathelement location="${dist}/jaxmeapi-${version}.jar"/>
</path>
@@ -48,7 +48,7 @@
<path id="xs.test.path">
<path refid="xs.class.path"/>
<pathelement location="${dist}/jaxmexs-${version}.jar"/>
- <pathelement location="${preqs}/xercesImpl.jar"/>
+ <pathelement location="${preqs}/xerces-j2.jar"/>
</path>
<runtests reportsdir="${build.xs.reports}" classpathref="xs.test.path">
<tests>
--- ./ant/api.xml.sav 2005-08-12 03:39:29.000000000 -0400
+++ ./ant/api.xml 2007-02-12 12:31:25.000000000 -0500
@@ -25,7 +25,7 @@
</target>
<path id="api.class.path">
- <pathelement location="${preqs}/xml-apis.jar"/>
+ <pathelement location="${preqs}/xml-commons-apis.jar"/>
</path>
<target name="API.compile" depends="init">

View file

@ -1,28 +0,0 @@
--- ./src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java.sav 2007-02-12 12:33:45.000000000 -0500
+++ ./src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java 2007-02-12 12:35:20.000000000 -0500
@@ -18,8 +18,7 @@
import java.io.IOException;
-import sun.misc.BASE64Decoder;
-import sun.misc.BASE64Encoder;
+import org.apache.commons.codec.binary.Base64;
/** A utility class for working with base64 encoding.
@@ -37,13 +36,13 @@
* base64 encoded byte array.
*/
public static byte[] decode(String pValue) throws IOException {
- return (new BASE64Decoder()).decodeBuffer(pValue);
+ return (new Base64()).decode(pValue.getBytes());
}
/** Converts the base64 encoded byte array <code>pValue</code>
* into a string.
*/
public static String encode(byte[] pValue) {
- return (new BASE64Encoder()).encode(pValue);
+ return new String((new Base64()).encodeBase64(pValue));
}
}

View file

@ -1,211 +0,0 @@
# Copyright (c) 2000-2005, 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.
#
%define base_name jaxme
Name: ws-jaxme
Version: 0.5.1
Release: 2jpp.1%{?dist}
Epoch: 0
Summary: Open source implementation of JAXB
Group: Development/Libraries/Java
License: Apache Software License
URL: http://ws.apache.org/jaxme/
# svn export http://svn.apache.org/repos/asf/webservices/jaxme/tags/R0_5_1/ ws-jaxme-0.5.1
# tar czf ws-jaxme-0.5.1-src.tar.gz ws-jaxme
Source0: ws-jaxme-0.5.1-src.tar.gz
Source1: ws-jaxme-0.5-docs.tar.gz
# generated docs with forrest-0.5.1
Patch0: ws-jaxme-ant-scripts.patch
Patch1: ws-jaxme-0.5.1-create_sql.patch
Patch2: ws-jaxme-use-commons-codec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: jpackage-utils >= 0:1.6
BuildRequires: ant >= 0:1.6
BuildRequires: ant-trax >= 0:1.6
BuildRequires: antlr
BuildRequires: jaxp_transform_impl
BuildRequires: jakarta-commons-codec
BuildRequires: junit
BuildRequires: hsqldb
BuildRequires: log4j
BuildRequires: xalan-j2
BuildRequires: xmldb-api
BuildRequires: xmldb-api-sdk
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
Requires: antlr
Requires: jaxp_transform_impl
Requires: jakarta-commons-codec
Requires: junit
Requires: hsqldb
Requires: log4j
Requires: xalan-j2
Requires: xmldb-api
Requires: xmldb-api-sdk
Requires: xerces-j2
Requires: xml-commons-apis
Requires: jpackage-utils
Requires(postun): jpackage-utils
%description
A Java/XML binding compiler takes as input a schema
description (in most cases an XML schema, but it may
be a DTD, a RelaxNG schema, a Java class inspected
via reflection, or a database schema). The output is
a set of Java classes:
* A Java bean class matching the schema description.
(If the schema was obtained via Java reflection,
the original Java bean class.)
* Read a conforming XML document and convert it into
the equivalent Java bean.
* Vice versa, marshal the Java bean back into the
original XML document.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation
Requires: jpackage-utils
Requires(postun): jpackage-utils
%description javadoc
%{summary}.
%package manual
Summary: Documents for %{name}
Group: Documentation
%description manual
%{summary}.
%prep
%setup -q -n %{name}-%{version}
for j in $(find . -name "*.jar"); do
mv $j $j.no
done
mkdir -p build/docs/build/site
pushd build/docs/build/site
tar xzf %{SOURCE1}
popd
%patch0 -b .sav
%patch1 -b .sav
%patch2 -b .sav
%build
build-jar-repository -s -p prerequisites \
ant \
antlr \
commons-codec \
junit \
log4j \
servletapi5 \
xerces-j2 \
xml-commons-apis \
xmldb-api \
xmldb-api-sdk \
hsqldb \
ant all javadoc
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{_javadir}/%{base_name}
for jar in dist/*.jar; do
install -m 644 ${jar} $RPM_BUILD_ROOT%{_javadir}/%{base_name}/
done
(cd $RPM_BUILD_ROOT%{_javadir}/%{base_name} &&
for jar in *-%{version}*;
do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`;
done
)
(cd $RPM_BUILD_ROOT%{_javadir}/%{base_name} &&
for jar in *.jar;
do ln -sf ${jar} ws-${jar};
done
)
#javadoc
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build/docs/src/documentation/content/apidocs \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
rm -rf build/docs/build/site/apidocs
#manual
install -dm 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp -pr build/docs/build/site/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
install -pm 644 LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-%{version}/LICENSE
%{_javadir}/%{base_name}
%files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}
%files manual
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-%{version}
%changelog
* Mon Feb 12 2007 Deepak Bhole <dbhole@redhat.com> - 0:0.5.1-2jpp.1
- Update as per Fedora guidelines.
* Wed May 04 2006 Ralph Apel <r.apel at r-apel.de> - 0:0.5.1-1jpp
- First JPP-1.7 release
* Tue Dec 20 2005 Ralph Apel <r.apel at r-apel.de> - 0:0.5-1jpp
- Upgrade to 0.5
* Thu Sep 09 2004 Ralph Apel <r.apel at r-apel.de> - 0:0.3.1-1jpp
- Fix version in changelog
- Upgrade to 0.3.1
* Fri Aug 30 2004 Ralph Apel <r.apel at r-apel.de> - 0:2.0-0.b1.4jpp
- Build with ant-1.6.2
* Fri Aug 06 2004 Ralph Apel <r.apel at r-apel.de> - 0:2.0-0.b1.3jpp
- Void change
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:2.0-0.b1.2jpp
- Upgrade to Ant 1.6.X
* Fri Mar 04 2004 Ralph Apel <r.apel at r-apel.de> - 0:2.0-0.b1.1jpp
- First JPackage release