Add osgi metadata.
This commit is contained in:
parent
4cf975c36a
commit
58d2a25bf3
22
xml-commons-apis-MANIFEST.MF
Normal file
22
xml-commons-apis-MANIFEST.MF
Normal file
@ -0,0 +1,22 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.2
|
||||
Bundle-SymbolicName: javax.xml
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %Bundle-Name.0
|
||||
Bundle-Localization: plugin
|
||||
Bundle-Version: 1.3.4.v200806030440
|
||||
Bundle-Vendor: %Bundle-Vendor.0
|
||||
Require-Bundle: system.bundle
|
||||
Export-Package: javax.xml;version="1.3",javax.xml.datatype;version="1.
|
||||
3",javax.xml.namespace;version="1.3",javax.xml.parsers;version="1.3",
|
||||
javax.xml.transform;version="1.3",javax.xml.transform.dom;version="1.
|
||||
3",javax.xml.transform.sax;version="1.3",javax.xml.transform.stream;v
|
||||
ersion="1.3",javax.xml.validation;version="1.3",javax.xml.xpath;versi
|
||||
on="1.3",org.apache.xmlcommons;version="1.3.4",org.w3c.dom;version="3
|
||||
.0",org.w3c.dom.bootstrap;version="3.0",org.w3c.dom.css;version="3.0"
|
||||
,org.w3c.dom.events;version="3.0",org.w3c.dom.html;version="3.0",org.
|
||||
w3c.dom.ls;version="3.0",org.w3c.dom.ranges;version="3.0",org.w3c.dom
|
||||
.stylesheets;version="3.0",org.w3c.dom.traversal;version="3.0",org.w3
|
||||
c.dom.views;version="3.0",org.w3c.dom.xpath;version="3.0",org.xml.sax
|
||||
;version="2.0.2",org.xml.sax.ext;version="2.0.2",org.xml.sax.helpers;
|
||||
version="2.0.2"
|
@ -35,13 +35,14 @@
|
||||
Name: xml-commons-apis
|
||||
Summary: APIs for DOM, SAX, and JAXP
|
||||
Version: 1.3.04
|
||||
Release: 1.3%{?dist}
|
||||
Release: 1.4%{?dist}
|
||||
Epoch: 0
|
||||
License: ASL 2.0 and W3C and Public Domain
|
||||
URL: http://xml.apache.org/commons/
|
||||
Source0: xml-commons-external-1.3.04-src.tar.gz
|
||||
# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/java/external/
|
||||
# tar czf xml-commons-external-1.3.04-src.tar.gz external
|
||||
Source1: %{name}-MANIFEST.MF
|
||||
Requires: jpackage-utils >= 0:1.5
|
||||
BuildRequires: jpackage-utils >= 0:1.5
|
||||
BuildRequires: ant
|
||||
@ -105,6 +106,12 @@ ant jar javadoc
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# inject OSGi manifests
|
||||
mkdir -p META-INF
|
||||
cp -p %{SOURCE1} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u build/xml-apis.jar META-INF/MANIFEST.MF
|
||||
|
||||
# Jars
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
cp -p build/xml-apis.jar \
|
||||
@ -182,6 +189,9 @@ fi
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.4
|
||||
- Add osgi metadata.
|
||||
|
||||
* Fri Sep 19 2008 Matt Wringe <mwringe@redhat.com> - 0:1.3.04-1.3
|
||||
- Remove natively compiled bits from the javadoc package (462809)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user