Inject OSGI Manifest - needed for Eclipse plugins that depend on it
This commit is contained in:
parent
bf80784956
commit
9125bd959c
17
bcel-MANIFEST.MF
Normal file
17
bcel-MANIFEST.MF
Normal file
@ -0,0 +1,17 @@
|
||||
Manifest-Version: 1.0
|
||||
Ant-Version: Apache Ant 1.8.2
|
||||
Created-By: 1.7.0_b147-icedtea-mockbuild_2011_11_10_18_56-b00 (Oracle
|
||||
Corporation)
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.apache.bcel
|
||||
Export-Package: org.apache.bcel;version="5.2.0",org.apache.bcel.classf
|
||||
ile;version="5.2.0",org.apache.bcel.generic;version="5.2.0",org.apach
|
||||
e.bcel.util;version="5.2.0",org.apache.bcel.verifier;version="5.2.0",
|
||||
org.apache.bcel.verifier.exc;version="5.2.0",org.apache.bcel.verifier
|
||||
.statics;version="5.2.0",org.apache.bcel.verifier.structurals;version
|
||||
="5.2.0"
|
||||
Bundle-Version: 5.2.0.v201005080400
|
||||
Bundle-ManifestVersion: 2
|
||||
14
bcel.spec
14
bcel.spec
@ -39,7 +39,7 @@
|
||||
|
||||
Name: bcel
|
||||
Version: 5.2
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Byte Code Engineering Library
|
||||
License: ASL 2.0
|
||||
@ -54,11 +54,13 @@ Source4: %{name}-%{version}-jpp-depmap.xml
|
||||
Source5: bcel-jakarta-site2.tar.gz
|
||||
Source6: %{name}-%{version}-build.xml
|
||||
Source7: %{name}-%{version}.pom
|
||||
Source8: %{name}-MANIFEST.MF
|
||||
|
||||
Patch0: %{name}-%{version}-project_properties.patch
|
||||
URL: http://jakarta.apache.org/%{name}/
|
||||
Group: Development/Libraries
|
||||
Requires: regexp
|
||||
BuildRequires: zip
|
||||
BuildRequires: ant
|
||||
%if %{with_maven}
|
||||
BuildRequires: maven >= 0:1.1
|
||||
@ -192,7 +194,12 @@ ant -Dbuild.dest=build/classes -Dbuild.dir=build -Ddocs.dest=docs \
|
||||
%endif
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
# inject OSGi manifests
|
||||
mkdir -p META-INF
|
||||
cp -p %{SOURCE8} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u target/%{name}-%{version}.jar META-INF/MANIFEST.MF
|
||||
|
||||
# jars
|
||||
%{__mkdir_p} %{buildroot}%{_javadir}
|
||||
%{__install} -m 0644 target/%{name}-%{version}.jar \
|
||||
@ -255,6 +262,9 @@ ant -Dbuild.dest=build/classes -Dbuild.dir=build -Ddocs.dest=docs \
|
||||
%doc %{_docdir}/%{name}-%{version}
|
||||
|
||||
%changelog
|
||||
* Sun Jun 24 2012 Gerard Ryan <galileo@fedoraproject.org> - 0:5.2-11
|
||||
- Inject OSGI Manifest.
|
||||
|
||||
* Wed Jan 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 0:5.2-10
|
||||
- Specify explicit source encoding to fix build with Java 7.
|
||||
- Install jar and javadocs unversioned.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user