[10586] | 1 | %global qt_module qtcanvas3d |
---|
| 2 | |
---|
[12287] | 3 | #define docs 1 |
---|
[10586] | 4 | |
---|
| 5 | #define prerelease |
---|
| 6 | |
---|
[12287] | 7 | %global qt5_minorver 5.12 |
---|
[12375] | 8 | %global qt5_version 5.12.8 |
---|
[11388] | 9 | #global qt5_patchlevel 1 |
---|
[10586] | 10 | |
---|
| 11 | Summary: Qt5 - Canvas3d component |
---|
| 12 | Name: qt5-%{qt_module} |
---|
| 13 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
| 14 | Release: 1%{?_dist_release} |
---|
| 15 | |
---|
| 16 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
[12287] | 17 | Url: https://www.qt.io/ |
---|
[10586] | 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | |
---|
[12287] | 22 | Source0: http://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz |
---|
[10586] | 23 | |
---|
[12287] | 24 | BuildRequires: qt5-rpm-macros >= %{version} |
---|
| 25 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
| 26 | BuildRequires: qt5-qtbase-static |
---|
| 27 | BuildRequires: qt5-qtbase-private-devel |
---|
| 28 | # libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit) |
---|
| 29 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
| 30 | BuildRequires: qt5-qtdeclarative-devel |
---|
[10586] | 31 | |
---|
| 32 | %description |
---|
| 33 | Qt5 Canvas3D component |
---|
| 34 | |
---|
| 35 | %if 0%{?docs} |
---|
| 36 | %package doc |
---|
| 37 | Summary: API documentation for %{name} |
---|
| 38 | License: GFDL |
---|
| 39 | Requires: %{name} = %{version}-%{release} |
---|
| 40 | BuildRequires: qt5-qdoc |
---|
| 41 | BuildRequires: qt5-qhelpgenerator |
---|
| 42 | BuildArch: noarch |
---|
| 43 | %description doc |
---|
| 44 | %{summary}. |
---|
| 45 | %endif |
---|
| 46 | |
---|
| 47 | %package examples |
---|
| 48 | Summary: Programming examples for %{name} |
---|
| 49 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 50 | %description examples |
---|
| 51 | %{summary}. |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %prep |
---|
[12287] | 55 | %setup -q -n %{qt_module}-everywhere-src-%{qt5_version} |
---|
[10586] | 56 | |
---|
| 57 | |
---|
| 58 | %build |
---|
| 59 | mkdir %{_target_platform} |
---|
| 60 | pushd %{_target_platform} |
---|
| 61 | %{qmake_qt5} .. |
---|
| 62 | |
---|
| 63 | make %{?_smp_mflags} |
---|
| 64 | |
---|
| 65 | %if 0%{?docs} |
---|
| 66 | # HACK to avoid multilib conflicts in noarch content |
---|
| 67 | # see also https://bugreports.qt-project.org/browse/QTBUG-42071 |
---|
| 68 | QT_HASH_SEED=0; export QT_HASH_SEED |
---|
| 69 | make %{?_smp_mflags} docs |
---|
| 70 | %endif |
---|
| 71 | popd |
---|
| 72 | |
---|
| 73 | %install |
---|
| 74 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 75 | |
---|
| 76 | %if 0%{?docs} |
---|
| 77 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 78 | %endif |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %files |
---|
| 82 | %license LICENSE.* |
---|
| 83 | %{_qt5_archdatadir}/qml/QtCanvas3D/ |
---|
| 84 | |
---|
| 85 | %if 0%{?docs} |
---|
| 86 | %files doc |
---|
| 87 | %{_qt5_docdir}/%{qt_module}.qch |
---|
| 88 | %{_qt5_docdir}/%{qt_module}/ |
---|
| 89 | %endif |
---|
| 90 | |
---|
| 91 | %if 0%{?_qt5_examplesdir:1} |
---|
| 92 | %files examples |
---|
| 93 | %{_qt5_examplesdir}/canvas3d/ |
---|
| 94 | %endif |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %changelog |
---|
[12375] | 98 | * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1 |
---|
| 99 | - new upstream release. |
---|
| 100 | |
---|
[12348] | 101 | * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1 |
---|
| 102 | - new upstream release. |
---|
| 103 | |
---|
[12287] | 104 | * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1 |
---|
| 105 | - new upstream release. |
---|
| 106 | |
---|
[11388] | 107 | * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1 |
---|
| 108 | - update to 5.6.3 |
---|
| 109 | |
---|
[10586] | 110 | * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
| 111 | - new upstream release. |
---|
| 112 | - initial build for Vine Linux. |
---|
| 113 | |
---|
| 114 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
| 115 | - Update to 5.6.1 |
---|
| 116 | |
---|
| 117 | * Wed Jun 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4 |
---|
| 118 | - restore -doc pkg (#1341457) |
---|
| 119 | |
---|
| 120 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
| 121 | - rebuild |
---|
| 122 | |
---|
| 123 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
| 124 | - rebuild |
---|
| 125 | |
---|
| 126 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
| 127 | - 5.6.0 final release |
---|
| 128 | |
---|
| 129 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6.rc |
---|
| 130 | - Update to final RC |
---|
| 131 | |
---|
| 132 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5 |
---|
| 133 | - Update RC release |
---|
| 134 | |
---|
| 135 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.4.beta |
---|
| 136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 137 | |
---|
| 138 | * Wed Jan 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.3.beta |
---|
| 139 | - respin sources, use %%license, update URLs, fix -doc BR's, drop unneeded scriptlets |
---|
| 140 | |
---|
| 141 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2 |
---|
| 142 | - Official beta release |
---|
| 143 | |
---|
| 144 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
| 145 | - Start to implement 5.6.0 beta |
---|
| 146 | |
---|
| 147 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
| 148 | - Start to implement 5.6.0 beta |
---|
| 149 | |
---|
| 150 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
| 151 | - Update to final release 5.5.1 |
---|
| 152 | |
---|
| 153 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
| 154 | - Update to Qt 5.5.1 RC1 |
---|
| 155 | |
---|
| 156 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
| 157 | - New final upstream release Qt 5.5.0 |
---|
| 158 | |
---|
| 159 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
| 160 | - Update for official RC1 released packages |
---|
| 161 | |
---|
| 162 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.1.rc |
---|
| 163 | - Initial release |
---|