From 32461b8313e456249447633ab492f9cf66722972 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Mar 14 2014 13:58:30 +0000 Subject: Package import, rhbz #1076210 --- diff --git a/.gitignore b/.gitignore index e69de29..7a9628e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/license-1.0.0.v20131003-1638.tar.bz2 +/.build-* +/noarch diff --git a/eclipse-license.spec b/eclipse-license.spec new file mode 100644 index 0000000..13a0a0b --- /dev/null +++ b/eclipse-license.spec @@ -0,0 +1,46 @@ +%global license_ver 1.0.0 +%global qualifier v20131003-1638 +%global gittag license-%{license_ver}.%{qualifier} + +Name: eclipse-license +Version: %{license_ver} +Release: 2%{?dist} +Summary: Shared license feature for Eclipse + +License: EPL +URL: http://wiki.eclipse.org/CBI +Source0: http://git.eclipse.org/c/cbi/org.eclipse.license.git/snapshot/%{gittag}.tar.bz2 + +BuildArch: noarch + +BuildRequires: jpackage-utils +BuildRequires: maven-local +BuildRequires: tycho-extras +BuildRequires: feclipse-maven-plugin + +%description +Shared license feature for Eclipse. Other features may consume this +feature to avoid unnecessary duplication of license boiler plate. + +%prep +%setup -q -n %{gittag} + +%build +xmvn -o clean verify + +%install +xmvn -o org.fedoraproject:feclipse-maven-plugin:install \ + -DsourceRepo=org.eclipse.license.repo/target/repository/ \ + -DtargetLocation=%{buildroot}%{_javadir}/%{name}/eclipse + +%files +%doc org.eclipse.license/epl-v10.html +%{_javadir}/%{name} + +%changelog +* Thu Mar 13 2014 Mat Booth - 1.0.0-2 +- Use Xmvn. + +* Thu Mar 13 2014 Mat Booth - 1.0.0-1 +- Initial version of license shared feature. + diff --git a/sources b/sources index e69de29..5db377e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2a892de18896c23c1c904307e7c1d903 license-1.0.0.v20131003-1638.tar.bz2