Compare commits

..

No commits in common. "rawhide" and "f20" have entirely different histories.

8 changed files with 197 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/uddi4j-src-2.0.5.zip

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
cd358e19acb9b3a4197fce7481c0cce1 uddi4j-src-2.0.5.zip

10
uddi4j-2.0.5.pom Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.uddi4j</groupId>
<artifactId>uddi4j</artifactId>
<version>2.0.5</version>
<description>POM was created from install:install-file</description>
<distributionManagement>
<status>deployed</status>
</distributionManagement>
</project>

21
uddi4j-MANIFEST.MF Normal file
View file

@ -0,0 +1,21 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.uddi4j
Bundle-Version: 2.0.5
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Export-Package: org.uddi4j,
org.uddi4j.client,
org.uddi4j.datatype,
org.uddi4j.datatype.assertion,
org.uddi4j.datatype.binding,
org.uddi4j.datatype.business,
org.uddi4j.datatype.service,
org.uddi4j.datatype.tmodel,
org.uddi4j.request,
org.uddi4j.response,
org.uddi4j.transport,
org.uddi4j.util
Require-Bundle: org.apache.axis
Eclipse-BuddyPolicy: registered

View file

@ -0,0 +1,26 @@
diff -ur uddi4j/src.orig/org/uddi4j/datatype/business/Contact.java uddi4j/src/org/uddi4j/datatype/business/Contact.java
--- uddi4j/src.orig/org/uddi4j/datatype/business/Contact.java 2006-06-27 10:07:38.000000000 +0100
+++ uddi4j/src/org/uddi4j/datatype/business/Contact.java 2012-05-28 18:25:04.646879563 +0100
@@ -33,7 +33,7 @@
* responses from methods in the UDDIProxy class.
*
* <p><b>Element description:</b>
- * <p>Data: Can contain a contacts name, address, phone, e-mail, and a description
+ * <p>Data: Can contain a contact's name, address, phone, e-mail, and a description
* of the contact.
*
* @author David Melgar (dmelgar@us.ibm.com)
diff -ur uddi4j/src.orig/org/uddi4j/datatype/tmodel/TModel.java uddi4j/src/org/uddi4j/datatype/tmodel/TModel.java
--- uddi4j/src.orig/org/uddi4j/datatype/tmodel/TModel.java 2006-06-27 10:07:36.000000000 +0100
+++ uddi4j/src/org/uddi4j/datatype/tmodel/TModel.java 2012-05-28 18:25:44.969109399 +0100
@@ -120,8 +120,8 @@
public static final String OPERATORS_TMODEL_KEY = "UUID:327A56F0-3299-4461-BC23-5CD513E95C55";
/**
- * D-U-N-S® Number Identifier System [dnb-com:D-U-N-S]<BR>
- * This tModel is used for the Dun & Bradstreet D-U-N-S® Number identifier.
+ * D-U-N-S Number Identifier System [dnb-com:D-U-N-S]<BR>
+ * This tModel is used for the Dun & Bradstreet D-U-N-S Number identifier.
*/
public static final String D_U_N_S_TMODEL_KEY = "UUID:8609C81E-EE1F-4D5A-B202-3EB13AD01823";

View file

@ -0,0 +1,20 @@
--- uddi4j/build.xml.orig 2012-05-28 18:18:35.350315223 +0100
+++ uddi4j/build.xml 2012-05-28 19:16:41.540728041 +0100
@@ -102,7 +102,7 @@
<!-- Edit these property values to point to the correct locations of these jars. -->
<property name="w3cdom.location" value="xerces.jar;"/>
- <property name="jaxrpc.location" value="j2ee.jar"/>
+ <property name="jaxrpc.location" value="jaxrpc.jar"/>
<property name="saaj.location" value="saaj.jar"/>
<property name="apache.soap.location" value="soap.jar"/>
<property name="apache.axis.location" value="axis.jar"/>
@@ -121,7 +121,7 @@
<echo message="UDDI4J build classpath = ${classpath.to.echo}"/>
<!-- Edit this property value to point to the correct location of the javac.exe file. -->
- <property name="javac.executable" value="javac.exe"/>
+ <property name="javac.executable" value="javac"/>
<available classname="org.apache.soap.messaging.Message"
classpathref="uddi4j.build.classpath"

118
uddi4j.spec Normal file
View file

@ -0,0 +1,118 @@
Name: uddi4j
Version: 2.0.5
Release: 7%{?dist}
Summary: Universal Description, Discovery and Integration registry API for Java
Group: Development/Libraries
License: IBM
URL: http://sourceforge.net/projects/uddi4j/
Source0: http://downloads.sf.net/project/uddi4j/uddi4j/%{version}/uddi4j-src-%{version}.zip
Source1: %{name}-MANIFEST.MF
Source2: http://repo1.maven.org/maven2/org/uddi4j/uddi4j/%{version}/uddi4j-%{version}.pom
# Set javac path in build.xml
Patch0: uddi4j-set-javac-path.patch
# A couple of utf8 incompatible chars prevent compile
Patch1: uddi4j-remove-nonutf8-chars.patch
BuildArch: noarch
BuildRequires: ant
BuildRequires: axis
BuildRequires: xerces-j2
BuildRequires: java-devel
BuildRequires: jpackage-utils
Requires: java
Requires: axis
Requires: xerces-j2
Requires: jpackage-utils
%description
UDDI4J is a Java class library that provides an API to interact with a
UDDI (Universal Description, Discovery and Integration) registry.
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
ln -s %{_datadir}/java/axis/saaj.jar
ln -s %{_datadir}/java/axis/axis.jar
ln -s %{_datadir}/java/axis/jaxrpc.jar
ln -s %{_datadir}/java/xerces-j2.jar xerces.jar
%build
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
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}
cp -p build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
install -d -m 0755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# 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
%files
%doc README
%doc LICENSE.html
%doc BuildDate.txt
%doc ReleaseNotes.html
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
%doc README
%doc LICENSE.html
%{_javadocdir}/%{name}
%changelog
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jun 01 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.0.5-4
- Remove Bundle-Classpath from MANIFEST.MF
- Update Source0 URL so it's not just relying on one mirror
* Tue May 29 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.0.5-3
- Add line to copy javadocs
* Tue May 29 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.0.5-2
- Fix rpmlint issues: source urls; tabs and space warnings
- Remove BuildDate.txt and ReleaseNotes.html from javadoc
- Drop -version from javadoc install path
- Change group to Development/Libraries
- Remove defattr(-,root,root,-)
- Remove rm -rf RPM_BUILD_ROOT
* Mon May 28 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.0.5-1
- Initial packaging