Added OSGi Manifest for Eclipse.
This commit is contained in:
parent
4a9aeae948
commit
7f4536cb66
11
MANIFEST.MF
Normal file
11
MANIFEST.MF
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Manifest-Version: 1.0
|
||||||
|
Bundle-ManifestVersion: 2
|
||||||
|
Bundle-Name: %bundleName
|
||||||
|
Bundle-SymbolicName: javax.inject
|
||||||
|
Bundle-Version: 1.0.0.v20091030
|
||||||
|
Bundle-ClassPath: .
|
||||||
|
Bundle-Vendor: %bundleProvider
|
||||||
|
Bundle-Localization: plugin
|
||||||
|
Export-Package: javax.inject;version="1.0.0"
|
||||||
|
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: atinject
|
Name: atinject
|
||||||
Version: 1
|
Version: 1
|
||||||
Release: 5.20100611svn86%{?dist}
|
Release: 6.20100611svn86%{?dist}
|
||||||
Summary: Dependency injection specification for Java (JSR-330)
|
Summary: Dependency injection specification for Java (JSR-330)
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -14,6 +14,7 @@ URL: http://code.google.com/p/atinject/
|
|||||||
# svn export -r86 http://atinject.googlecode.com/svn/trunk atinject-1
|
# svn export -r86 http://atinject.googlecode.com/svn/trunk atinject-1
|
||||||
# tar caf atinject-1.tar.xz atinject-1
|
# tar caf atinject-1.tar.xz atinject-1
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
|
Source1: MANIFEST.MF
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: maven
|
BuildRequires: maven
|
||||||
@ -68,6 +69,12 @@ pushd build
|
|||||||
for i in *.zip; do
|
for i in *.zip; do
|
||||||
unzip $i
|
unzip $i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#Add OSGi manifest for Eclipse
|
||||||
|
mkdir -p META-INF/
|
||||||
|
cp %{SOURCE1} META-INF/MANIFEST.MF
|
||||||
|
zip -u javax.inject.jar META-INF/MANIFEST.MF
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -109,6 +116,9 @@ cp -pr build/tck/javadoc/* %{buildroot}%{_javadocdir}/%{name}-tck
|
|||||||
%doc %{_javadocdir}/%{name}-tck
|
%doc %{_javadocdir}/%{name}-tck
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 24 2012 Krzysztof Daniel <kdaniel@redhat.com> - 1-6.20100611svn86
|
||||||
|
- Added OSGi manifest.
|
||||||
|
|
||||||
* Mon Feb 13 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-5.20100611svn86
|
* Mon Feb 13 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-5.20100611svn86
|
||||||
- Add tck subpackage
|
- Add tck subpackage
|
||||||
- Use upstream build method
|
- Use upstream build method
|
||||||
|
Loading…
Reference in New Issue
Block a user