Package init
This commit is contained in:
parent
5cf1c5100a
commit
a9aebc88c3
63
aries-quiesce-api.spec
Normal file
63
aries-quiesce-api.spec
Normal file
@ -0,0 +1,63 @@
|
||||
%global bundle org.apache.aries.quiesce.api
|
||||
Name: aries-quiesce-api
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
Summary: Apache Aries Quiesce API
|
||||
License: ASL 2.0
|
||||
URL: http://aries.apache.org/
|
||||
Source0: https://archive.apache.org/dist/aries/org.apache.aries.quiesce.api-%{version}-source-release.zip
|
||||
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Aries Quiesce API.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{bundle}-%{version}
|
||||
%pom_remove_parent
|
||||
%pom_change_dep org.osgi:org.osgi.core org.eclipse.osgi:org.eclipse.osgi:3.10.102.v20160416-2200
|
||||
%pom_add_plugin org.apache.felix:maven-bundle-plugin . '
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<excludeDependencies>true</excludeDependencies>
|
||||
<instructions>
|
||||
<Bundle-Name>${project.name}</Bundle-Name>
|
||||
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
||||
<Export-Package>${aries.osgi.export.pkg}</Export-Package>
|
||||
<Implementation-Title>Apache Aries</Implementation-Title>
|
||||
<Implementation-Version>${project.version}</Implementation-Version>
|
||||
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
|
||||
</instructions>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>'
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Thu Aug 13 2020 leiju <leiju4@huawei.com> - 1.0.0-1
|
||||
- Package init
|
||||
4
aries-quiesce-api.yaml
Normal file
4
aries-quiesce-api.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: apache/aries
|
||||
tag_prefix: "org.apache.aries.quiesce.api-"
|
||||
seperator: "."
|
||||
BIN
org.apache.aries.quiesce.api-1.0.0-source-release.zip
Normal file
BIN
org.apache.aries.quiesce.api-1.0.0-source-release.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user