|
|
2b03e6 |
%global project felix
|
|
|
2b03e6 |
%global bundle org.apache.felix.gogo.command
|
|
|
2b03e6 |
%global groupId org.apache.felix
|
|
|
2b03e6 |
%global artifactId %{bundle}
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%{!?scl:%global pkg_name %{name}}
|
|
|
2b03e6 |
%{?scl:%scl_package %{project}-gogo-command}
|
|
|
74d5af |
%{?java_common_find_provides_and_requires}
|
|
|
2b03e6 |
|
|
|
2b03e6 |
Name: %{?scl_prefix}%{project}-gogo-command
|
|
|
2b03e6 |
Version: 0.12.0
|
|
|
74d5af |
Release: 12%{?dist}
|
|
|
2b03e6 |
Summary: Apache Felix Gogo Command
|
|
|
2b03e6 |
|
|
|
2b03e6 |
Group: Development/Libraries
|
|
|
2b03e6 |
License: ASL 2.0
|
|
|
2b03e6 |
URL: http://felix.apache.org
|
|
|
2b03e6 |
Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
|
|
|
2b03e6 |
|
|
|
2b03e6 |
Patch0: felix-gogo-command-pom.xml.patch
|
|
|
2b03e6 |
Patch1: java7compatibility.patch
|
|
|
2b03e6 |
|
|
|
2b03e6 |
BuildArch: noarch
|
|
|
2b03e6 |
|
|
|
2b03e6 |
# This is to ensure we get OpenJDK and not GCJ
|
|
|
2b03e6 |
BuildRequires: java-1.7.0-openjdk-devel >= 1:1.7.0
|
|
|
74d5af |
BuildRequires: %{?scl_prefix_java_common}maven-local
|
|
|
74d5af |
BuildRequires: %{?scl_prefix_maven}maven-dependency-plugin
|
|
|
74d5af |
|
|
|
2b03e6 |
BuildRequires: %{?scl_prefix}felix-gogo-runtime
|
|
|
2b03e6 |
BuildRequires: %{?scl_prefix}felix-gogo-parent
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%description
|
|
|
2b03e6 |
Provides basic shell commands for Gogo.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%package javadoc
|
|
|
2b03e6 |
Group: Documentation
|
|
|
2b03e6 |
Summary: Javadoc for %{pkg_name}
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%description javadoc
|
|
|
2b03e6 |
API documentation for %{pkg_name}.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%prep
|
|
|
2b03e6 |
%setup -q -n %{bundle}-%{version}
|
|
|
2b03e6 |
%patch0 -p1
|
|
|
2b03e6 |
%patch1 -p1
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%build
|
|
|
74d5af |
scl enable %{scl_maven} %{scl} - <<"EOF"
|
|
|
74d5af |
%pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId[text()='org.osgi.compendium']]" "<scope>provided</scope>"
|
|
|
74d5af |
%pom_xpath_inject "pom:dependencies/pom:dependency[pom:artifactId[text()='org.apache.felix.bundlerepository']]" "<scope>provided</scope>"
|
|
|
2b03e6 |
%mvn_build
|
|
|
2b03e6 |
EOF
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%install
|
|
|
74d5af |
scl enable %{scl_maven} %{scl} - <<"EOF"
|
|
|
2b03e6 |
%mvn_install
|
|
|
2b03e6 |
EOF
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%files -f .mfiles
|
|
|
74d5af |
%dir %{_javadir}/felix-gogo-command
|
|
|
74d5af |
%dir %{_mavenpomdir}/felix-gogo-command
|
|
|
2b03e6 |
%doc LICENSE
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%files javadoc -f .mfiles-javadoc
|
|
|
2b03e6 |
%doc LICENSE
|
|
|
2b03e6 |
|
|
|
2b03e6 |
%changelog
|
|
|
74d5af |
* Fri Jan 16 2015 Mat Booth <mat.booth@redhat.com> - 0.12.0-12
|
|
|
74d5af |
- Fix unowned directories
|
|
|
74d5af |
|
|
|
74d5af |
* Fri Jan 16 2015 Mat Booth <mat.booth@redhat.com> - 0.12.0-11
|
|
|
74d5af |
- Related: rhbz#1175105 - Rebuilt to regenerate requires/provides
|
|
|
74d5af |
|
|
|
74d5af |
* Wed May 21 2014 Mat Booth <mat.booth@redhat.com> - 0.12.0-10
|
|
|
74d5af |
- Removed R's that are only needed when running on a felix osgi runtime
|
|
|
74d5af |
|
|
|
2b03e6 |
* Sat May 17 2014 Sami Wagiaalla <swagiaal@redhat.com> 0.12.0-9
|
|
|
2b03e6 |
- Use pkg_name instead of name for javadoc location.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
* Sat May 17 2014 Sami Wagiaalla <swagiaal@redhat.com> 0.12.0-8
|
|
|
2b03e6 |
- Build for DTS 3 build
|
|
|
2b03e6 |
- Install javadoc manually
|
|
|
2b03e6 |
- Use java-1.7.0-openjdk-devel for java-devel req.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
* Fri May 16 2014 Sami Wagiaalla <swagiaal@redhat.com> 0.12.0-8
|
|
|
2b03e6 |
- Prepare for DTS 3 build
|
|
|
2b03e6 |
- Copy mvn_rpmbuild fix from rawhide.
|
|
|
2b03e6 |
- Use maven scl for maven packages.
|
|
|
2b03e6 |
- enable maven scl for maven commands.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
* Wed Feb 13 2013 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-7
|
|
|
2b03e6 |
- Make the package noarch.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
* Fri Dec 7 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-6
|
|
|
2b03e6 |
- Remove unnecessary runtime dependencies.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
* Wed Nov 21 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-5
|
|
|
2b03e6 |
- Added Exclusive arch.
|
|
|
2b03e6 |
|
|
|
2b03e6 |
* Fri Nov 9 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.12.0-1
|
|
|
2b03e6 |
- Initial contribution to SCL.
|