Add osgi manifest.
This commit is contained in:
parent
94efee40f2
commit
22bf968b4b
11
xalan-j2-serializer-MANIFEST.MF
Normal file
11
xalan-j2-serializer-MANIFEST.MF
Normal file
@ -0,0 +1,11 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.2
|
||||
Bundle-SymbolicName: org.apache.xml.serializer
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %Bundle-Name.0
|
||||
Bundle-Localization: plugin
|
||||
Bundle-Version: 2.7.1.v200806030322
|
||||
Bundle-Vendor: %Bundle-Vendor.0
|
||||
Require-Bundle: system.bundle
|
||||
Export-Package: org.apache.xml.serializer,org.apache.xml.serializer.do
|
||||
m3
|
@ -37,7 +37,7 @@
|
||||
|
||||
Name: xalan-j2
|
||||
Version: 2.7.0
|
||||
Release: 7.4%{?dist}
|
||||
Release: 7.5%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java XSLT processor
|
||||
# samples/servlet/ApplyXSLTException.java is ASL 1.1
|
||||
@ -45,6 +45,7 @@ Summary: Java XSLT processor
|
||||
License: ASL 1.1 and ASL 2.0 and W3C
|
||||
#Source0: http://www.apache.org/dist/xml/xalan-j/xalan-j_2_7_0-src.tar.gz
|
||||
Source0: xalan-j_%{cvs_version}-src-RHsemiCLEAN.tar.gz
|
||||
Source1: %{name}-serializer-MANIFEST.MF
|
||||
Patch0: %{name}-noxsltcdeps.patch
|
||||
Patch1: %{name}-manifest.patch
|
||||
Patch2: %{name}-crosslink.patch
|
||||
@ -185,6 +186,12 @@ ant \
|
||||
%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/serializer.jar META-INF/MANIFEST.MF
|
||||
|
||||
# jars
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
install -p -m 644 build/xalan-interpretive.jar \
|
||||
@ -344,6 +351,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Feb 3 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.7.0-7.5
|
||||
- Add osgi manifest.
|
||||
|
||||
* Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0:2.7.0-7.4
|
||||
- fix license tag
|
||||
|
||||
@ -599,4 +609,3 @@ fi
|
||||
|
||||
* Wed Aug 08 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.2.D6-1mdk
|
||||
- first Mandrake release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user