From 192cab1a06b906c517b6e926209703df557fd9b3 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 14 Jan 2024 22:54:36 +0300 Subject: [PATCH] import qt5-qtcharts-5.15.9-1.el9 --- .gitignore | 1 + .qt5-qtcharts.metadata | 1 + SPECS/qt5-qtcharts.spec | 227 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 229 insertions(+) create mode 100644 .gitignore create mode 100644 .qt5-qtcharts.metadata create mode 100644 SPECS/qt5-qtcharts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c75df8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/qtcharts-everywhere-opensource-src-5.15.9.tar.xz diff --git a/.qt5-qtcharts.metadata b/.qt5-qtcharts.metadata new file mode 100644 index 0000000..33be130 --- /dev/null +++ b/.qt5-qtcharts.metadata @@ -0,0 +1 @@ +a6eb027d36dd821c113322b489d12bbc4edc807c SOURCES/qtcharts-everywhere-opensource-src-5.15.9.tar.xz diff --git a/SPECS/qt5-qtcharts.spec b/SPECS/qt5-qtcharts.spec new file mode 100644 index 0000000..a305a8a --- /dev/null +++ b/SPECS/qt5-qtcharts.spec @@ -0,0 +1,227 @@ +%global qt_module qtcharts + +Summary: Qt5 - Charts component +Name: qt5-%{qt_module} +Version: 5.15.9 +Release: 1%{?dist} + +License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +Url: http://www.qt.io +%global majmin %(echo %{version} | cut -d. -f1-2) +Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz + +BuildRequires: make +BuildRequires: qt5-qtbase-devel >= %{version} +BuildRequires: qt5-qtdeclarative-devel >= %{version} + +%description +Qt Charts module provides a set of easy to use chart components. It uses the Qt Graphics View Framework, therefore charts can be easily +integrated to modern user interfaces. Qt Charts can be used as QWidgets, QGraphicsWidget, or QML types. +Users can easily create impressive graphs by selecting one of the charts themes. + +%package devel +Summary: Development files for %{name} +Requires: qt5-qtbase-devel%{?_isa} +%description devel +%{summary}. + +%package examples +Summary: Programming examples for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description examples +%{summary}. + + +%prep +%setup -q -n %{qt_module}-everywhere-src-%{version} + + +%build +%{qmake_qt5} \ + %{?_qt5_examplesdir:CONFIG+=qt_example_installs} + +%make_build + + +%install +make install INSTALL_ROOT=%{buildroot} + +## .prl/.la file love +# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs +pushd %{buildroot}%{_qt5_libdir} +for prl_file in libQt5*.prl ; do + sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file} + if [ -f "$(basename ${prl_file} .prl).so" ]; then + rm -fv "$(basename ${prl_file} .prl).la" + sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file} + fi +done +popd + + +%ldconfig_scriptlets + +%files +%license LICENSE.GPL3 +%{_qt5_libdir}/libQt5Charts.so.5* +%{_qt5_qmldir}/QtCharts/ + +%files devel +%{_qt5_headerdir}/QtCharts/ +%{_qt5_libdir}/libQt5Charts.so +%{_qt5_libdir}/libQt5Charts.prl +%{_qt5_libdir}/cmake/Qt5Charts/ +%{_qt5_libdir}/pkgconfig/Qt5Charts.pc +%{_qt5_archdatadir}/mkspecs/modules/* + +%files examples +%{_qt5_examplesdir}/ + + +%changelog +* Sun Jan 14 2024 Arkady L. Shane - 5.15.9-1 +- Rebuilt for MSVSphere 9.3 + +* Tue Apr 11 2023 Jan Grulich - 5.15.9-1 +- 5.15.9 + +* Tue Jan 31 2023 Jan Grulich - 5.15.8-3 +- migrated to SPDX license + +* Fri Jan 20 2023 Fedora Release Engineering - 5.15.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jan 05 2023 Jan Grulich - 5.15.8-1 +- 5.15.8 + +* Mon Oct 31 2022 Jan Grulich - 5.15.7-1 +- 5.15.7 + +* Tue Sep 20 2022 Jan Grulich - 5.15.6-1 +- 5.15.6 + +* Sat Jul 23 2022 Fedora Release Engineering - 5.15.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jul 13 2022 Jan Grulich - 5.15.5-1 +- 5.15.5 + +* Mon May 16 2022 Jan Grulich - 5.15.4-1 +- 5.15.4 + +* Fri Mar 04 2022 Jan Grulich - 5.15.3-1 +- 5.15.3 + +* Fri Jan 21 2022 Fedora Release Engineering - 5.15.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 5.15.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 5.15.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Nov 24 07:54:14 CET 2020 Jan Grulich - 5.15.2-2 +- Rebuild for qtbase with -no-reduce-relocations option + +* Fri Nov 20 09:30:46 CET 2020 Jan Grulich - 5.15.2-1 +- 5.15.2 + +* Thu Sep 10 2020 Jan Grulich - 5.15.1-1 +- 5.15.1 + +* Wed Jul 29 2020 Fedora Release Engineering - 5.14.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Apr 04 2020 Rex Dieter - 5.14.2-1 +- 5.14.2 + +* Thu Jan 30 2020 Fedora Release Engineering - 5.13.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Dec 09 2019 Jan Grulich - 5.13.2-1 +- 5.13.2 + +* Tue Sep 24 2019 Jan Grulich - 5.12.5-1 +- 5.12.5 + +* Fri Jul 26 2019 Fedora Release Engineering - 5.12.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 14 2019 Jan Grulich - 5.12.4-1 +- 5.12.4 + +* Tue Jun 04 2019 Jan Grulich - 5.12.3-1 +- 5.12.3 + +* Fri Feb 15 2019 Rex Dieter - 5.12.1-1 +- 5.12.1 + +* Sat Feb 02 2019 Fedora Release Engineering - 5.11.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Dec 07 2018 Rex Dieter - 5.11.3-1 +- 5.11.3 + +* Fri Sep 21 2018 Jan Grulich - 5.11.2-1 +- 5.11.2 + +* Sun Jul 15 2018 Rex Dieter - 5.11.1-4 +- use %%{_qt5_archdatadir}/mkspecs + +* Sat Jul 14 2018 Fedora Release Engineering - 5.11.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Rex Dieter - 5.11.1-1 +- 5.11.1 + +* Sun May 27 2018 Rex Dieter - 5.11.0-1 +- 5.11.0 +- use %%make_build %%ldconfig_scriptlets + +* Wed Feb 14 2018 Jan Grulich - 5.10.1-1 +- 5.10.1 + +* Fri Feb 09 2018 Fedora Release Engineering - 5.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Dec 19 2017 Jan Grulich - 5.10.0-1 +- 5.10.0 + +* Thu Nov 23 2017 Jan Grulich - 5.9.3-1 +- 5.9.3 + +* Thu Nov 16 2017 Rex Dieter - 5.9.2-1 +- 5.9.2 + +* Thu Aug 03 2017 Fedora Release Engineering - 5.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 5.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 19 2017 Rex Dieter - 5.9.1-1 +- 5.9.1 + +* Fri Jun 16 2017 Rex Dieter - 5.9.0-2 +- Source URL +- .prl/.la file love +- drop shadow/out-of-tree builds (#1456211,QTBUG-37417) + +* Wed May 31 2017 Helio Chissini de Castro - 5.9.0-1 +- Upstream official release + +* Fri May 26 2017 Helio Chissini de Castro - 5.9.0-0.1.rc +- Upstream Release Candidate retagged + +* Tue May 09 2017 Helio Chissini de Castro - 5.9.0-0.beta.3 +- Upstream beta 3 + +* Wed Feb 01 2017 Helio Chissini de Castro - 5.8.0-1 +- New upstream version + +* Thu Nov 10 2016 Helio Chissini de Castro - 5.7.1-1 +- New upstream version + +* Tue Jul 05 2016 Helio Chissini de Castro - 5.7.0-1 +- New Qt 5.7.0 package