%global bundle org.apache.aries.blueprint.annotation.api Name: aries-blueprint-annotation-api Version: 1.0.1 Release: 1%{?dist} Summary: Apache Aries Blueprint Annotation API License: ASL 2.0 URL: http://aries.apache.org/ #Source0: http://www.apache.org/dist/aries/%%{bundle}-%%{version}-source-release.zip Source0: http://central.maven.org/maven2/org/apache/aries/blueprint/%{bundle}/%{version}/%{bundle}-%{version}-source-release.zip BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi) BuildArch: noarch %description This bundle contains the blueprint annotation api and the corresponding XML schema. %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_add_plugin org.apache.felix:maven-bundle-plugin . ' true true ${project.name} ${project.artifactId} ${aries.osgi.export.pkg} ${aries.osgi.import.pkg} Apache Aries ${project.version} The Apache Software Foundation 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 * Sun Jun 19 2016 gil cattaneo 1.0.1-1 - update to 1.0.1 * Sun Feb 22 2015 gil cattaneo 1.0.0-1 - initial rpm