479c999
%{?scl:%scl_package eclipse-license}
479c999
%{!?scl:%global pkg_name %{name}}
479c999
ee70081
%global license_ver 1.0.1
ee70081
%global qualifier v20140414-1359
ee70081
%global gittag org.eclipse.license-license-%{license_ver}.%{qualifier}
Mat Booth 32461b8
479c999
Name:      %{?scl_prefix}eclipse-license
Mat Booth 32461b8
Version:   %{license_ver}
479c999
Release:   4.1%{?dist}
Mat Booth 32461b8
Summary:   Shared license feature for Eclipse
Mat Booth 32461b8
Mat Booth 32461b8
License:   EPL
Mat Booth 32461b8
URL:       http://wiki.eclipse.org/CBI
Mat Booth 32461b8
Source0:   http://git.eclipse.org/c/cbi/org.eclipse.license.git/snapshot/%{gittag}.tar.bz2
Mat Booth 32461b8
Mat Booth 32461b8
BuildArch: noarch
Mat Booth 32461b8
Mat Booth 32461b8
BuildRequires: maven-local
Mat Booth 32461b8
BuildRequires: tycho-extras
Mat Booth 32461b8
BuildRequires: feclipse-maven-plugin
479c999
%{?scl:Requires: %scl_runtime}
Mat Booth 32461b8
Mat Booth 32461b8
%description
Mat Booth 32461b8
Shared license feature for Eclipse. Other features may consume this
Mat Booth 32461b8
feature to avoid unnecessary duplication of license boiler plate.
Mat Booth 32461b8
Mat Booth 32461b8
%prep
Mat Booth 32461b8
%setup -q -n %{gittag}
Mat Booth 32461b8
Mat Booth 32461b8
%build
Mat Booth 32461b8
xmvn -o clean verify
Mat Booth 32461b8
Mat Booth 32461b8
%install
Mat Booth 32461b8
xmvn -o org.fedoraproject:feclipse-maven-plugin:install \
Mat Booth 32461b8
  -DsourceRepo=org.eclipse.license.repo/target/repository/ \
479c999
  -DtargetLocation=%{buildroot}%{_javadir}/%{pkg_name}/eclipse
Mat Booth 32461b8
Mat Booth 32461b8
%files
ee70081
%doc org.eclipse.license/*.html
479c999
%{_javadir}/%{pkg_name}
Mat Booth 32461b8
Mat Booth 32461b8
%changelog
479c999
* Wed Jul 09 2014 Mat Booth <mat.booth@redhat.com> - 1.0.1-4.1
479c999
- SCL-ise
479c999
461c806
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
461c806
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
461c806
ee70081
* Fri May 09 2014 Mat Booth <mat.booth@redhat.com> - 1.0.1-3
ee70081
- Update to latest upstream.
ee70081
ee70081
* Thu Mar 13 2014 Mat Booth <mat.booth@redhat.com> - 1.0.0-2
Mat Booth 32461b8
- Use Xmvn.
Mat Booth 32461b8
ee70081
* Thu Mar 13 2014 Mat Booth <mat.booth@redhat.com> - 1.0.0-1
Mat Booth 32461b8
- Initial version of license shared feature.
Mat Booth 32461b8