[10586] | 1 | |
---|
| 2 | %global qt_module qtimageformats |
---|
| 3 | |
---|
[12287] | 4 | #define docs 1 |
---|
[10586] | 5 | |
---|
| 6 | # where to enable webp support |
---|
| 7 | %global webp 1 |
---|
| 8 | |
---|
| 9 | #define prerelease |
---|
| 10 | |
---|
[12287] | 11 | %global qt5_minorver 5.12 |
---|
[12375] | 12 | %global qt5_version 5.12.8 |
---|
[11389] | 13 | #global qt5_patchlevel 1 |
---|
[10586] | 14 | |
---|
| 15 | Summary: Qt5 - QtImageFormats component |
---|
| 16 | Name: qt5-%{qt_module} |
---|
| 17 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
| 18 | Release: 1%{?_dist_release} |
---|
| 19 | |
---|
| 20 | # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for details |
---|
| 21 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
[12287] | 22 | Url: https://www.qt.io/ |
---|
[10586] | 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
[12287] | 27 | Source0: https://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] | 28 | |
---|
[12287] | 29 | BuildRequires: cmake |
---|
| 30 | BuildRequires: qt5-rpm-macros |
---|
| 31 | BuildRequires: qt5-srpm-macros |
---|
[10586] | 32 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
[12287] | 33 | BuildRequires: qt5-qtbase-private-devel |
---|
| 34 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
| 35 | |
---|
[10586] | 36 | BuildRequires: libmng-devel |
---|
| 37 | BuildRequires: libtiff-devel |
---|
| 38 | BuildRequires: jasper-devel |
---|
| 39 | %if 0%{?webp} |
---|
| 40 | BuildRequires: libwebp-devel |
---|
| 41 | %else |
---|
| 42 | Provides: bundled(libwebp) |
---|
| 43 | %endif |
---|
| 44 | |
---|
| 45 | # prior -devel subpkg contained only runtime cmake bits |
---|
| 46 | Obsoletes: qt5-qtimageformats-devel < 5.4.0 |
---|
| 47 | Provides: qt5-qtimageformats-devel = %{version}-%{release} |
---|
| 48 | |
---|
[12287] | 49 | # filter plugin provides |
---|
| 50 | %global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$ |
---|
[10586] | 51 | |
---|
| 52 | %description |
---|
| 53 | The core Qt Gui library by default supports reading and writing image |
---|
| 54 | files of the most common file formats: PNG, JPEG, BMP, GIF and a few more, |
---|
| 55 | ref. Reading and Writing Image Files. The Qt Image Formats add-on module |
---|
| 56 | provides optional support for other image file formats, including: |
---|
| 57 | MNG, TGA, TIFF, WBMP. |
---|
| 58 | |
---|
| 59 | %if 0%{?docs} |
---|
| 60 | %package doc |
---|
| 61 | Summary: API documentation for %{name} |
---|
| 62 | License: GFDL |
---|
| 63 | Requires: %{name} = %{version}-%{release} |
---|
| 64 | BuildRequires: qt5-qdoc |
---|
| 65 | BuildRequires: qt5-qhelpgenerator |
---|
| 66 | BuildArch: noarch |
---|
| 67 | %description doc |
---|
| 68 | %{summary}. |
---|
| 69 | %endif |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %prep |
---|
[12287] | 73 | %setup -q -n %{qt_module}-everywhere-src-%{qt5_version} |
---|
[10586] | 74 | %if 0%{?webp} |
---|
| 75 | rm -rv src/3rdparty |
---|
| 76 | %endif |
---|
| 77 | |
---|
| 78 | %build |
---|
| 79 | mkdir %{_target_platform} |
---|
| 80 | pushd %{_target_platform} |
---|
| 81 | %{qmake_qt5} .. |
---|
| 82 | |
---|
| 83 | make %{?_smp_mflags} |
---|
| 84 | |
---|
| 85 | %if 0%{?docs} |
---|
| 86 | make %{?_smp_mflags} docs |
---|
| 87 | %endif |
---|
| 88 | popd |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %install |
---|
| 92 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 93 | |
---|
| 94 | %if 0%{?docs} |
---|
| 95 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 96 | %endif |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %files |
---|
[12287] | 100 | %license LICENSE.GPL* |
---|
| 101 | %license LICENSE.LGPL* |
---|
[10586] | 102 | %{_qt5_plugindir}/imageformats/libqmng.so |
---|
| 103 | %{_qt5_plugindir}/imageformats/libqtga.so |
---|
| 104 | %{_qt5_plugindir}/imageformats/libqtiff.so |
---|
| 105 | %{_qt5_plugindir}/imageformats/libqwbmp.so |
---|
| 106 | %{_qt5_plugindir}/imageformats/libqicns.so |
---|
| 107 | %{_qt5_plugindir}/imageformats/libqjp2.so |
---|
| 108 | %{_qt5_plugindir}/imageformats/libqwebp.so |
---|
| 109 | %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake |
---|
| 110 | |
---|
| 111 | %if 0%{?docs} |
---|
| 112 | %files doc |
---|
| 113 | %license LICENSE.FDL |
---|
| 114 | %{_qt5_docdir}/qtimageformats.qch |
---|
| 115 | %{_qt5_docdir}/qtimageformats/ |
---|
| 116 | %endif |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | %changelog |
---|
[12375] | 120 | * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1 |
---|
| 121 | - new upstream release. |
---|
| 122 | |
---|
[12348] | 123 | * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1 |
---|
| 124 | - new upstream release. |
---|
| 125 | |
---|
[12287] | 126 | * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1 |
---|
| 127 | - new upstream release. |
---|
| 128 | |
---|
[11389] | 129 | * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1 |
---|
| 130 | - update to 5.6.3 |
---|
| 131 | - delete %%{_qt5_plugindir}/imageformats/libqdds.so |
---|
| 132 | |
---|
[10586] | 133 | * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
| 134 | - new upstream release. |
---|
| 135 | - initial build for Vine Linux. |
---|
| 136 | |
---|
| 137 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
| 138 | - Update to 5.6.1 |
---|
| 139 | |
---|
| 140 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
| 141 | - rebuild |
---|
| 142 | |
---|
| 143 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
| 144 | - rebuild |
---|
| 145 | |
---|
| 146 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
| 147 | - 5.6.0 final release |
---|
| 148 | |
---|
| 149 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc |
---|
| 150 | - Update to final RC |
---|
| 151 | |
---|
| 152 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6 |
---|
| 153 | - Update RC release |
---|
| 154 | |
---|
| 155 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta |
---|
| 156 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 157 | |
---|
| 158 | * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta |
---|
| 159 | - update source URL, use %%license |
---|
| 160 | |
---|
| 161 | * Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 5.6.0-0.3 |
---|
| 162 | - Rebuilt for libwebp soname bump |
---|
| 163 | |
---|
| 164 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2 |
---|
| 165 | - Official beta release |
---|
| 166 | |
---|
| 167 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
| 168 | - Start to implement 5.6.0 beta |
---|
| 169 | |
---|
| 170 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
| 171 | - Update to final release 5.5.1 |
---|
| 172 | |
---|
| 173 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
| 174 | - Update to Qt 5.5.1 RC1 |
---|
| 175 | |
---|
| 176 | * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 |
---|
| 177 | - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping |
---|
| 178 | |
---|
| 179 | * Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
| 180 | - Update for official RC1 released packages |
---|
| 181 | |
---|
| 182 | * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc |
---|
| 183 | - Qt 5.5.0 RC1 |
---|
| 184 | |
---|
| 185 | * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1 |
---|
| 186 | - 5.4.2 |
---|
| 187 | |
---|
| 188 | * Sat May 23 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-4 |
---|
| 189 | - Provides: qt5-qtimageformat-devel |
---|
| 190 | |
---|
| 191 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3 |
---|
| 192 | - Rebuilt for GCC 5 C++11 ABI change |
---|
| 193 | |
---|
| 194 | * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2 |
---|
| 195 | - rebuild (gcc5) |
---|
| 196 | |
---|
| 197 | * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1 |
---|
| 198 | - 5.4.1 |
---|
| 199 | |
---|
| 200 | * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1 |
---|
| 201 | - 5.4.0 (final) |
---|
| 202 | |
---|
| 203 | * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc |
---|
| 204 | - 5.4.0-rc |
---|
| 205 | |
---|
| 206 | * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta |
---|
| 207 | - out-of-tree build, use %%qmake_qt5 |
---|
| 208 | |
---|
| 209 | * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta |
---|
| 210 | - 5.4.0-beta, Obsoletes: qt5-qtimageformats-devel |
---|
| 211 | |
---|
| 212 | * Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1 |
---|
| 213 | - 5.3.2 |
---|
| 214 | |
---|
| 215 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2 |
---|
| 216 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 217 | |
---|
| 218 | * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1 |
---|
| 219 | - 5.3.1 |
---|
| 220 | |
---|
| 221 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2 |
---|
| 222 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 223 | |
---|
| 224 | * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1 |
---|
| 225 | - 5.3.0 |
---|
| 226 | |
---|
| 227 | * Tue Mar 18 2014 Ville Skyttä <ville.skytta@iki.fi> - 5.2.1-2 |
---|
| 228 | - Fix libmng test, build with system one instead of bundled |
---|
| 229 | |
---|
| 230 | * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1 |
---|
| 231 | - 5.2.1 |
---|
| 232 | |
---|
| 233 | * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 |
---|
| 234 | - 5.2.0 |
---|
| 235 | |
---|
| 236 | * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1 |
---|
| 237 | - 5.2.0-rc1 |
---|
| 238 | |
---|
| 239 | * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1 |
---|
| 240 | - rebuild (arm/qreal) |
---|
| 241 | |
---|
| 242 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1 |
---|
| 243 | - 5.2.0-beta1 |
---|
| 244 | |
---|
| 245 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha |
---|
| 246 | - ppc bootstrap |
---|
| 247 | |
---|
| 248 | * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha |
---|
| 249 | - 5.2.0-alpha |
---|
| 250 | - -devel subpkg |
---|
| 251 | - -doc subpkg |
---|
| 252 | |
---|
| 253 | * Fri Aug 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1 |
---|
| 254 | - 5.1.1 |
---|
| 255 | |
---|
| 256 | * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2 |
---|
| 257 | - update Source URL |
---|
| 258 | - include license files |
---|
| 259 | - improved description |
---|
| 260 | |
---|
| 261 | * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1 |
---|
| 262 | - 5.0.2 |
---|
| 263 | |
---|
| 264 | * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1 |
---|
| 265 | - first try |
---|
| 266 | |
---|