diff --git a/aries-blueprint-parser.spec b/aries-blueprint-parser.spec new file mode 100644 index 0000000..4e96636 --- /dev/null +++ b/aries-blueprint-parser.spec @@ -0,0 +1,65 @@ +%global bundle blueprint-parser +Name: aries-blueprint-parser +Version: 1.4.0 +Release: 1 +Summary: Apache Aries Blueprint Parser +License: ASL 2.0 +URL: http://aries.apache.org/ +Source0: https://repo1.maven.org/maven2/org/apache/aries/blueprint/blueprint-parser/1.4.0/blueprint-parser-1.4.0-source-release.zip +BuildRequires: maven-local +BuildRequires: mvn(org.apache.aries.blueprint:org.apache.aries.blueprint.api) >= 1.0.1 +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi) xmvn +BuildArch: noarch +%description +This bundle contains the blueprint parser in a plain JAR. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} +%pom_remove_parent +%pom_remove_plugin org.apache.aries.versioning:org.apache.aries.versioning.plugin +%pom_change_dep org.osgi:org.osgi.core org.eclipse.osgi:org.eclipse.osgi:3.10.102.v20160416-2200 +%pom_xpath_set pom:properties/pom:blueprint.api.version 1.0.1 +%pom_xpath_set "pom:project/pom:packaging" bundle +%pom_add_plugin org.apache.felix:maven-bundle-plugin . ' +true + + true + + ${project.name} + ${project.artifactId} + The Apache Software Foundation + Apache Aries + ${project.version} + + + + + bundle-manifest + process-classes + + manifest + + +' + +%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 chengzihan - 1.4.0-1 +- Package init diff --git a/aries-blueprint-parser.yaml b/aries-blueprint-parser.yaml new file mode 100644 index 0000000..4430996 --- /dev/null +++ b/aries-blueprint-parser.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: apache/aries +tag_prefix: "blueprint-parser-" +seperator: "." diff --git a/blueprint-parser-1.4.0-source-release.zip b/blueprint-parser-1.4.0-source-release.zip new file mode 100644 index 0000000..592906a Binary files /dev/null and b/blueprint-parser-1.4.0-source-release.zip differ