%global bundle org.apache.aries.proxy.api Name: aries-proxy-api Version: 1.0.1 Release: %mkrel 6 Group: Development/Java Summary: Apache Aries Proxy 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/proxy/%{bundle}/%{version}/%{bundle}-%{version}-source-release.zip BuildRequires: maven-local BuildRequires: mvn(org.apache.aries:org.apache.aries.util) >= 1.0.0 BuildRequires: mvn(org.apache.aries:org.apache.aries.util-r42) >= 1.0.0 BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi) BuildArch: noarch Obsoletes: aries-proxy < 1:0.3-14 %description This bundle contains the Apache Aries Proxy service API. %package javadoc Summary: Javadoc for %{name} Obsoletes: aries-proxy-javadoc < 1:0.3-14 %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_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> <Import-Package>${aries.osgi.import.pkg}</Import-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>' # Use eclipse apis %pom_change_dep org.osgi:org.osgi.core org.eclipse.osgi:org.eclipse.osgi:3.10.102.v20160416-2200 %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 * Wed Oct 24 2018 daviddavid <daviddavid> 1.0.1-6.mga7 + Revision: 1324970 - add missing epoch to really obsolete old aries-proxy * Sat Oct 20 2018 daviddavid <daviddavid> 1.0.1-5.mga7 + Revision: 1322933 - obsolete properly old aries-proxy * Tue Sep 18 2018 umeabot <umeabot> 1.0.1-4.mga7 + Revision: 1261865 - Mageia 7 Mass Rebuild * Tue Sep 18 2018 umeabot <umeabot> 1.0.1-3.mga7 + Revision: 1259950 - Mageia 7 Mass Rebuild * Tue Sep 18 2018 umeabot <umeabot> 1.0.1-2.mga7 + Revision: 1259790 - Mageia 7 Mass Rebuild * Fri May 12 2017 neoclust <neoclust> 1.0.1-1.mga6 + Revision: 1100514 - imported package aries-proxy-api * Sat Oct 31 2015 gil cattaneo <puntogil@libero.it> 1.0.1-1 - update to 1.0.1 * Sun Feb 22 2015 gil cattaneo <puntogil@libero.it> 1.0.0-1 - initial rpm