[10586] | 1 | #global system_clucene 1 |
---|
| 2 | |
---|
| 3 | ## set to 1 to enable bootstrap |
---|
| 4 | #global bootstrap 1 |
---|
| 5 | |
---|
| 6 | # define to build docs, need to undef this for bootstrapping |
---|
| 7 | # where qt5-qttools builds are not yet available |
---|
| 8 | # only primary archs (for now), allow secondary to bootstrap |
---|
| 9 | %if ! 0%{?bootstrap} |
---|
| 10 | %ifarch %{arm} %{ix86} x86_64 |
---|
| 11 | %define docs 1 |
---|
| 12 | %endif |
---|
| 13 | %endif |
---|
| 14 | |
---|
| 15 | #define prerelease |
---|
| 16 | |
---|
| 17 | %global qt_module qttools |
---|
| 18 | %global qt5_minorver 5.6 |
---|
[11435] | 19 | %global qt5_version 5.6.3 |
---|
| 20 | #global qt5_patchlevel 1 |
---|
[10586] | 21 | |
---|
| 22 | Summary: Qt5 - QtTool components |
---|
| 23 | Name: qt5-qttools |
---|
| 24 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
| 25 | Release: 1%{?_dist_release} |
---|
| 26 | |
---|
| 27 | License: LGPLv3 or LGPLv2 |
---|
| 28 | Url: http://www.qt.io |
---|
| 29 | |
---|
| 30 | Vendor: Project Vine |
---|
| 31 | Distribution: Vine Linux |
---|
| 32 | |
---|
| 33 | 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 |
---|
| 34 | |
---|
| 35 | Patch1: qttools-opensource-src-5.3.2-system-clucene.patch |
---|
| 36 | |
---|
| 37 | # help lrelease/lupdate use/prefer qmake-qt5 |
---|
| 38 | # https://bugzilla.redhat.com/show_bug.cgi?id=1009893 |
---|
| 39 | Patch2: qttools-opensource-src-5.5.0-qmake-qt5.patch |
---|
| 40 | |
---|
| 41 | ## upstream patches |
---|
| 42 | |
---|
| 43 | Source20: assistant.desktop |
---|
| 44 | Source21: designer.desktop |
---|
| 45 | Source22: linguist.desktop |
---|
| 46 | Source23: qdbusviewer.desktop |
---|
| 47 | |
---|
| 48 | BuildRequires: cmake |
---|
| 49 | BuildRequires: desktop-file-utils |
---|
| 50 | ## optional (and deprecated), include in bootstrapping only for now |
---|
| 51 | %if ! 0%{?bootstrap} |
---|
| 52 | BuildRequires: pkgconfig(Qt5WebKit) |
---|
| 53 | %global webkit 1 |
---|
| 54 | %endif |
---|
| 55 | BuildRequires: qt5-qtbase-static >= %{version} |
---|
| 56 | BuildRequires: qt5-qtdeclarative-static >= %{version} |
---|
| 57 | |
---|
| 58 | %if 0%{?system_clucene} |
---|
| 59 | BuildRequires: clucene09-core-devel >= 0.9.21b-12 |
---|
| 60 | %endif |
---|
| 61 | |
---|
| 62 | Requires: %{name}-common = %{version}-%{release} |
---|
| 63 | |
---|
| 64 | %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} |
---|
| 65 | |
---|
| 66 | # when -libs were split out, for multilib upgrade path |
---|
| 67 | Obsoletes: qt5-tools < 5.4.0-0.2 |
---|
| 68 | |
---|
| 69 | %description |
---|
| 70 | %{summary}. |
---|
| 71 | |
---|
| 72 | %package common |
---|
| 73 | Summary: Common files for %{name} |
---|
| 74 | BuildArch: noarch |
---|
| 75 | %description common |
---|
| 76 | %{summary}. |
---|
| 77 | |
---|
| 78 | %package devel |
---|
| 79 | Summary: Development files for %{name} |
---|
| 80 | Requires: %{name} = %{version}-%{release} |
---|
| 81 | Requires: %{name}-libs-clucene%{?_isa} = %{version}-%{release} |
---|
| 82 | Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release} |
---|
| 83 | Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release} |
---|
| 84 | Requires: %{name}-libs-help%{?_isa} = %{version}-%{release} |
---|
| 85 | Requires: qt5-qtbase-devel%{?_isa} |
---|
| 86 | Requires: qt5-qdoc = %{version}-%{release} |
---|
| 87 | Requires: qt5-qhelpgenerator = %{version}-%{release} |
---|
| 88 | Requires: qt5-designer = %{version}-%{release} |
---|
| 89 | Requires: qt5-linguist = %{version}-%{release} |
---|
| 90 | %description devel |
---|
| 91 | %{summary}. |
---|
| 92 | |
---|
| 93 | %package static |
---|
| 94 | Summary: Static library files for %{name} |
---|
| 95 | Requires: %{name}-devel%{?_isa} = %{version}-%{release} |
---|
| 96 | %description static |
---|
| 97 | %{summary}. |
---|
| 98 | |
---|
| 99 | %package libs-clucene |
---|
| 100 | Summary: Qt5 CLucene runtime library |
---|
| 101 | Requires: %{name}-common = %{version}-%{release} |
---|
| 102 | # when split happened |
---|
| 103 | Conflicts: qt5-tools < 5.4.0-0.2 |
---|
| 104 | %description libs-clucene |
---|
| 105 | %{summary}. |
---|
| 106 | |
---|
| 107 | %package libs-designer |
---|
| 108 | Summary: Qt5 Designer runtime library |
---|
| 109 | Requires: %{name}-common = %{version}-%{release} |
---|
| 110 | # when split happened |
---|
| 111 | Conflicts: qt5-tools < 5.4.0-0.2 |
---|
| 112 | %description libs-designer |
---|
| 113 | %{summary}. |
---|
| 114 | |
---|
| 115 | %package libs-designercomponents |
---|
| 116 | Summary: Qt5 Designer Components runtime library |
---|
| 117 | Requires: %{name}-common = %{version}-%{release} |
---|
| 118 | # when split happened |
---|
| 119 | Conflicts: qt5-tools < 5.4.0-0.2 |
---|
| 120 | %description libs-designercomponents |
---|
| 121 | %{summary}. |
---|
| 122 | |
---|
| 123 | %package libs-help |
---|
| 124 | Summary: Qt5 Help runtime library |
---|
| 125 | Requires: %{name}-common = %{version}-%{release} |
---|
| 126 | # when split happened |
---|
| 127 | Conflicts: qt5-tools < 5.4.0-0.2 |
---|
| 128 | %description libs-help |
---|
| 129 | %{summary}. |
---|
| 130 | |
---|
| 131 | %package -n qt5-assistant |
---|
| 132 | Summary: Documentation browser for Qt5 |
---|
| 133 | Requires: %{name}-common = %{version}-%{release} |
---|
| 134 | %description -n qt5-assistant |
---|
| 135 | %{summary}. |
---|
| 136 | |
---|
| 137 | %package -n qt5-designer |
---|
| 138 | Summary: Design GUIs for Qt5 applications |
---|
| 139 | Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release} |
---|
| 140 | Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release} |
---|
| 141 | %description -n qt5-designer |
---|
| 142 | %{summary}. |
---|
| 143 | |
---|
| 144 | %package -n qt5-designer-plugin-webkit |
---|
| 145 | Summary: Qt5 designer plugin for WebKit |
---|
| 146 | Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release} |
---|
| 147 | %description -n qt5-designer-plugin-webkit |
---|
| 148 | %{summary}. |
---|
| 149 | |
---|
| 150 | %package -n qt5-linguist |
---|
| 151 | Summary: Qt5 Linguist Tools |
---|
| 152 | Requires: %{name}-common = %{version}-%{release} |
---|
| 153 | %description -n qt5-linguist |
---|
| 154 | Tools to add translations to Qt5 applications. |
---|
| 155 | |
---|
| 156 | %package -n qt5-qdbusviewer |
---|
| 157 | Summary: D-Bus debugger and viewer |
---|
| 158 | Requires: %{name}-common = %{version}-%{release} |
---|
| 159 | %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} |
---|
| 160 | %description -n qt5-qdbusviewer |
---|
| 161 | QDbusviewer can be used to inspect D-Bus objects of running programs |
---|
| 162 | and invoke methods on those objects. |
---|
| 163 | |
---|
| 164 | %package -n qt5-qhelpgenerator |
---|
| 165 | Summary: Qt5 Help generator tool |
---|
| 166 | Requires: %{name}-libs-help%{?_isa} = %{version}-%{release} |
---|
| 167 | %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} |
---|
| 168 | %description -n qt5-qhelpgenerator |
---|
| 169 | |
---|
| 170 | %package -n qt5-qdoc |
---|
| 171 | Summary: Qt5 documentation generator |
---|
| 172 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 173 | %description -n qt5-qdoc |
---|
| 174 | %{summary}. |
---|
| 175 | |
---|
| 176 | %if 0%{?docs} |
---|
| 177 | %package doc |
---|
| 178 | Summary: API documentation for %{name} |
---|
| 179 | BuildRequires: qt5-qdoc |
---|
| 180 | BuildRequires: qt5-qhelpgenerator |
---|
| 181 | BuildArch: noarch |
---|
| 182 | Conflicts: qt5-qtbase-doc < 5.6.0 |
---|
| 183 | |
---|
| 184 | %description doc |
---|
| 185 | %{summary}. |
---|
| 186 | %endif |
---|
| 187 | |
---|
| 188 | %package examples |
---|
| 189 | Summary: Programming examples for %{name} |
---|
| 190 | Requires: %{name}-common = %{version}-%{release} |
---|
| 191 | %description examples |
---|
| 192 | %{summary}. |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | %prep |
---|
| 196 | %setup -q -n %{qt_module}-opensource-src-%{qt5_version} |
---|
| 197 | |
---|
| 198 | %if 0%{?system_clucene} |
---|
| 199 | %patch1 -p1 -b .system_clucene |
---|
| 200 | # bundled libs |
---|
| 201 | rm -rf src/assistant/3rdparty/clucene |
---|
| 202 | %endif |
---|
| 203 | %patch2 -p1 -b .qmake-qt5 |
---|
| 204 | |
---|
| 205 | |
---|
| 206 | %build |
---|
| 207 | mkdir %{_target_platform} |
---|
| 208 | pushd %{_target_platform} |
---|
| 209 | %{qmake_qt5} .. |
---|
| 210 | |
---|
| 211 | make %{?_smp_mflags} |
---|
| 212 | |
---|
| 213 | %if 0%{?docs} |
---|
| 214 | make %{?_smp_mflags} docs |
---|
| 215 | %endif |
---|
| 216 | popd |
---|
| 217 | |
---|
| 218 | |
---|
| 219 | %install |
---|
| 220 | rm -rf %{buildroot} |
---|
| 221 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 222 | |
---|
| 223 | %if 0%{?docs} |
---|
| 224 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
| 225 | %endif |
---|
| 226 | |
---|
| 227 | # Add desktop files, --vendor=qt4 helps avoid possible conflicts with qt3/qt4 |
---|
| 228 | desktop-file-install \ |
---|
| 229 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
| 230 | --vendor="qt5" \ |
---|
| 231 | %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} |
---|
| 232 | |
---|
| 233 | # icons |
---|
| 234 | install -m644 -p -D src/assistant/assistant/images/assistant.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant-qt5.png |
---|
| 235 | install -m644 -p -D src/assistant/assistant/images/assistant-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/assistant-qt5.png |
---|
| 236 | install -m644 -p -D src/designer/src/designer/images/designer.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/designer-qt5.png |
---|
| 237 | install -m644 -p -D src/qdbus/qdbusviewer/images/qdbusviewer.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/qdbusviewer-qt5.png |
---|
| 238 | install -m644 -p -D src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/qdbusviewer-qt5.png |
---|
| 239 | # linguist icons |
---|
| 240 | for icon in src/linguist/linguist/images/icons/linguist-*-32.png ; do |
---|
| 241 | size=$(echo $(basename ${icon}) | cut -d- -f2) |
---|
| 242 | install -p -m644 -D ${icon} %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist-qt5.png |
---|
| 243 | done |
---|
| 244 | |
---|
| 245 | # hardlink files to %{_bindir}, add -qt5 postfix to not conflict |
---|
| 246 | mkdir %{buildroot}%{_bindir} |
---|
| 247 | pushd %{buildroot}%{_qt5_bindir} |
---|
| 248 | for i in * ; do |
---|
| 249 | case "${i}" in |
---|
| 250 | assistant|designer|lconvert|linguist|lrelease|lupdate|pixeltool|qcollectiongenerator|qdbus|qdbusviewer|qhelpconverter|qhelpgenerator|qtplugininfo) |
---|
| 251 | ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5 |
---|
| 252 | ln -sv ${i} ${i}-qt5 |
---|
| 253 | ;; |
---|
| 254 | *) |
---|
| 255 | ln -v ${i} %{buildroot}%{_bindir}/${i} |
---|
| 256 | ;; |
---|
| 257 | esac |
---|
| 258 | done |
---|
| 259 | popd |
---|
| 260 | |
---|
| 261 | ## .prl/.la file love |
---|
| 262 | # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs |
---|
| 263 | pushd %{buildroot}%{_qt5_libdir} |
---|
| 264 | for prl_file in libQt5*.prl ; do |
---|
| 265 | sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file} |
---|
| 266 | if [ -f "$(basename ${prl_file} .prl).so" ]; then |
---|
| 267 | rm -fv "$(basename ${prl_file} .prl).la" |
---|
| 268 | sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file} |
---|
| 269 | fi |
---|
| 270 | done |
---|
| 271 | popd |
---|
| 272 | |
---|
| 273 | ## Qt5Designer.pc references non-existent Qt5UiPlugin.pc, remove the reference for now |
---|
| 274 | sed -i -e 's| Qt5UiPlugin||g' %{buildroot}%{_qt5_libdir}/pkgconfig/Qt5Designer.pc |
---|
| 275 | |
---|
| 276 | |
---|
| 277 | ## work-in-progress... -- rex |
---|
| 278 | %if 0%{?fedora} || 0%{?rhel} > 6 |
---|
| 279 | %check |
---|
| 280 | # verify validity of Qt5Designer.pc |
---|
| 281 | export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig |
---|
| 282 | pkg-config --print-requires --print-requires-private Qt5Designer |
---|
| 283 | export CMAKE_PREFIX_PATH=%{buildroot}%{_qt5_prefix}:%{buildroot}%{_prefix} |
---|
| 284 | export PATH=%{buildroot}%{_qt5_bindir}:%{_qt5_bindir}:$PATH |
---|
| 285 | export LD_LIBRARY_PATH=%{buildroot}%{_qt5_libdir} |
---|
| 286 | mkdir tests/auto/cmake/%{_target_platform} |
---|
| 287 | pushd tests/auto/cmake/%{_target_platform} |
---|
| 288 | cmake .. |
---|
| 289 | ctest --output-on-failure ||: |
---|
| 290 | popd |
---|
| 291 | %endif |
---|
| 292 | |
---|
| 293 | |
---|
| 294 | %files |
---|
| 295 | %{_bindir}/qdbus-qt5 |
---|
| 296 | %{_bindir}/qtpaths |
---|
| 297 | %{_qt5_bindir}/qdbus |
---|
| 298 | %{_qt5_bindir}/qdbus-qt5 |
---|
| 299 | %{_qt5_bindir}/qtpaths |
---|
| 300 | |
---|
| 301 | %files common |
---|
| 302 | %license LICENSE.LGPL* |
---|
| 303 | |
---|
| 304 | %post libs-clucene -p /sbin/ldconfig |
---|
| 305 | %postun libs-clucene -p /sbin/ldconfig |
---|
| 306 | %files libs-clucene |
---|
| 307 | %{_qt5_libdir}/libQt5CLucene.so.5* |
---|
| 308 | |
---|
| 309 | %post libs-designer -p /sbin/ldconfig |
---|
| 310 | %postun libs-designer -p /sbin/ldconfig |
---|
| 311 | %files libs-designer |
---|
| 312 | %{_qt5_libdir}/libQt5Designer.so.5* |
---|
| 313 | %dir %{_qt5_libdir}/cmake/Qt5Designer/ |
---|
| 314 | |
---|
| 315 | %post libs-designercomponents -p /sbin/ldconfig |
---|
| 316 | %postun libs-designercomponents -p /sbin/ldconfig |
---|
| 317 | %files libs-designercomponents |
---|
| 318 | %{_qt5_libdir}/libQt5DesignerComponents.so.5* |
---|
| 319 | |
---|
| 320 | %post libs-help -p /sbin/ldconfig |
---|
| 321 | %postun libs-help -p /sbin/ldconfig |
---|
| 322 | %files libs-help |
---|
| 323 | %{_qt5_libdir}/libQt5Help.so.5* |
---|
| 324 | |
---|
| 325 | %post -n qt5-assistant |
---|
| 326 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 327 | |
---|
| 328 | %posttrans -n qt5-assistant |
---|
| 329 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 330 | |
---|
| 331 | %postun -n qt5-assistant |
---|
| 332 | if [ $1 -eq 0 ] ; then |
---|
| 333 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 334 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 335 | fi |
---|
| 336 | |
---|
| 337 | %files -n qt5-assistant |
---|
| 338 | %{_bindir}/assistant-qt5 |
---|
| 339 | %{_qt5_bindir}/assistant* |
---|
| 340 | %{_datadir}/applications/*assistant.desktop |
---|
| 341 | %{_datadir}/icons/hicolor/*/apps/assistant*.* |
---|
| 342 | |
---|
| 343 | %post -n qt5-designer |
---|
| 344 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 345 | |
---|
| 346 | %posttrans -n qt5-designer |
---|
| 347 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 348 | update-desktop-database -q &> /dev/null ||: |
---|
| 349 | |
---|
| 350 | %postun -n qt5-designer |
---|
| 351 | if [ $1 -eq 0 ] ; then |
---|
| 352 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 353 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 354 | fi |
---|
| 355 | |
---|
| 356 | %files -n qt5-designer |
---|
| 357 | %{_bindir}/designer* |
---|
| 358 | %{_qt5_bindir}/designer* |
---|
| 359 | %{_datadir}/applications/*designer.desktop |
---|
| 360 | %{_datadir}/icons/hicolor/*/apps/designer*.* |
---|
| 361 | %dir %{_qt5_libdir}/cmake/Qt5Designer/ |
---|
| 362 | %{_qt5_plugindir}/designer/libqquickwidget.so |
---|
| 363 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_QQuickWidgetPlugin.cmake |
---|
| 364 | %if ! 0%{?bootstrap} |
---|
| 365 | %{_qt5_plugindir}/designer/libcontainerextension.so |
---|
| 366 | %{_qt5_plugindir}/designer/libcustomwidgetplugin.so |
---|
| 367 | %{_qt5_plugindir}/designer/libtaskmenuextension.so |
---|
| 368 | %{_qt5_plugindir}/designer/libworldtimeclockplugin.so |
---|
| 369 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_AnalogClockPlugin.cmake |
---|
| 370 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_MultiPageWidgetPlugin.cmake |
---|
| 371 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_TicTacToePlugin.cmake |
---|
| 372 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_WorldTimeClockPlugin.cmake |
---|
| 373 | %endif |
---|
| 374 | %if 0%{?webkit} |
---|
| 375 | %files -n qt5-designer-plugin-webkit |
---|
| 376 | %{_qt5_plugindir}/designer/libqwebview.so |
---|
| 377 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_QWebViewPlugin.cmake |
---|
| 378 | %endif |
---|
| 379 | |
---|
| 380 | %post -n qt5-linguist |
---|
| 381 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 382 | |
---|
| 383 | %posttrans -n qt5-linguist |
---|
| 384 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 385 | update-desktop-database -q &> /dev/null ||: |
---|
| 386 | |
---|
| 387 | %postun -n qt5-linguist |
---|
| 388 | if [ $1 -eq 0 ] ; then |
---|
| 389 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 390 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 391 | fi |
---|
| 392 | |
---|
| 393 | %files -n qt5-linguist |
---|
| 394 | %{_bindir}/linguist* |
---|
| 395 | %{_qt5_bindir}/linguist* |
---|
| 396 | # phrasebooks used by linguist |
---|
| 397 | %{_qt5_datadir}/phrasebooks/ |
---|
| 398 | %{_datadir}/applications/*linguist.desktop |
---|
| 399 | %{_datadir}/icons/hicolor/*/apps/linguist*.* |
---|
| 400 | # linguist friends |
---|
| 401 | %{_bindir}/lconvert* |
---|
| 402 | %{_bindir}/lrelease* |
---|
| 403 | %{_bindir}/lupdate* |
---|
| 404 | %{_qt5_bindir}/lconvert* |
---|
| 405 | %{_qt5_bindir}/lrelease* |
---|
| 406 | %{_qt5_bindir}/lupdate* |
---|
| 407 | # cmake config |
---|
| 408 | %dir %{_qt5_libdir}/cmake/Qt5LinguistTools/ |
---|
| 409 | %{_qt5_libdir}/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig*.cmake |
---|
| 410 | %{_qt5_libdir}/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake |
---|
| 411 | |
---|
| 412 | %post -n qt5-qdbusviewer |
---|
| 413 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 414 | |
---|
| 415 | %posttrans -n qt5-qdbusviewer |
---|
| 416 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 417 | |
---|
| 418 | %postun -n qt5-qdbusviewer |
---|
| 419 | if [ $1 -eq 0 ] ; then |
---|
| 420 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
| 421 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
| 422 | fi |
---|
| 423 | |
---|
| 424 | %files -n qt5-qdbusviewer |
---|
| 425 | %{_bindir}/qdbusviewer* |
---|
| 426 | %{_qt5_bindir}/qdbusviewer* |
---|
| 427 | %{_datadir}/applications/*qdbusviewer.desktop |
---|
| 428 | %{_datadir}/icons/hicolor/*/apps/qdbusviewer*.* |
---|
| 429 | |
---|
| 430 | %files -n qt5-qdoc |
---|
| 431 | %{_bindir}/qdoc* |
---|
| 432 | %{_qt5_bindir}/qdoc* |
---|
| 433 | |
---|
| 434 | %files -n qt5-qhelpgenerator |
---|
| 435 | %{_bindir}/qhelpgenerator* |
---|
| 436 | %{_qt5_bindir}/qhelpgenerator* |
---|
| 437 | |
---|
| 438 | %files devel |
---|
| 439 | %{_bindir}/pixeltool* |
---|
| 440 | %{_bindir}/qcollectiongenerator* |
---|
| 441 | %{_bindir}/qhelpconverter* |
---|
| 442 | %{_bindir}/qtdiag* |
---|
| 443 | %{_bindir}/qtplugininfo* |
---|
| 444 | %{_qt5_bindir}/pixeltool* |
---|
| 445 | %{_qt5_bindir}/qtdiag* |
---|
| 446 | %{_qt5_bindir}/qcollectiongenerator* |
---|
| 447 | %{_qt5_bindir}/qhelpconverter* |
---|
| 448 | %{_qt5_bindir}/qtplugininfo* |
---|
| 449 | %{_qt5_headerdir}/QtCLucene/ |
---|
| 450 | %{_qt5_headerdir}/QtDesigner/ |
---|
| 451 | %{_qt5_headerdir}/QtDesignerComponents/ |
---|
| 452 | %{_qt5_headerdir}/QtHelp/ |
---|
| 453 | %{_qt5_headerdir}/QtUiPlugin |
---|
| 454 | %{_qt5_libdir}/libQt5CLucene.prl |
---|
| 455 | %{_qt5_libdir}/libQt5CLucene.so |
---|
| 456 | %{_qt5_libdir}/libQt5Designer*.prl |
---|
| 457 | %{_qt5_libdir}/libQt5Designer*.so |
---|
| 458 | %{_qt5_libdir}/libQt5Help.prl |
---|
| 459 | %{_qt5_libdir}/libQt5Help.so |
---|
| 460 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5DesignerConfig*.cmake |
---|
| 461 | %dir %{_qt5_libdir}/cmake/Qt5Help/ |
---|
| 462 | %{_qt5_libdir}/cmake/Qt5Help/Qt5HelpConfig*.cmake |
---|
| 463 | %{_qt5_libdir}/cmake/Qt5UiPlugin/ |
---|
| 464 | %{_qt5_libdir}/pkgconfig/Qt5Designer.pc |
---|
| 465 | %{_qt5_libdir}/pkgconfig/Qt5Help.pc |
---|
| 466 | %{_qt5_archdatadir}/mkspecs/modules/*.pri |
---|
| 467 | |
---|
| 468 | %files static |
---|
| 469 | %{_qt5_headerdir}/QtUiTools/ |
---|
| 470 | %{_qt5_libdir}/libQt5UiTools.*a |
---|
| 471 | %{_qt5_libdir}/libQt5UiTools.prl |
---|
| 472 | %{_qt5_libdir}/cmake/Qt5UiTools/ |
---|
| 473 | %{_qt5_libdir}/pkgconfig/Qt5UiTools.pc |
---|
| 474 | |
---|
| 475 | %if 0%{?docs} |
---|
| 476 | %files doc |
---|
| 477 | %license LICENSE.FDL |
---|
| 478 | %{_qt5_docdir}/qtassistant.qch |
---|
| 479 | %{_qt5_docdir}/qtassistant/ |
---|
| 480 | %{_qt5_docdir}/qtdesigner.qch |
---|
| 481 | %{_qt5_docdir}/qtdesigner/ |
---|
| 482 | %{_qt5_docdir}/qdoc.qch |
---|
| 483 | %{_qt5_docdir}/qdoc/ |
---|
| 484 | %{_qt5_docdir}/qthelp.qch |
---|
| 485 | %{_qt5_docdir}/qthelp/ |
---|
| 486 | %{_qt5_docdir}/qtlinguist.qch |
---|
| 487 | %{_qt5_docdir}/qtlinguist/ |
---|
| 488 | %{_qt5_docdir}/qtuitools.qch |
---|
| 489 | %{_qt5_docdir}/qtuitools/ |
---|
| 490 | %endif |
---|
| 491 | |
---|
| 492 | %if ! 0%{?bootstrap} |
---|
| 493 | %files examples |
---|
| 494 | %{_qt5_examplesdir}/ |
---|
| 495 | %endif |
---|
| 496 | |
---|
| 497 | %changelog |
---|
[11435] | 498 | * Tue Jan 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1 |
---|
| 499 | - new upstream release. |
---|
| 500 | |
---|
[10586] | 501 | * Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
| 502 | - new upstream release. |
---|
| 503 | - initial build for Vine Linux. |
---|
| 504 | |
---|
| 505 | * Fri Jun 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2 |
---|
| 506 | - drop BR: double-conversion (fix qtdeclarative instead) |
---|
| 507 | |
---|
| 508 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
| 509 | - Update to 5.6.1 |
---|
| 510 | |
---|
| 511 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
| 512 | - rebuild |
---|
| 513 | |
---|
| 514 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
| 515 | - rebuild |
---|
| 516 | |
---|
| 517 | * Wed Mar 16 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-2 |
---|
| 518 | - 5.6.0 final release |
---|
| 519 | |
---|
| 520 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
| 521 | - 5.6.0 final release |
---|
| 522 | |
---|
| 523 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.12.rc |
---|
| 524 | - Update to final RC |
---|
| 525 | |
---|
| 526 | * Fri Feb 19 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.11.rc |
---|
| 527 | - workaround Qt5Designer.pc reference to non-existent Qt5UiPlugin.pc |
---|
| 528 | |
---|
| 529 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10 |
---|
| 530 | - Update RC release |
---|
| 531 | |
---|
| 532 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.9.rc |
---|
| 533 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 534 | |
---|
| 535 | * Sun Jan 17 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8.rc |
---|
| 536 | - port QTBUG-43057 workaround |
---|
| 537 | |
---|
| 538 | * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.rc |
---|
| 539 | - update source URL, use %%license |
---|
| 540 | |
---|
| 541 | * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6 |
---|
| 542 | - Update to final rc release |
---|
| 543 | |
---|
| 544 | * Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.5 |
---|
| 545 | - (re)fix bootstrap macro |
---|
| 546 | - include qt5-qdoc/qt5-qhelpgenerator build dep deps in -doc subpkg only |
---|
| 547 | - fix whitespace |
---|
| 548 | |
---|
| 549 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4 |
---|
| 550 | - Official rc release |
---|
| 551 | |
---|
| 552 | * Tue Dec 08 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-3 |
---|
| 553 | - Reenable examples. Some interfaces marked as examples are needed from phonon |
---|
| 554 | - Update to second rc snapshot |
---|
| 555 | |
---|
| 556 | * Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2 |
---|
| 557 | - de-bootstrap |
---|
| 558 | |
---|
| 559 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
| 560 | - Start to implement 5.6.0 rc, bootstrapped |
---|
| 561 | |
---|
| 562 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
| 563 | - Update to final release 5.5.1 |
---|
| 564 | |
---|
| 565 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
| 566 | - Update to Qt 5.5.1 RC1 |
---|
| 567 | |
---|
| 568 | * Sat Aug 08 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4 |
---|
| 569 | - qt5-linguist: move lconvert,lrelease,lupdate, cmake Qt5LinguistTools here |
---|
| 570 | |
---|
| 571 | * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3 |
---|
| 572 | - de-bootstrap |
---|
| 573 | |
---|
| 574 | * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 |
---|
| 575 | - qt5-designer, qt5-linguist, qt5-qhelpgenerator subpkgs |
---|
| 576 | |
---|
| 577 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
| 578 | - New final upstream release Qt 5.5.0 |
---|
| 579 | |
---|
| 580 | * Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.4.rc |
---|
| 581 | - Second round of builds now with bootstrap enabled due new qttools |
---|
| 582 | |
---|
| 583 | * Sat Jun 27 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc |
---|
| 584 | - Disable bootstrap |
---|
| 585 | |
---|
| 586 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
| 587 | - Update for official RC1 released packages |
---|
| 588 | |
---|
| 589 | * Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc |
---|
| 590 | - Qt 5.5.0 RC1 |
---|
| 591 | |
---|
| 592 | * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1 |
---|
| 593 | - 5.4.2 |
---|
| 594 | |
---|
| 595 | * Sat May 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-3 |
---|
| 596 | - rebuild (gcc5) |
---|
| 597 | |
---|
| 598 | * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2 |
---|
| 599 | - rebuild (gcc5) |
---|
| 600 | |
---|
| 601 | * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1 |
---|
| 602 | - 5.4.1 |
---|
| 603 | |
---|
| 604 | * Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-2 |
---|
| 605 | - rebuild (gcc5) |
---|
| 606 | |
---|
| 607 | * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1 |
---|
| 608 | - 5.4.0 (final) |
---|
| 609 | |
---|
| 610 | * Tue Dec 09 2014 Daniel Vrátil <dvratil@redhat.com> 5.4.0-0.10.rc |
---|
| 611 | - fix icon name in qdbusviewer-qt5.desktop |
---|
| 612 | |
---|
| 613 | * Sun Nov 30 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.9.rc |
---|
| 614 | - install Linguist icon as linguist-qt5.png, fixes file conflict (#1169127) |
---|
| 615 | |
---|
| 616 | * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.8.rc |
---|
| 617 | - 5.4.0-rc |
---|
| 618 | |
---|
| 619 | * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.7.rc |
---|
| 620 | - out-of-tree build, use %%qmake_qt5 |
---|
| 621 | |
---|
| 622 | * Fri Oct 31 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.6.rc |
---|
| 623 | - respin system-clucene.patch |
---|
| 624 | |
---|
| 625 | * Sun Oct 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.5.rc |
---|
| 626 | - system-clucene patch: create path recursively in QtCLucene, CLucene can't |
---|
| 627 | |
---|
| 628 | * Sun Oct 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.4.rc |
---|
| 629 | - disable bootstrap (reenable -doc) |
---|
| 630 | - system-clucene patch: drop -fpermissive flag |
---|
| 631 | - system-clucene patch: use toLocal8Bit instead of toStdString |
---|
| 632 | - system_clucene: BR clucene09-core-devel >= 0.9.21b-12 (-11 was broken) |
---|
| 633 | |
---|
| 634 | * Sat Oct 25 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-0.3.rc |
---|
| 635 | - libQt5Designer should be in a subpackage (#1156685) |
---|
| 636 | - -doc: disable(boostrap for new clucene), drop dep on main pkg |
---|
| 637 | |
---|
| 638 | * Sat Oct 25 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.2.rc |
---|
| 639 | - BR and rebuild against reference-counting-enabled clucene09 (#1128293) |
---|
| 640 | |
---|
| 641 | * Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.rc |
---|
| 642 | - 5.4.0-rc |
---|
| 643 | |
---|
| 644 | * Fri Oct 17 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-2 |
---|
| 645 | - -devel: Requires: qt5-designer-plugin-webkit |
---|
| 646 | |
---|
| 647 | * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1 |
---|
| 648 | - 5.3.2 |
---|
| 649 | |
---|
| 650 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2 |
---|
| 651 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 652 | |
---|
| 653 | * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1 |
---|
| 654 | - 5.3.1 |
---|
| 655 | |
---|
| 656 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-3 |
---|
| 657 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 658 | |
---|
| 659 | * Thu May 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.3.0-2 |
---|
| 660 | - restore system-clucene patch, rm the bundled copy |
---|
| 661 | |
---|
| 662 | * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1 |
---|
| 663 | - 5.3.0 |
---|
| 664 | |
---|
| 665 | * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1 |
---|
| 666 | - 5.2.1 |
---|
| 667 | |
---|
| 668 | * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3 |
---|
| 669 | - -examples subpkg |
---|
| 670 | |
---|
| 671 | * Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2 |
---|
| 672 | - epel7 bootstrapped |
---|
| 673 | |
---|
| 674 | * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 |
---|
| 675 | - 5.2.0 |
---|
| 676 | |
---|
| 677 | * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1 |
---|
| 678 | - 5.2.0-rc1 |
---|
| 679 | |
---|
| 680 | * Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.rc1 |
---|
| 681 | - enable -doc only on primary archs (allow secondary bootstrap) |
---|
| 682 | |
---|
| 683 | * Sat Nov 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.rc1 |
---|
| 684 | - rebuild (arm/qreal) |
---|
| 685 | |
---|
| 686 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.rc1 |
---|
| 687 | - 5.2.0-rc1 |
---|
| 688 | |
---|
| 689 | * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha |
---|
| 690 | - bootstrap ppc |
---|
| 691 | |
---|
| 692 | * Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha |
---|
| 693 | - 5.2.0-alpha |
---|
| 694 | - -doc subpkg |
---|
| 695 | |
---|
| 696 | * Sat Sep 21 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-6 |
---|
| 697 | - lupdate can't find qmake configuration file default (#1009893) |
---|
| 698 | |
---|
| 699 | * Sat Sep 21 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-4 |
---|
| 700 | - use upstream cmake fix(es) (QTBUG-32570, #1006254) |
---|
| 701 | |
---|
| 702 | * Wed Sep 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-3 |
---|
| 703 | - wrong path to lrelease (#1006254) |
---|
| 704 | - %%check: first try |
---|
| 705 | |
---|
| 706 | * Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2 |
---|
| 707 | - ExclusiveArch: %{ix86} x86_64 %{arm} |
---|
| 708 | - epel-6 love |
---|
| 709 | |
---|
| 710 | * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1 |
---|
| 711 | - qttools-5.1.1 |
---|
| 712 | - qt5-assistant, qt5-qdbusviewer, qt5-designer-plugin-webkit subpkgs (to match qt4) |
---|
| 713 | |
---|
| 714 | * Mon Aug 19 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-4 |
---|
| 715 | - use system clucene09-core |
---|
| 716 | |
---|
| 717 | * Mon Apr 29 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-3 |
---|
| 718 | - drop deprecated Encoding= key from .desktop files |
---|
| 719 | - add justification for desktop vendor usage |
---|
| 720 | |
---|
| 721 | * Fri Apr 19 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2 |
---|
| 722 | - add .desktop/icons for assistant, designer, linguist, qdbusviewer |
---|
| 723 | |
---|
| 724 | * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1 |
---|
| 725 | - 5.0.2 |
---|
| 726 | |
---|
| 727 | * Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-2 |
---|
| 728 | - BR: pkgconfig(zlib) |
---|
| 729 | - -static subpkg |
---|
| 730 | |
---|
| 731 | * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1 |
---|
| 732 | - first try |
---|
| 733 | |
---|