[10586] | 1 | |
---|
| 2 | %global qt_module qtx11extras |
---|
| 3 | |
---|
| 4 | %define docs 1 |
---|
| 5 | |
---|
| 6 | #define prerelease |
---|
| 7 | |
---|
| 8 | %global qt5_minorver 5.6 |
---|
[11388] | 9 | %global qt5_version 5.6.3 |
---|
| 10 | #global qt5_patchlevel 1 |
---|
[10586] | 11 | |
---|
| 12 | Summary: Qt5 - X11 support library |
---|
| 13 | Name: qt5-%{qt_module} |
---|
| 14 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
| 15 | Release: 1%{?_dist_release} |
---|
| 16 | |
---|
| 17 | # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details |
---|
| 18 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
| 19 | Url: http://www.qt.io |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
| 24 | Source0: http://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-opensource-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz |
---|
| 25 | |
---|
| 26 | BuildRequires: cmake |
---|
| 27 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
| 28 | |
---|
| 29 | BuildRequires: qt5-qtbase-private-devel |
---|
| 30 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | The X11 Extras module provides features specific to platforms using X11, e.g. |
---|
| 34 | Linux and UNIX-like systems including embedded Linux systems that use the X |
---|
| 35 | Window System. |
---|
| 36 | |
---|
| 37 | %package devel |
---|
| 38 | Summary: Development files for %{name} |
---|
| 39 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 40 | Requires: qt5-qtbase-devel%{?_isa} |
---|
| 41 | %description devel |
---|
| 42 | %{summary}. |
---|
| 43 | |
---|
| 44 | %if 0%{?docs} |
---|
| 45 | %package doc |
---|
| 46 | Summary: API documentation for %{name} |
---|
| 47 | Requires: %{name} = %{version}-%{release} |
---|
| 48 | BuildRequires: qt5-qdoc |
---|
| 49 | BuildRequires: qt5-qhelpgenerator |
---|
| 50 | BuildArch: noarch |
---|
| 51 | %description doc |
---|
| 52 | %{summary}. |
---|
| 53 | %endif |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q -n %{qt_module}-opensource-src-%{qt5_version} |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | mkdir %{_target_platform} |
---|
| 61 | pushd %{_target_platform} |
---|
| 62 | %{qmake_qt5} .. |
---|
| 63 | |
---|
| 64 | make %{?_smp_mflags} |
---|
| 65 | |
---|
| 66 | %if 0%{?docs} |
---|
| 67 | make %{?_smp_mflags} docs |
---|
| 68 | %endif |
---|
| 69 | popd |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %install |
---|
| 73 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 74 | |
---|
| 75 | %if 0%{?docs} |
---|
| 76 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 77 | %endif |
---|
| 78 | |
---|
| 79 | ## .prl/.la file love |
---|
| 80 | # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs |
---|
| 81 | pushd %{buildroot}%{_qt5_libdir} |
---|
| 82 | for prl_file in libQt5*.prl ; do |
---|
| 83 | sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file} |
---|
| 84 | if [ -f "$(basename ${prl_file} .prl).so" ]; then |
---|
| 85 | rm -fv "$(basename ${prl_file} .prl).la" |
---|
| 86 | sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file} |
---|
| 87 | fi |
---|
| 88 | done |
---|
| 89 | popd |
---|
| 90 | |
---|
| 91 | %post -p /sbin/ldconfig |
---|
| 92 | %postun -p /sbin/ldconfig |
---|
| 93 | |
---|
| 94 | %files |
---|
| 95 | %license LGPL_EXCEPTION.txt LICENSE.LGPL* |
---|
| 96 | %{_qt5_libdir}/libQt5X11Extras.so.5* |
---|
| 97 | |
---|
| 98 | %files devel |
---|
| 99 | %{_qt5_headerdir}/QtX11Extras/ |
---|
| 100 | %{_qt5_libdir}/libQt5X11Extras.so |
---|
| 101 | %{_qt5_libdir}/libQt5X11Extras.prl |
---|
| 102 | %dir %{_qt5_libdir}/cmake/Qt5X11Extras/ |
---|
| 103 | %{_qt5_libdir}/cmake/Qt5X11Extras/Qt5X11ExtrasConfig*.cmake |
---|
| 104 | %{_qt5_libdir}/pkgconfig/Qt5X11Extras.pc |
---|
| 105 | %{_qt5_archdatadir}/mkspecs/modules/qt_lib_x11extras*.pri |
---|
| 106 | |
---|
| 107 | %if 0%{?docs} |
---|
| 108 | %files doc |
---|
| 109 | %{_qt5_docdir}/qtx11extras.qch |
---|
| 110 | %{_qt5_docdir}/qtx11extras/ |
---|
| 111 | %endif |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | %changelog |
---|
[11388] | 115 | * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1 |
---|
| 116 | - update to 5.6.3 |
---|
| 117 | |
---|
[10586] | 118 | * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
| 119 | - new upstream release. |
---|
| 120 | - initial build for Vine Linux. |
---|
| 121 | |
---|
| 122 | * Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2 |
---|
| 123 | - BR: qt5-qtbase-private-devel |
---|
| 124 | |
---|
| 125 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
| 126 | - Update to 5.6.1 |
---|
| 127 | |
---|
| 128 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
| 129 | - rebuild |
---|
| 130 | |
---|
| 131 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
| 132 | - rebuild |
---|
| 133 | |
---|
| 134 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
| 135 | - 5.6.0 final release |
---|
| 136 | |
---|
| 137 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8.rc |
---|
| 138 | - Update to final RC |
---|
| 139 | |
---|
| 140 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc |
---|
| 141 | - Integrate rc packages |
---|
| 142 | |
---|
| 143 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta |
---|
| 144 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 145 | |
---|
| 146 | * Thu Jan 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta |
---|
| 147 | - -doc subpkg |
---|
| 148 | |
---|
| 149 | * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta |
---|
| 150 | - BR: cmake, update source URL, use %%license |
---|
| 151 | |
---|
| 152 | * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3 |
---|
| 153 | - Update to final beta release |
---|
| 154 | |
---|
| 155 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2 |
---|
| 156 | - Official beta release |
---|
| 157 | |
---|
| 158 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
| 159 | - Start to implement 5.6.0 beta |
---|
| 160 | |
---|
| 161 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
| 162 | - Update to final release 5.5.1 |
---|
| 163 | |
---|
| 164 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
| 165 | - Update to Qt 5.5.1 RC1 |
---|
| 166 | |
---|
| 167 | * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 |
---|
| 168 | - tighten qtbase dep (#1233829) |
---|
| 169 | |
---|
| 170 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
| 171 | - New final upstream release Qt 5.5.0 |
---|
| 172 | |
---|
| 173 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
| 174 | - Update for official RC1 released packages |
---|
| 175 | |
---|
| 176 | * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc |
---|
| 177 | - Qt 5.5.0 RC1 |
---|
| 178 | |
---|
| 179 | * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1 |
---|
| 180 | - 5.4.2 |
---|
| 181 | |
---|
| 182 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3 |
---|
| 183 | - Rebuilt for GCC 5 C++11 ABI change |
---|
| 184 | |
---|
| 185 | * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2 |
---|
| 186 | - rebuild (gcc5) |
---|
| 187 | |
---|
| 188 | * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1 |
---|
| 189 | - 5.4.1 |
---|
| 190 | |
---|
| 191 | * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1 |
---|
| 192 | - 5.4.0 (final) |
---|
| 193 | |
---|
| 194 | * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc |
---|
| 195 | - 5.4.0-rc |
---|
| 196 | |
---|
| 197 | * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta |
---|
| 198 | - out-of-tree build, use %%qmake_qt5 |
---|
| 199 | |
---|
| 200 | * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta |
---|
| 201 | - 5.4.0-beta |
---|
| 202 | |
---|
| 203 | * Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1 |
---|
| 204 | - 5.3.2 |
---|
| 205 | |
---|
| 206 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2 |
---|
| 207 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 208 | |
---|
| 209 | * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1 |
---|
| 210 | - 5.3.1 |
---|
| 211 | |
---|
| 212 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2 |
---|
| 213 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 214 | |
---|
| 215 | * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1 |
---|
| 216 | - 5.3.0 |
---|
| 217 | |
---|
| 218 | * Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2 |
---|
| 219 | - use standard (same as qtbase) .la/.prl sanitation |
---|
| 220 | |
---|
| 221 | * Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1 |
---|
| 222 | - 5.2.1 |
---|
| 223 | |
---|
| 224 | * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 |
---|
| 225 | - 5.2.0 |
---|
| 226 | |
---|
| 227 | * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1 |
---|
| 228 | - rebuild (arm/qreal) |
---|
| 229 | |
---|
| 230 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1 |
---|
| 231 | - 5.2.0-beta1 |
---|
| 232 | |
---|
| 233 | * Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.2.alpha |
---|
| 234 | - Bulk sad and useless attempt at consistent SPEC file formatting |
---|
| 235 | |
---|
| 236 | * Wed Oct 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.2.alpha |
---|
| 237 | - Remove ppc64 exclude |
---|
| 238 | |
---|
| 239 | * Wed Oct 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.1.alpha |
---|
| 240 | - 5.2 alpha |
---|
| 241 | |
---|
| 242 | * Fri Sep 27 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.1-1 |
---|
| 243 | - Initial packaging |
---|