Blame SPECS/swt-chart.spec

7ab2af
%{?scl:%scl_package swt-chart}
7ab2af
%{!?scl:%global pkg_name %{name}}
e12d2f
%{?java_common_find_provides_and_requires}
7ab2af
7ab2af
Name:           %{?scl_prefix}swt-chart
7ab2af
Version:        0.9.0
e12d2f
Release:        4.1%{?dist}
7ab2af
Summary:        SWTChart Feature
7ab2af
7ab2af
License:        EPL
7ab2af
URL:            http://www.swtchart.org/
7ab2af
# svn export https://swt-chart.svn.sourceforge.net/svnroot/swt-chart/tags/%%{version}/ %%{name}-%%{version}
7ab2af
# pushd %%{name}-%%{version} && rm -rf org.swtchart.{examples{,.ext},ext} && popd
7ab2af
# tar -cJf %%{name}-%%{version}.tar.xz %%{name}-%%{version}
7ab2af
Source0:        %{pkg_name}-%{version}.tar.xz
7ab2af
7ab2af
BuildArch:      noarch
7ab2af
e12d2f
BuildRequires:  %{?scl_prefix}tycho >= 0.14.0
7ab2af
Requires:       %{?scl_prefix}eclipse-platform >= 3.4.0
7ab2af
7ab2af
%description
7ab2af
SWTChart is a light-weight charting component for SWT.
7ab2af
7ab2af
%prep
e12d2f
%setup -q -n swt-chart-%{version}
7ab2af
# Create the poms
e12d2f
%{?scl:scl enable %{scl_maven} %{scl} - <
7ab2af
xmvn -o org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=org.swtchart
e12d2f
%{?scl:EOF}
7ab2af
7ab2af
%build
e12d2f
%{?scl:scl enable %{scl_maven} %{scl} - <
e12d2f
%mvn_build -j
e12d2f
%{?scl:EOF}
7ab2af
7ab2af
%install
e12d2f
%{?scl:scl enable %{scl_maven} %{scl} - <
e12d2f
%mvn_install
e12d2f
%{?scl:EOF}
7ab2af
e12d2f
%files -f .mfiles
e12d2f
%dir %{_mavenpomdir}/swt-chart
7ab2af
e12d2f
%changelog
e12d2f
* Thu Jan 15 2015 Mat Booth <mat.booth@redhat.com> - 0.9.0-4.1
e12d2f
- Related: rhbz#1175105 - Import into DTS 3.1
7ab2af
e12d2f
* Thu Jan 15 2015 Mat Booth <mat.booth@redhat.com> - 0.9.0-4
e12d2f
- Fix failure to build from source
e12d2f
- Minor spec file clean ups
7ab2af
e12d2f
* Thu Aug 14 2014 Mat Booth <mat.booth@redhat.com> - 0.9.0-3
e12d2f
- Fix unowned directory
7ab2af
e12d2f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
e12d2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7ab2af
e12d2f
* Thu Feb 27 2014 Roland Grunberg <rgrunber@redhat.com> - 0.9.0-1
e12d2f
- Update to 0.9.0 Release.
7ab2af
e12d2f
* Wed Feb 26 2014 Roland Grunberg <rgrunber@redhat.com> - 0.8.0-9
e12d2f
- Change R:java to R:java-headless (Bug 1068558).
7ab2af
e12d2f
* Wed Oct 23 2013 Roland Grunberg <rgrunber@redhat.com> 0.8.0-8
e12d2f
- Fix Bug 1022166.
7ab2af
e12d2f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-7
e12d2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7ab2af
e12d2f
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-6
e12d2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7ab2af
7ab2af
* Tue Aug 14 2012 Roland Grunberg <rgrunber@redhat.com> 0.8.0-5
7ab2af
- Remove deprecated tycho.targetPlatform due to p2 support.
7ab2af
7ab2af
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-4
7ab2af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7ab2af
7ab2af
* Wed Apr 4 2012 Roland Grunberg <rgrunber@redhat.com> 0.8.0-3
7ab2af
- Use %%{_eclipse_base} from eclipse-platform.
7ab2af
7ab2af
* Mon Apr 2 2012 Roland Grunberg <rgrunber@redhat.com> 0.8.0-2
7ab2af
- Explicitly require java/java-devel >= 1.5 as per manifest.
7ab2af
7ab2af
* Tue Mar 6 2012 Roland Grunberg <rgrunber@redhat.com> 0.8.0-1
7ab2af
- Initial packaging of SWTChart.