Blame SPECS/eclipse-license.spec

f89c27
%{?scl:%scl_package eclipse-license}
f89c27
%{!?scl:%global pkg_name %{name}}
f89c27
%{?java_common_find_provides_and_requires}
f89c27
f89c27
%global license_ver 1.0.1
f89c27
%global qualifier v20140414-1359
f89c27
%global gittag org.eclipse.license-license-%{license_ver}.%{qualifier}
f89c27
f89c27
Name:      %{?scl_prefix}eclipse-license
f89c27
Version:   %{license_ver}
f89c27
Release:   7.1%{?dist}
f89c27
Summary:   Shared license feature for Eclipse
f89c27
f89c27
License:   EPL
f89c27
URL:       http://wiki.eclipse.org/CBI
f89c27
Source0:   http://git.eclipse.org/c/cbi/org.eclipse.license.git/snapshot/%{gittag}.tar.bz2
f89c27
f89c27
BuildArch: noarch
f89c27
f89c27
BuildRequires: %{?scl_prefix}tycho
f89c27
BuildRequires: %{?scl_prefix}tycho-extras
f89c27
BuildRequires: %{?scl_prefix}eclipse-filesystem
f89c27
f89c27
Requires: %{?scl_prefix}eclipse-filesystem
f89c27
f89c27
%description
f89c27
Shared license feature for Eclipse. Other features may consume this
f89c27
feature to avoid unnecessary duplication of license boiler plate.
f89c27
f89c27
%prep
f89c27
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
f89c27
%setup -q -n %{gittag}
f89c27
%{?scl:EOF}
f89c27
f89c27
f89c27
%build
f89c27
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
f89c27
%mvn_build -j
f89c27
%{?scl:EOF}
f89c27
f89c27
f89c27
%install
f89c27
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
f89c27
%mvn_install
f89c27
%{?scl:EOF}
f89c27
f89c27
f89c27
%files -f .mfiles
f89c27
%doc org.eclipse.license/epl-v10.html
f89c27
f89c27
%changelog
f89c27
* Tue Jun 30 2015 Mat Booth <mat.booth@redhat.com> - 1.0.1-7.1
f89c27
- Import latest from Fedora
f89c27
f89c27
* Tue Jun 30 2015 Mat Booth <mat.booth@redhat.com> - 1.0.1-7
f89c27
- BR on eclipse-filesystem
f89c27
f89c27
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
f89c27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f89c27
f89c27
* Tue Aug 26 2014 Mat Booth <mat.booth@redhat.com> - 1.0.1-5
f89c27
- Build/install with xmvn
f89c27
- Require eclipse-filesystem
f89c27
f89c27
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
f89c27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f89c27
f89c27
* Fri May 09 2014 Mat Booth <mat.booth@redhat.com> - 1.0.1-3
f89c27
- Update to latest upstream.
f89c27
f89c27
* Thu Mar 13 2014 Mat Booth <mat.booth@redhat.com> - 1.0.0-2
f89c27
- Use Xmvn.
f89c27
f89c27
* Thu Mar 13 2014 Mat Booth <mat.booth@redhat.com> - 1.0.0-1
f89c27
- Initial version of license shared feature.