Add OSGi metadata to hamcrest-text.

This commit is contained in:
Alexander Kurtakov 2012-07-31 14:29:56 +03:00
parent 2702706b94
commit 237cb0c859
2 changed files with 125 additions and 1 deletions

114
hamcrest-text-MANIFEST.MF Normal file
View File

@ -0,0 +1,114 @@
Manifest-Version: 1.0
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Name: %pluginName
Bundle-SymbolicName: org.hamcrest.text
Require-Bundle: org.hamcrest.core;bundle-version="1.1.0",org.hamcrest.
library;bundle-version="1.1.0"
Bundle-Version: 1.1.0.v20090501071000
Export-Package: org.hamcrest.text.pattern;version="1.1.0",org.hamcrest
.text.pattern.internal.ast;version="1.1.0";x-internal:=true,org.hamcr
est.text.pattern.internal.naming;version="1.1.0";x-internal:=true
Bundle-ManifestVersion: 2
Name: org/hamcrest/text/pattern/internal/naming/Path.class
SHA1-Digest: 8MEgHJNKZmvm48PUSY9EXkJvx5w=
Name: org/hamcrest/text/pattern/PatternMatchException.class
SHA1-Digest: BIALrg7Wl5BjT/bH4LdqLTvwsWc=
Name: org/hamcrest/text/pattern/Field.class
SHA1-Digest: EbqXToAA3hawOkkwDYTOvUkMng8=
Name: org/hamcrest/text/pattern/internal/naming/IndexSequence.class
SHA1-Digest: 72qA+v8pe0C+gYs2EWYMy8yVXro=
Name: org/hamcrest/text/pattern/internal/ast/OneOrMore.class
SHA1-Digest: PfExrNYaYJYYqzVWQtLHaOMB9J4=
Name: org/hamcrest/text/pattern/internal/ast/Sequence.class
SHA1-Digest: UbrVTwQs7qh+KkPEk2JOtsWA4r4=
Name: org/hamcrest/text/pattern/PatternMatcher.class
SHA1-Digest: 4EFvTIfrz4I9/tRCAeawd0PkgFU=
Name: plugin.properties
SHA1-Digest: OzE4ka1lXm4WBNXjUyz1V8spxNc=
Name: org/hamcrest/text/pattern/FromTo.class
SHA1-Digest: hlAVogHbCk1HSvkuqN7y8iK+Sgw=
Name: org/hamcrest/text/pattern/internal/ast/GroupReference.class
SHA1-Digest: 7YOoMVdabjoWaJJ7UoDJ+k9tlJw=
Name: org/hamcrest/text/pattern/PatternComponent.class
SHA1-Digest: h/ct5//wEipWgDrneanGhgxU9u8=
Name: about_files/LICENSE.txt
SHA1-Digest: dTF36wNXk3NZRvp51lzE8FW7KYQ=
Name: org/hamcrest/text/pattern/internal/ast/Literal.class
SHA1-Digest: Rvs+Q0gPXIPtz9H7NkBsTHPrsAU=
Name: org/hamcrest/text/pattern/internal/ast/ListOf.class
SHA1-Digest: Iu7QqZBzHefK6sPRpv2JkxKOboQ=
Name: org/hamcrest/text/pattern/SeparablePatternComponent.class
SHA1-Digest: o6bV8SO3PyMCfOexGaiUe4Myskw=
Name: org/hamcrest/text/pattern/internal/ast/CaptureGroup.class
SHA1-Digest: Df9Tc9MMk6IUJnKsXEo2Yvo21Xg=
Name: META-INF/eclipse.inf
SHA1-Digest: KyT9FF7C7t86NoBoa2kZT3ZJBfw=
Name: org/hamcrest/text/pattern/internal/ast/AnyCharacter.class
SHA1-Digest: FFHTgwjKSxBEon7JyjS5TPb35P0=
Name: org/hamcrest/text/pattern/internal/ast/ZeroOrMore.class
SHA1-Digest: dKff/Jfil5f/JucIWxhTj8HisMk=
Name: org/hamcrest/text/pattern/internal/ast/Optional.class
SHA1-Digest: 7RTnyG5IlgQqk3kZhsSSvdxHg7w=
Name: org/hamcrest/text/pattern/internal/ast/Choice.class
SHA1-Digest: K6L1r75rnwQWqVAgP4vP+4CnNfo=
Name: about.html
SHA1-Digest: gL/jUAsRjH3ChAp5sSE4yJE3fb4=
Name: org/hamcrest/text/pattern/Patterns.class
SHA1-Digest: I3wqgz3xuON3b05nD56sOHXXgg4=
Name: org/hamcrest/text/pattern/internal/ast/PatternModifier.class
SHA1-Digest: fxHc27TG00nb3idyExY7edfMJqE=
Name: org/hamcrest/text/pattern/internal/ast/CharacterInUnicodeCategor
y.class
SHA1-Digest: LvNqEPnqKXJwtUILnQ0pYcs4GQA=
Name: org/hamcrest/text/pattern/internal/ast/CharacterNotInUnicodeCate
gory.class
SHA1-Digest: i8iNUaUrmGs4IOWjPwcz/t9Rs04=
Name: org/hamcrest/text/pattern/internal/ast/Exactly.class
SHA1-Digest: lLXp80a9pZGMgsZ6/PaaZK059a4=
Name: org/hamcrest/text/pattern/internal/ast/CharacterInRange.class
SHA1-Digest: NAGHr4/5dYklRHwp2/yACMaAwGc=
Name: org/hamcrest/text/pattern/internal/ast/CharacterNotInRange.class
SHA1-Digest: YZsXqBMIAhKW4fr0JXdbS9mqxl0=
Name: org/hamcrest/text/pattern/internal/naming/GroupNamespace.class
SHA1-Digest: vY+mJh4LmlJNaMnFOI/0iibKvj8=
Name: org/hamcrest/text/pattern/Parse.class
SHA1-Digest: XNYfliVZ1SACUeVNoKECmPCQu9Y=
Name: org/hamcrest/text/pattern/internal/ast/NullPatternComponent.clas
s
SHA1-Digest: R82R/evr22GwdcrFFno7NOnnmT4=

View File

@ -50,7 +50,7 @@
Name: hamcrest Name: hamcrest
Version: 1.1 Version: 1.1
Release: 14%{?dist} Release: 15%{?dist}
Epoch: 0 Epoch: 0
Summary: Library of matchers for building test expressions Summary: Library of matchers for building test expressions
License: BSD License: BSD
@ -66,6 +66,7 @@ Source6: http://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.1/hamc
Source7: hamcrest-text-1.1.pom Source7: hamcrest-text-1.1.pom
Source8: hamcrest-core-MANIFEST.MF Source8: hamcrest-core-MANIFEST.MF
Source9: hamcrest-library-MANIFEST.MF Source9: hamcrest-library-MANIFEST.MF
Source10: hamcrest-text-MANIFEST.MF
Patch0: hamcrest-1.1-build.patch Patch0: hamcrest-1.1-build.patch
Patch1: hamcrest-1.1-no-jarjar.patch Patch1: hamcrest-1.1-no-jarjar.patch
Patch2: hamcrest-1.1-no-integration.patch Patch2: hamcrest-1.1-no-integration.patch
@ -177,6 +178,12 @@ cp -p %{SOURCE9} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF touch META-INF/MANIFEST.MF
zip -u build/%{name}-library-%{version}.jar META-INF/MANIFEST.MF zip -u build/%{name}-library-%{version}.jar META-INF/MANIFEST.MF
rm -fr META-INF
mkdir -p META-INF
cp -p %{SOURCE10} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/%{name}-text-%{version}.jar META-INF/MANIFEST.MF
%install %install
# jars # jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
@ -249,6 +256,9 @@ cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}/
%{_datadir}/%{name} %{_datadir}/%{name}
%changelog %changelog
* Tue Jul 31 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-15
- Add OSGi metadata to hamcrest-text.
* Tue Jul 31 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-14 * Tue Jul 31 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-14
- Add OSGi metadata for hamcrest-library. - Add OSGi metadata for hamcrest-library.