diff --git a/.devtoolset-4-swt-chart.metadata b/.devtoolset-4-swt-chart.metadata new file mode 100644 index 0000000..8301a77 --- /dev/null +++ b/.devtoolset-4-swt-chart.metadata @@ -0,0 +1 @@ +2d17a9197393ca5df471f3ef4dd921ef54e0900a SOURCES/swt-chart-0.9.0.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a11272b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/swt-chart-0.9.0.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/swt-chart.spec b/SPECS/swt-chart.spec new file mode 100644 index 0000000..d2045a9 --- /dev/null +++ b/SPECS/swt-chart.spec @@ -0,0 +1,103 @@ +%global pkg_name swt-chart +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} +Name: %{?scl_prefix}swt-chart +Version: 0.9.0 +Release: 5.1%{?dist} +Summary: SWTChart Feature + +License: EPL +URL: http://www.swtchart.org/ +# svn export https://swt-chart.svn.sourceforge.net/svnroot/swt-chart/tags/%%{version}/ %%{pkg_name}-%%{version} +# pushd %%{pkg_name}-%%{version} && rm -rf org.swtchart.{examples{,.ext},ext} && popd +# tar -cJf %%{pkg_name}-%%{version}.tar.xz %%{pkg_name}-%%{version} +Source0: %{pkg_name}-%{version}.tar.xz + +BuildArch: noarch + +BuildRequires: %{?scl_prefix}tycho >= 0.14.0 +Requires: %{?scl_prefix}eclipse-platform >= 3.4.0 + +%description +SWTChart is a light-weight charting component for SWT. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +%{summary}. + +%prep + +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%setup -q -n %{pkg_name}-%{version} +# Create the poms +xmvn -o org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=org.swtchart + +%{?scl:EOF} + +%build + +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_build + +%{?scl:EOF} + +%install + +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_install + +%{?scl:EOF} + +%files -f .mfiles +%dir %{_mavenpomdir}/swt-chart + +%files javadoc -f .mfiles-javadoc + +%changelog +* Fri Jul 03 2015 Roland Grunberg - 0.9.0-5.1 +- SCL-ize. + +* Fri Jun 19 2015 Fedora Release Engineering - 0.9.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jan 15 2015 Mat Booth - 0.9.0-4 +- Fix failure to build from source +- Minor spec file clean ups + +* Thu Aug 14 2014 Mat Booth - 0.9.0-3 +- Fix unowned directory + +* Sun Jun 08 2014 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Feb 27 2014 Roland Grunberg - 0.9.0-1 +- Update to 0.9.0 Release. + +* Wed Feb 26 2014 Roland Grunberg - 0.8.0-9 +- Change R:java to R:java-headless (Bug 1068558). + +* Wed Oct 23 2013 Roland Grunberg 0.8.0-8 +- Fix Bug 1022166. + +* Sun Aug 04 2013 Fedora Release Engineering - 0.8.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 0.8.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Aug 14 2012 Roland Grunberg 0.8.0-5 +- Remove deprecated tycho.targetPlatform due to p2 support. + +* Sat Jul 21 2012 Fedora Release Engineering - 0.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Apr 4 2012 Roland Grunberg 0.8.0-3 +- Use %%{_eclipse_base} from eclipse-platform. + +* Mon Apr 2 2012 Roland Grunberg 0.8.0-2 +- Explicitly require java/java-devel >= 1.5 as per manifest. + +* Tue Mar 6 2012 Roland Grunberg 0.8.0-1 +- Initial packaging of SWTChart.