747c4ec
Name:           felix-gogo-command
29f0fcd
Version:        0.16.0
29f0fcd
Release:        1%{?dist}
Krzysztof Daniel b42b896
Summary:        Apache Felix Gogo Command
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
License:        ASL 2.0
Krzysztof Daniel b42b896
URL:            http://felix.apache.org
747c4ec
Source0:        http://www.apache.org/dist/felix/org.apache.felix.gogo.command-%{version}-project.tar.gz
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
Patch0:         felix-gogo-command-pom.xml.patch
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
BuildArch:      noarch
Krzysztof Daniel b42b896
Stanislav Ochotnicky ed0448f
BuildRequires:  maven-local
5aa6e79
BuildRequires:  mvn(org.apache.felix:gogo-parent:pom:)
5aa6e79
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
Krzysztof Daniel b42b896
BuildRequires:  mvn(org.apache.felix:org.apache.felix.bundlerepository)
5aa6e79
BuildRequires:  mvn(org.apache.felix:org.apache.felix.framework)
5aa6e79
BuildRequires:  mvn(org.apache.felix:org.apache.felix.gogo.runtime)
5aa6e79
BuildRequires:  mvn(org.osgi:org.osgi.compendium)
5aa6e79
BuildRequires:  mvn(org.mockito:mockito-all)
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
%description
Krzysztof Daniel b42b896
Provides basic shell commands for Gogo.
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
%package javadoc
Krzysztof Daniel b42b896
Group:          Documentation
747c4ec
Summary:        Javadoc for %{name}
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
%description javadoc
747c4ec
API documentation for %{name}.
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
%prep
747c4ec
%setup -q -n org.apache.felix.gogo.command-%{version}
Krzysztof Daniel b42b896
%patch0 -p1
Krzysztof Daniel b42b896
5aa6e79
# These deps are provided at runtime by the osgi framework in which are running
5aa6e79
# Adding "provided" scope here avoids unnecessary deps on the felix stack if we
5aa6e79
# are running in a different osgi container like equinox, for example
5aa6e79
%pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId[text()='org.apache.felix.framework']]" "<scope>provided</scope>"
5aa6e79
%pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId[text()='org.osgi.compendium']]" "<scope>provided</scope>"
5aa6e79
%pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId[text()='org.apache.felix.bundlerepository']]" "<scope>provided</scope>"
5aa6e79
Krzysztof Daniel b42b896
%build
d7126d6
%mvn_build
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
%install
d7126d6
%mvn_install
Krzysztof Daniel b42b896
d7126d6
%files -f .mfiles
Krzysztof Daniel b42b896
%doc LICENSE
Krzysztof Daniel b42b896
d7126d6
%files javadoc -f .mfiles-javadoc
Krzysztof Daniel b42b896
%doc LICENSE
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
%changelog
29f0fcd
* Tue Oct 6 2015 Alexander Kurtakov <akurtako@redhat.com> 0.16.0-1
29f0fcd
- Update to upstream 0.16.0 release.
29f0fcd
- Drop no longer needed Java 7 compatibility patch.
29f0fcd
747c4ec
* Mon Jun 29 2015 Mat Booth <mat.booth@redhat.com> - 0.14.0-5
747c4ec
- Drop incomplete and forbidden SCL macros
747c4ec
fad812c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-4
fad812c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fad812c
5aa6e79
* Mon Mar 30 2015 Mat Booth <mat.booth@redhat.com> - 0.14.0-3
5aa6e79
- Avoid unnecessary runtime deps and re-generate build-deps
5aa6e79
6bd3136
* Thu Jul 03 2014 Mat Booth <mat.booth@redhat.com> - 0.14.0-2
6bd3136
- BR/R: gogo-runtime >= 0.12.0
6bd3136
ed3e092
* Thu Jul 3 2014 Alexander Kurtakov <akurtako@redhat.com> 0.14.0-1
ed3e092
- Update to 0.14.0.
ed3e092
f42a197
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-11
f42a197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f42a197
d7126d6
* Fri May 16 2014 Alexander Kurtakov <akurtako@redhat.com> 0.12.0-10
d7126d6
- Start using mvn_build/install.
d7126d6
Krzysztof Daniel 7b02da6
* Mon Aug 5 2013 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-9
Krzysztof Daniel 7b02da6
- Fix FTBS.
Krzysztof Daniel 7b02da6
5c111ab
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-8
5c111ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5c111ab
Krzysztof Daniel ba025df
* Fri Mar 15 2013 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-7
Krzysztof Daniel ba025df
- Initial SCLization.
Krzysztof Daniel ba025df
2d7cbc2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-6
2d7cbc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2d7cbc2
Stanislav Ochotnicky ed0448f
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.12.0-5
Stanislav Ochotnicky ed0448f
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky ed0448f
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky ed0448f
4a88bf5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-4
4a88bf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4a88bf5
Krzysztof Daniel ac4b88f
* Fri Jan 27 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-3
Krzysztof Daniel 3ffdf2d
- Dependency to Java 7 added.
Krzysztof Daniel 3ffdf2d
- Sources are patched to compile with OpenJDK 7.
Krzysztof Daniel 3ffdf2d
Krzysztof Daniel b42b896
* Tue Jan 10 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-2
Krzysztof Daniel b42b896
- description formatting removed
Krzysztof Daniel b42b896
- jar_repack removed
Krzysztof Daniel b42b896
- license added to the javadoc
Krzysztof Daniel b42b896
Krzysztof Daniel b42b896
* Tue Jan 10 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-1
Krzysztof Daniel b42b896
- Release 0.12.0