rpms/xmlrpc3/devel xmlrpc3-client-addosgimanifest.patch, NONE, 1.1 xmlrpc3-common-addosgimanifest.patch, NONE, 1.1 xmlrpc3.spec, 1.2, 1.3
Andrew Overholt (overholt)
fedora-extras-commits at redhat.com
Fri Sep 7 17:53:43 UTC 2007
Author: overholt
Update of /cvs/pkgs/rpms/xmlrpc3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27565
Modified Files:
xmlrpc3.spec
Added Files:
xmlrpc3-client-addosgimanifest.patch
xmlrpc3-common-addosgimanifest.patch
Log Message:
* Fri Sep 07 2007 Andrew Overholt <overholt at redhat.com> 3.0-1jpp.3
- Add OSGi manifests.
xmlrpc3-client-addosgimanifest.patch:
--- NEW FILE xmlrpc3-client-addosgimanifest.patch ---
--- pom.xml.orig 2007-09-06 14:09:29.000000000 -0400
+++ pom.xml 2007-09-06 14:14:25.000000000 -0400
@@ -11,7 +11,29 @@
<name>Apache XML-RPC Client Library</name>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
- </build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
+ <Bundle-Name>%Bundle-Name</Bundle-Name>
+ <Bundle-Localization>plugin</Bundle-Localization>
+ <Bundle-SymbolicName>org.apache.xmlrpc</Bundle-SymbolicName>
+ <Bundle-Version>3.0.0.qualifier</Bundle-Version>
+ <Export-Package>org.apache.xmlrpc.client, org.apache.xmlrpc.client.util</Export-Package>
+ <Import-Package>javax.xml.bind, javax.xml.namespace, javax.xml.parsers, org.apache.commons.httpclient, org.apache.commons.httpclient.auth, org.apache.commons.httpclient.methods, org.apache.commons.httpclient.params, org.apache.commons.logging, org.apache.ws.commons.serialize, org.apache.ws.commons.util, org.w3c.dom, org.xml.sax, org.xml.sax.helpers</Import-Package>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.4, CDC-1.0/Foundation-1.0, J2SE-1.3</Bundle-RequiredExecutionEnvironment>
+ <Eclipse-BuddyPolicy>dependent</Eclipse-BuddyPolicy>
+ <Bundle-Vendor>%Bundle-Vendor.0</Bundle-Vendor>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<dependencies>
<dependency>
<groupId>org.apache.xmlrpc</groupId>
xmlrpc3-common-addosgimanifest.patch:
--- NEW FILE xmlrpc3-common-addosgimanifest.patch ---
--- pom.xml.orig 2007-09-06 14:09:36.000000000 -0400
+++ pom.xml 2007-09-06 14:12:43.000000000 -0400
@@ -34,6 +34,26 @@
</configuration>
</plugin>
-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
+ <Bundle-Name>%Bundle-Name</Bundle-Name>
+ <Bundle-Localization>plugin</Bundle-Localization>
+ <Bundle-SymbolicName>org.apache.xmlrpc</Bundle-SymbolicName>
+ <Bundle-Version>3.0.0.qualifier</Bundle-Version>
+ <Export-Package>org.apache.xmlrpc, org.apache.xmlrpc.common, org.apache.xmlrpc.jaxb, org.apache.xmlrpc.parser, org.apache.xmlrpc.serializer, org.apache.xmlrpc.util</Export-Package>
+ <Import-Package>javax.xml.bind, javax.xml.namespace, javax.xml.parsers, org.apache.commons.httpclient, org.apache.commons.httpclient.auth, org.apache.commons.httpclient.methods, org.apache.commons.httpclient.params, org.apache.commons.logging, org.apache.ws.commons.serialize, org.apache.ws.commons.util, org.w3c.dom, org.xml.sax, org.xml.sax.helpers</Import-Package>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.4, CDC-1.0/Foundation-1.0, J2SE-1.3</Bundle-RequiredExecutionEnvironment>
+ <Eclipse-BuddyPolicy>dependent</Eclipse-BuddyPolicy>
+ <Bundle-Vendor>%Bundle-Vendor.0</Bundle-Vendor>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>
Index: xmlrpc3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xmlrpc3/devel/xmlrpc3.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xmlrpc3.spec 24 Aug 2007 14:28:51 -0000 1.2
+++ xmlrpc3.spec 7 Sep 2007 17:53:10 -0000 1.3
@@ -35,7 +35,7 @@
Name: xmlrpc3
Version: 3.0
-Release: 1jpp.2%{?dist}
+Release: 1jpp.3%{?dist}
Summary: Java XML-RPC implementation
License: Apache Software License
Group: Development/Libraries
@@ -46,6 +46,9 @@
# The tests pom.xml doesn't include necessary dependencies on junit and
# servletapi
Patch0: %{name}-addjunitandservletapitotestpom.patch
+# Add OSGi MANIFEST information
+Patch1: %{name}-client-addosgimanifest.patch
+Patch2: %{name}-common-addosgimanifest.patch
BuildRequires: dos2unix
BuildRequires: maven2 >= 2.0.4
@@ -152,6 +155,12 @@
%setup -q -n %{mainname}-%{version}
%patch0
cp %{SOURCE1} .
+pushd client
+%patch1
+popd
+pushd common
+%patch2
+popd
%build
dos2unix LICENSE.txt
@@ -258,6 +267,9 @@
%{_javadir}/%{name}-server-%{version}-sources.jar
%changelog
+* Fri Sep 07 2007 Andrew Overholt <overholt at redhat.com> 3.0-1jpp.3
+- Add OSGi manifests.
+
* Fri Aug 24 2007 Andrew Overholt <overholt at redhat.com> 3.0-1jpp.2
- Rebuild.
More information about the fedora-extras-commits
mailing list