Add OSGI manifest
This commit is contained in:
parent
dfafc24e2e
commit
34c1428b92
14
aopalliance-MANIFEST.MF
Normal file
14
aopalliance-MANIFEST.MF
Normal file
@ -0,0 +1,14 @@
|
||||
Manifest-Version: 1.0
|
||||
Ant-Version: Apache Ant 1.8.4
|
||||
Created-By: 1.7.0_05-icedtea-mockbuild_2012_07_09_18_45-b00 (Oracle Co
|
||||
rporation)
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: AOP Alliance
|
||||
Bundle-SymbolicName: aopalliance
|
||||
Bundle-Version: 1.0
|
||||
Bundle-Vendor: AOP Alliance
|
||||
Export-Package: org.aopalliance.aop,
|
||||
org.aopalliance.intercept,
|
||||
org.aopalliance.reflect,
|
||||
org.aopalliance.instrument
|
||||
Eclipse-BuddyPolicy: registered
|
@ -1,6 +1,6 @@
|
||||
Name: aopalliance
|
||||
Version: 1.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java/J2EE AOP standards
|
||||
Group: Development/Libraries
|
||||
@ -10,10 +10,13 @@ URL: http://aopalliance.sourceforge.net/
|
||||
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aopalliance export -r HEAD aopalliance
|
||||
Source0: aopalliance-src.tar.gz
|
||||
Source1: http://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom
|
||||
Source2: %{name}-MANIFEST.MF
|
||||
|
||||
Requires: java >= 0:1.5.0
|
||||
BuildRequires: jpackage-utils >= 0:1.7.5
|
||||
BuildRequires: java-devel >= 0:1.5.0
|
||||
BuildRequires: ant >= 0:1.6.5
|
||||
BuildRequires: zip
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -36,6 +39,13 @@ export OPT_JAR_LIST=:
|
||||
%{ant} -Dbuild.sysclasspath=only jar javadoc
|
||||
|
||||
%install
|
||||
# inject OSGi manifest
|
||||
mkdir -p META-INF
|
||||
cp -p %{SOURCE2} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u build/%{name}.jar META-INF/MANIFEST.MF
|
||||
|
||||
|
||||
install -dm 755 %{buildroot}%{_javadir}
|
||||
|
||||
install -pm 644 build/aopalliance.jar \
|
||||
@ -57,6 +67,9 @@ cp -pr build/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Aug 6 2012 Gerard Ryan <galileo.fedoraproject.org> 0:1.0-3
|
||||
- Add OSGI manifest
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user