%global commit 08a6b74 Name: felix-gogo-shell Version: 1.0.0 Release: 1%{?dist} Summary: Community OSGi R4 Service Platform Implementation - Basic Commands License: ASL 2.0 URL: http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html BuildArch: noarch # Upstream forgot to make a proper source release, make tarball from commit marked by maven-release-plugin Source0: https://github.com/apache/felix/tarball/%{commit}#/felix-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:gogo-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:org.apache.felix.gogo.runtime) BuildRequires: mvn(org.osgi:osgi.cmpn) BuildRequires: mvn(org.osgi:osgi.core) %description Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license. The OSGi specifications originally targeted embedded devices and home services gateways, but they are ideally suited for any project interested in the principles of modularity, component-orientation, and/or service-orientation. OSGi technology combines aspects of these aforementioned principles to define a dynamic service deployment framework that is amenable to remote management. %package javadoc Summary: Javadoc for %{pkg_name} %description javadoc This package contains the API documentation for %{pkg_name}. %prep %setup -q -n apache-felix-%{commit}/gogo/shell # Use parent from rpm, not from the tarball %pom_xpath_remove pom:parent/pom:relativePath %pom_change_dep :org.osgi.core :osgi.core %pom_change_dep :org.osgi.compendium :osgi.cmpn %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE NOTICE %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Fri May 05 2017 Michael Simacek - 1.0.0-1 - Update to upstream version 1.0.0 * Fri Feb 10 2017 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 24 2016 Alexander Kurtakov 0.12.0-1 - Update to 0.12.0. * Wed Feb 03 2016 Fedora Release Engineering - 0.10.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.10.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Apr 14 2015 Mikolaj Izdebski - 0.10.0-14 - Cleanup spec file * Wed Jul 16 2014 Mat Booth - 0.10.0-13 - Fix unowned directory. * Sat Jun 07 2014 Fedora Release Engineering - 0.10.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 16 2014 Alexander Kurtakov 0.10.0-11 - Start using mvn_build/install. * Tue Mar 04 2014 Stanislav Ochotnicky - 0.10.0-10 - Use Requires: java-headless rebuild (#1067528) * Mon Aug 5 2013 Krzysztof Daniel 0.10.0-9 - Fix FTBFS. * Sat Aug 03 2013 Fedora Release Engineering - 0.10.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Mar 15 2013 Krzysztof Daniel 0.10.0-7 - Initial SCLization. * Wed Feb 13 2013 Fedora Release Engineering - 0.10.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 0.10.0-5 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Thu Jul 19 2012 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jan 31 2012 Krzysztof Daniel 0.10.0-3 - Temporary fix for bug 786041 * Wed Jan 18 2012 Tomas Radej - 0.10.0-2 - Changed jar path * Mon Jan 09 2012 Tomas Radej - 0.10.0-1 - Initial packaging