%global bundle org.apache.felix.gogo.command %{!?scl:%global pkg_name %{name}} %{?scl:%scl_package felix-gogo-command} Name: %{?scl_prefix}felix-gogo-command Version: 0.14.0 Release: %mkrel 2 Summary: Apache Felix Gogo Command Group: Development/Java License: ASL 2.0 URL: http://felix.apache.org Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz Patch0: felix-gogo-command-pom.xml.patch Patch1: java7compatibility.patch BuildArch: noarch BuildRequires: java # This is to ensure we get OpenJDK and not GCJ BuildRequires: java-devel >= 1:1.7.0 BuildRequires: maven-local BuildRequires: maven-dependency-plugin BuildRequires: maven-surefire-plugin BuildRequires: maven-surefire-provider-junit BuildRequires: maven-install-plugin BuildRequires: mockito BuildRequires: felix-osgi-core BuildRequires: felix-framework BuildRequires: felix-osgi-compendium BuildRequires: %{?scl_prefix}felix-gogo-runtime >= 0.12.0 BuildRequires: %{?scl_prefix}felix-gogo-parent BuildRequires: mvn(org.apache.felix:org.apache.felix.bundlerepository) %{?scl:BuildRequires: %{?scl_prefix}build} Requires: felix-framework Requires: felix-osgi-compendium Requires: %{?scl_prefix}felix-gogo-runtime >= 0.12.0 Requires: mvn(org.apache.felix:org.apache.felix.bundlerepository) %{?scl:Requires: %scl_runtime} %description Provides basic shell commands for Gogo. %package javadoc Group: Documentation Summary: Javadoc for %{pkg_name} %description javadoc API documentation for %{pkg_name}. %prep %setup -q -n %{bundle}-%{version} %patch0 -p1 %patch1 -p1 %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE %files javadoc -f .mfiles-javadoc %doc LICENSE %changelog * Thu Dec 25 2014 pterjan <pterjan> 0.14.0-2.mga5 + Revision: 805659 - Clean rebuild - Sync with Fedora 21 (Update to 0.14.0) - Restore + sander85 <sander85> - Depends on broken java stack * Wed Oct 15 2014 umeabot <umeabot> 0.12.0-6.mga5 + Revision: 738990 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Thu Dec 19 2013 dmorgan <dmorgan> 0.12.0-4.mga4 + Revision: 558751 - Build with maven-local + umeabot <umeabot> - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 0.12.0-2.mga3 + Revision: 350118 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jul 05 2012 dmorgan <dmorgan> 0.12.0-1.mga3 + Revision: 268219 - New version * Tue Nov 01 2011 dmorgan <dmorgan> 0.6.1-1.mga3 + Revision: 160966 - Fix typo in version + gil <gil> - imported package felix-gogo-command