qt5-qtbase-vl.spec 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664
  1. %bcond_with systemd
  2. %bcond_with gcc6
  3. %define _unpackaged_files_terminate_build 1
  4. %define ibase -no-sql-ibase
  5. #%define tds -no-sql-tds
  6. # See http://bugzilla.redhat.com/223663
  7. %define multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
  8. %define multilib_basearchs x86_64 %{?mips64} ppc64 s390x sparc64
  9. # support qtchooser (adds qtchooser .conf file)
  10. %define qtchooser 1
  11. %if 0%{?qtchooser}
  12. %define priority 10
  13. %ifarch %{multilib_basearchs}
  14. %define priority 15
  15. %endif
  16. %endif
  17. %global qt_module qtbase
  18. %global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
  19. ## set to 1 to enable bootstrap
  20. #global bootstrap 1
  21. # use external qt_settings pkg
  22. %global qt_settings 0
  23. # See http://bugzilla.redhat.com/1279265
  24. %if !%{with gcc6}
  25. %global inject_optflags 1
  26. %endif
  27. %if %{with systemd}
  28. %global journald -journald
  29. BuildRequires: pkgconfig(libsystemd)
  30. %endif
  31. %if %{with gcc6}
  32. # gcc6: FTBFS
  33. %global qt5_deprecated_flag -Wno-deprecated-declarations
  34. # gcc6: Qt assumes this in places
  35. %global qt5_null_flag -fno-delete-null-pointer-checks
  36. %endif
  37. # define to build docs, need to undef this for bootstrapping
  38. # where qt5-qttools builds are not yet available
  39. # only primary archs (for now), allow secondary to bootstrap
  40. %if ! 0%{?bootstrap}
  41. %ifarch %{arm} %{ix86} x86_64 %{power64} s390 s390x aarch64
  42. %global docs 1
  43. %endif
  44. %global examples 1
  45. %global tests 1
  46. %endif
  47. %global qt5_minorver 5.6
  48. %global qt5_version 5.6.3
  49. #global qt5_patchlevel 1
  50. Summary: Qt5 - QtBase components
  51. Name: qt5-qtbase
  52. Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
  53. Release: 1%{?_dist_release}
  54. # See LGPL_EXCEPTIONS.txt, for exception details
  55. License: LGPLv2 with exceptions or GPLv3 with exceptions
  56. Url: http://qt-project.org/
  57. Vendor: Project Vine
  58. Distribution: Vine Linux
  59. 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
  60. # https://bugzilla.redhat.com/show_bug.cgi?id=1227295
  61. Source1: qtlogging.ini
  62. # header file to workaround multilib issue
  63. # https://bugzilla.redhat.com/show_bug.cgi?id=1036956
  64. Source5: qconfig-multilib.h
  65. # xinitrc script to check for OpenGL 1 only drivers and automatically set
  66. # QT_XCB_FORCE_SOFTWARE_OPENGL for them
  67. Source6: 10-qt5-check-opengl2.sh
  68. # support multilib optflags
  69. Patch2: qtbase-multilib_optflags.patch
  70. # fix QTBUG-35459 (too low entityCharacterLimit=1024 for CVE-2013-4549)
  71. Patch4: qtbase-opensource-src-5.3.2-QTBUG-35459.patch
  72. # upstreamable patches
  73. # Workaround moc/multilib issues
  74. # https://bugzilla.redhat.com/show_bug.cgi?id=1290020
  75. # https://bugreports.qt.io/browse/QTBUG-49972
  76. Patch52: qtbase-opensource-src-5.6.0-moc_WORDSIZE.patch
  77. # arm patch
  78. Patch54: qtbase-opensource-src-5.6.0-arm.patch
  79. # recently passed code review, not integrated yet
  80. # https://codereview.qt-project.org/126102/
  81. Patch60: moc-get-the-system-defines-from-the-compiler-itself.patch
  82. # drop -O3 and make -O2 by default
  83. Patch61: qt5-qtbase-cxxflag.patch
  84. ## upstream patches
  85. # to compile with icu >= 59
  86. Patch1000: qtbase-5.6.3-icu.patch
  87. # macros, be mindful to keep sync'd with macros.qt5
  88. Source10: macros.qt5
  89. %define _qt5 %{name}
  90. %define _qt5_prefix %{_libdir}/qt5
  91. %define _qt5_archdatadir %{_libdir}/qt5
  92. # -devel bindir items (still) conflict with qt4
  93. # at least until this is all implemented,
  94. # http://lists.qt-project.org/pipermail/development/2012-November/007990.html
  95. %define _qt5_bindir %{_qt5_prefix}/bin
  96. %define _qt5_datadir %{_datadir}/qt5
  97. %define _qt5_docdir %{_docdir}/qt5
  98. %define _qt5_examplesdir %{_qt5_prefix}/examples
  99. %define _qt5_headerdir %{_includedir}/qt5
  100. %define _qt5_importdir %{_qt5_archdatadir}/imports
  101. %define _qt5_libdir %{_libdir}
  102. %define _qt5_libexecdir %{_qt5_archdatadir}/libexec
  103. %define _qt5_plugindir %{_qt5_archdatadir}/plugins
  104. %define _qt5_settingsdir %{_sysconfdir}/xdg
  105. %define _qt5_sysconfdir %{_qt5_settingsdir}
  106. %define _qt5_translationdir %{_datadir}/qt5/translations
  107. # Do not check any files in %%{_qt5_plugindir}/platformthemes/ for requires.
  108. # Those themes are there for platform integration. If the required libraries are
  109. # not there, the platform to integrate with isn't either. Then Qt will just
  110. # silently ignore the plugin that fails to load. Thus, there is no need to let
  111. # RPM drag in gtk2 as a dependency for the GTK+ 2 dialog support.
  112. %global __requires_exclude_from ^%{_qt5_plugindir}/platformthemes/.*$
  113. # for %%check
  114. BuildRequires: cmake
  115. BuildRequires: cups-devel
  116. BuildRequires: desktop-file-utils
  117. BuildRequires: findutils
  118. BuildRequires: libjpeg-devel
  119. BuildRequires: libmng-devel
  120. BuildRequires: libtiff-devel
  121. BuildRequires: pkgconfig(alsa)
  122. # http://bugzilla.redhat.com/1196359
  123. %if 0%{?fedora} || 0%{?rhel} > 6
  124. %global dbus -dbus-linked
  125. BuildRequires: pkgconfig(dbus-1)
  126. %endif
  127. BuildRequires: pkgconfig(libdrm)
  128. BuildRequires: pkgconfig(fontconfig)
  129. BuildRequires: pkgconfig(gl)
  130. BuildRequires: pkgconfig(glib-2.0)
  131. BuildRequires: pkgconfig(gtk+-2.0)
  132. BuildRequires: pkgconfig(libproxy-1.0)
  133. # xcb-sm
  134. BuildRequires: pkgconfig(ice) pkgconfig(sm)
  135. BuildRequires: pkgconfig(libpng)
  136. BuildRequires: pkgconfig(libudev)
  137. %global openssl -openssl-linked
  138. BuildRequires: pkgconfig(openssl)
  139. BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
  140. %if 0%{?fedora}
  141. %global xkbcommon -system-xkbcommon
  142. BuildRequires: pkgconfig(libinput)
  143. BuildRequires: pkgconfig(xcb-xkb) >= 1.10
  144. BuildRequires: pkgconfig(xkbcommon) >= 0.4.1
  145. BuildRequires: pkgconfig(xkbcommon-x11) >= 0.4.1
  146. %else
  147. # not Fedora
  148. %if 0%{?rhel} == 6
  149. %global xcb -qt-xcb
  150. %endif
  151. %global xkbcommon -qt-xkbcommon
  152. Provides: bundled(libxkbcommon) = 0.4.1
  153. %endif
  154. BuildRequires: pkgconfig(xkeyboard-config)
  155. %define egl 1
  156. BuildRequires: pkgconfig(egl)
  157. BuildRequires: pkgconfig(gbm)
  158. BuildRequires: pkgconfig(glesv2)
  159. %global sqlite -system-sqlite
  160. BuildRequires: pkgconfig(sqlite3) >= 3.7
  161. %global harfbuzz -system-harfbuzz
  162. BuildRequires: pkgconfig(harfbuzz) >= 0.9.42
  163. BuildRequires: pkgconfig(icu-i18n)
  164. BuildRequires: pkgconfig(libpcre) >= 8.30
  165. %define pcre -system-pcre
  166. BuildRequires: pkgconfig(xcb-xkb)
  167. BuildRequires: pkgconfig(xcb) pkgconfig(xcb-glx) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
  168. BuildRequires: pkgconfig(zlib)
  169. %if 0%{?tests}
  170. BuildRequires: dbus-x11
  171. BuildRequires: mesa-dri-drivers
  172. BuildRequires: time
  173. BuildRequires: xorg-x11-server-Xvfb
  174. %endif
  175. %if 0%{?qtchooser}
  176. %if 0%{?fedora}
  177. Conflicts: qt < 1:4.8.6-10
  178. %endif
  179. Requires(post): %{_sbindir}/update-alternatives
  180. Requires(postun): %{_sbindir}/update-alternatives
  181. %endif
  182. %if 0%{?qt_settings}
  183. Requires: qt-settings
  184. %endif
  185. Requires: %{name}-common = %{version}-%{release}
  186. %description
  187. Qt is a software toolkit for developing applications.
  188. This package contains base tools, like string, xml, and network
  189. handling.
  190. %package common
  191. Summary: Common files for Qt5
  192. Requires: %{name} = %{version}-%{release}
  193. BuildArch: noarch
  194. %description common
  195. %{summary}.
  196. %package devel
  197. Summary: Development files for %{name}
  198. Provides: %{name}-private-devel = %{version}-%{release}
  199. Requires: %{name}%{?_isa} = %{version}-%{release}
  200. Requires: %{name}-gui%{?_isa}
  201. %if 0%{?egl}
  202. Requires: pkgconfig(egl)
  203. %endif
  204. Requires: pkgconfig(gl)
  205. Requires: qt5-rpm-macros
  206. %description devel
  207. %{summary}.
  208. %if 0%{?docs}
  209. %package doc
  210. Summary: API documentation for %{name}
  211. License: GFDL
  212. Requires: %{name} = %{version}-%{release}
  213. BuildRequires: qt5-qhelpgenerator
  214. BuildRequires: qt5-qdoc
  215. BuildArch: noarch
  216. %description doc
  217. %{summary}.
  218. %endif
  219. %package examples
  220. Summary: Programming examples for %{name}
  221. Requires: %{name}%{?_isa} = %{version}-%{release}
  222. %description examples
  223. %{summary}.
  224. %package static
  225. Summary: Static library files for %{name}
  226. Requires: %{name}-devel%{?_isa} = %{version}-%{release}
  227. Requires: pkgconfig(fontconfig)
  228. Requires: pkgconfig(glib-2.0)
  229. %if 0%{?fedora}
  230. Requires: pkgconfig(libinput)
  231. Requires: pkgconfig(xkbcommon)
  232. %endif
  233. Requires: pkgconfig(zlib)
  234. %description static
  235. %{summary}.
  236. %if "%{?ibase}" != "-no-sql-ibase"
  237. %package ibase
  238. Summary: IBase driver for Qt5's SQL classes
  239. BuildRequires: firebird-devel
  240. Requires: %{name}%{?_isa} = %{version}-%{release}
  241. %description ibase
  242. %{summary}.
  243. %endif
  244. %package mysql
  245. Summary: MySQL driver for Qt5's SQL classes
  246. BuildRequires: libmysqlclient-devel
  247. Requires: %{name}%{?_isa} = %{version}-%{release}
  248. %description mysql
  249. %{summary}.
  250. %package odbc
  251. Summary: ODBC driver for Qt5's SQL classes
  252. BuildRequires: unixODBC-devel
  253. Requires: %{name}%{?_isa} = %{version}-%{release}
  254. %description odbc
  255. %{summary}.
  256. %package postgresql
  257. Summary: PostgreSQL driver for Qt5's SQL classes
  258. BuildRequires: libpq-devel
  259. Requires: %{name}%{?_isa} = %{version}-%{release}
  260. %description postgresql
  261. %{summary}.
  262. %if "%{?tds}" != "-no-sql-tds"
  263. %package tds
  264. Summary: TDS driver for Qt5's SQL classes
  265. BuildRequires: freetds-devel
  266. Requires: %{name}%{?_isa} = %{version}-%{release}
  267. %description tds
  268. %{summary}.
  269. %endif
  270. # debating whether to do 1 subpkg per library or not -- rex
  271. %package gui
  272. Summary: Qt5 GUI-related libraries
  273. Requires: %{name}%{?_isa} = %{version}-%{release}
  274. %if 0%{?fedora} > 20
  275. Recommends: mesa-dri-drivers
  276. %endif
  277. Obsoletes: qt5-qtbase-x11 < 5.2.0
  278. Provides: qt5-qtbase-x11 = %{version}-%{release}
  279. # for Source6: 10-qt5-check-opengl2.sh:
  280. # glxinfo
  281. Requires: glx-utils
  282. %description gui
  283. Qt5 libraries used for drawing widgets and OpenGL items.
  284. %package -n qt5-rpm-macros
  285. Summary: RPM macros for Qt5
  286. %if 0%{?fedora} > 22 && 0%{?inject_optflags}
  287. # https://bugzilla.redhat.com/show_bug.cgi?id=1248174
  288. Requires: redhat-rpm-config
  289. %endif
  290. # when qt5-rpm-macros was split out
  291. Conflicts: qt5-qtbase-devel < 5.6.0-0.23
  292. BuildArch: noarch
  293. %description -n qt5-rpm-macros
  294. RPM macros for building Qt5 packages.
  295. %prep
  296. %setup -q -n %{qt_module}-opensource-src-%{qt5_version}
  297. %patch4 -p1 -b .QTBUG-35459
  298. %patch52 -p1 -b .moc_WORDSIZE
  299. %patch54 -p1 -b .arm
  300. %patch60 -p1 -b .moc_system_defines
  301. %patch61 -p1 -b .qt5-qtbase-cxxflag
  302. %patch1000 -p0 -b .icu59
  303. %define platform linux-g++
  304. %if 0%{?inject_optflags}
  305. ## adjust $RPM_OPT_FLAGS
  306. # remove -fexceptions
  307. RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
  308. #RPM_OPT_FLAGS="$RPM_OPT_FLAGS -std=c++11"
  309. # these flags are for qtbase build only, no need to propogate elsewhere
  310. #RPM_OPT_FLAGS="$RPM_OPT_FLAGS %{?qt5_deprecated_flag} %{?qt5_arm_flag}"
  311. %patch2 -p1 -b .multilib_optflags
  312. # drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463
  313. rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags
  314. sed -i -e "s|-O2|$RPM_OPT_FLAGS|g" \
  315. mkspecs/%{platform}/qmake.conf
  316. sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 $RPM_LD_FLAGS|" \
  317. mkspecs/common/g++-unix.conf
  318. # undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)
  319. sed -i -e 's|^\(QMAKE_STRIP.*=\).*$|\1|g' mkspecs/common/linux.conf
  320. %endif
  321. %if 0%{?prerelease}
  322. bin/syncqt.pl -version %{version}
  323. %endif
  324. # move some bundled libs to ensure they're not accidentally used
  325. pushd src/3rdparty
  326. mkdir UNUSED
  327. mv freetype libjpeg libpng zlib UNUSED/
  328. %if "%{?sqlite}" == "-system-sqlite"
  329. mv sqlite UNUSED/
  330. %endif
  331. %if "%{?xcb}" != "-qt-xcb"
  332. mv xcb UNUSED/
  333. %endif
  334. popd
  335. # builds failing mysteriously on f20
  336. # ./configure: Permission denied
  337. # check to ensure that can't happen -- rex
  338. test -x configure || chmod +x configure
  339. %build
  340. ## FIXME/TODO:
  341. # * for %%ix86, add sse2 enabled builds for Qt5Gui, Qt5Core, QtNetwork, see also:
  342. # http://anonscm.debian.org/cgit/pkg-kde/qt/qtbase.git/tree/debian/rules (234-249)
  343. ## adjust $RPM_OPT_FLAGS
  344. # remove -fexceptions
  345. RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
  346. RPM_OPT_FLAGS="$RPM_OPT_FLAGS -std=c++11"
  347. RPM_OPT_FLAGS="$RPM_OPT_FLAGS %{?qt5_arm_flag} %{?qt5_deprecated_flag} %{?qt5_null_flag}"
  348. export CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
  349. export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS"
  350. export LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
  351. export MAKEFLAGS="%{?_smp_mflags}"
  352. ./configure -v \
  353. -confirm-license \
  354. -opensource \
  355. -prefix %{_qt5_prefix} \
  356. -archdatadir %{_qt5_archdatadir} \
  357. -bindir %{_qt5_bindir} \
  358. -datadir %{_qt5_datadir} \
  359. -docdir %{_qt5_docdir} \
  360. -examplesdir %{_qt5_examplesdir} \
  361. -headerdir %{_qt5_headerdir} \
  362. -importdir %{_qt5_importdir} \
  363. -libdir %{_qt5_libdir} \
  364. -libexecdir %{_qt5_libexecdir} \
  365. -plugindir %{_qt5_plugindir} \
  366. -sysconfdir %{_qt5_sysconfdir} \
  367. -translationdir %{_qt5_translationdir} \
  368. -platform %{platform} \
  369. -release \
  370. -shared \
  371. -accessibility \
  372. %{?dbus}%{!?dbus:-dbus-runtime} \
  373. -fontconfig \
  374. -glib \
  375. -gtkstyle \
  376. %{?ibase} \
  377. -iconv \
  378. -icu \
  379. %{?journald} \
  380. %{?openssl} \
  381. -optimized-qmake \
  382. %{!?examples:-nomake examples} \
  383. %{!?tests:-nomake tests} \
  384. -no-pch \
  385. -no-rpath \
  386. -no-separate-debug-info \
  387. %ifarch %{ix86}
  388. -no-sse2 \
  389. %endif
  390. -no-strip \
  391. -system-libjpeg \
  392. -system-libpng \
  393. %{?harfbuzz} \
  394. %{?pcre} \
  395. %{?sqlite} \
  396. %{?tds} \
  397. %{?xcb} \
  398. %{?xkbcommon} \
  399. -system-zlib \
  400. -no-directfb
  401. %if ! 0%{?inject_optflags}
  402. # ensure qmake build using optflags (which can happen if not munging qmake.conf defaults)
  403. make clean -C qmake
  404. make %{?_smp_mflags} -C qmake \
  405. QMAKE_CFLAGS_RELEASE="${CFLAGS:-$RPM_OPT_FLAGS}" \
  406. QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-$RPM_OPT_FLAGS}" \
  407. QMAKE_LFLAGS_RELEASE="${LDFLAGS:-$RPM_LD_FLAGS}" \
  408. QMAKE_STRIP=
  409. %endif
  410. make %{?_smp_mflags}
  411. %if 0%{?docs}
  412. # HACK to avoid multilib conflicts in noarch content
  413. # see also https://bugreports.qt-project.org/browse/QTBUG-42071
  414. QT_HASH_SEED=0; export QT_HASH_SEED
  415. make html_docs
  416. make qch_docs
  417. %endif
  418. %install
  419. make install INSTALL_ROOT=%{buildroot}
  420. %if 0%{?docs}
  421. make install_docs INSTALL_ROOT=%{buildroot}
  422. %endif
  423. install -m644 -p -D %{SOURCE1} %{buildroot}%{_qt5_datadir}/qtlogging.ini
  424. # Qt5.pc
  425. cat >%{buildroot}%{_libdir}/pkgconfig/Qt5.pc<<EOF
  426. prefix=%{_qt5_prefix}
  427. archdatadir=%{_qt5_archdatadir}
  428. bindir=%{_qt5_bindir}
  429. datadir=%{_qt5_datadir}
  430. docdir=%{_qt5_docdir}
  431. examplesdir=%{_qt5_examplesdir}
  432. headerdir=%{_qt5_headerdir}
  433. importdir=%{_qt5_importdir}
  434. libdir=%{_qt5_libdir}
  435. libexecdir=%{_qt5_libexecdir}
  436. moc=%{_qt5_bindir}/moc
  437. plugindir=%{_qt5_plugindir}
  438. qmake=%{_qt5_bindir}/qmake
  439. settingsdir=%{_qt5_settingsdir}
  440. sysconfdir=%{_qt5_sysconfdir}
  441. translationdir=%{_qt5_translationdir}
  442. Name: Qt5
  443. Description: Qt5 Configuration
  444. Version: %{version}
  445. EOF
  446. # rpm macros
  447. install -p -m644 -D %{SOURCE10} \
  448. %{buildroot}%{rpm_macros_dir}/macros.qt5
  449. sed -i \
  450. -e "s|@@NAME@@|%{name}|g" \
  451. -e "s|@@EPOCH@@|%{?epoch}%{!?epoch:0}|g" \
  452. -e "s|@@VERSION@@|%{version}|g" \
  453. -e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \
  454. -e "s|@@QT5_CFLAGS@@|%{?qt5_cflags}|g" \
  455. -e "s|@@QT5_CXXFLAGS@@|%{?qt5_cxxflags}|g" \
  456. -e "s|@@QT5_RPM_LD_FLAGS@@|%{?qt5_rpm_ld_flags}|g" \
  457. -e "s|@@QT5_RPM_OPT_FLAGS@@|%{?qt5_rpm_opt_flags} %{?qt5_null_flag}|g" \
  458. %{buildroot}%{rpm_macros_dir}/macros.qt5
  459. # create/own dirs
  460. mkdir -p %{buildroot}{%{_qt5_archdatadir}/mkspecs/modules,%{_qt5_importdir},%{_qt5_libexecdir},%{_qt5_plugindir}/{designer,iconengines,script,styles},%{_qt5_translationdir}}
  461. mkdir -p %{buildroot}%{_sysconfdir}/xdg/QtProject
  462. # hardlink files to %{_bindir}, add -qt5 postfix to not conflict
  463. mkdir %{buildroot}%{_bindir}
  464. pushd %{buildroot}%{_qt5_bindir}
  465. for i in * ; do
  466. case "${i}" in
  467. moc|qdbuscpp2xml|qdbusxml2cpp|qmake|rcc|syncqt|uic)
  468. ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5
  469. ln -sv ${i} ${i}-qt5
  470. ;;
  471. *)
  472. ln -v ${i} %{buildroot}%{_bindir}/${i}
  473. ;;
  474. esac
  475. done
  476. popd
  477. %ifarch %{multilib_archs}
  478. # multilib: qconfig.h
  479. mv %{buildroot}%{_qt5_headerdir}/QtCore/qconfig.h %{buildroot}%{_qt5_headerdir}/QtCore/qconfig-%{__isa_bits}.h
  480. install -p -m644 -D %{SOURCE5} %{buildroot}%{_qt5_headerdir}/QtCore/qconfig.h
  481. %endif
  482. # qtchooser conf
  483. %if 0%{?qtchooser}
  484. mkdir -p %{buildroot}%{_sysconfdir}/xdg/qtchooser
  485. pushd %{buildroot}%{_sysconfdir}/xdg/qtchooser
  486. echo "%{_qt5_bindir}" > 5-%{__isa_bits}.conf
  487. echo "%{_qt5_prefix}" >> 5-%{__isa_bits}.conf
  488. # alternatives targets
  489. touch default.conf 5.conf
  490. popd
  491. %endif
  492. ## .prl/.la file love
  493. # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
  494. pushd %{buildroot}%{_qt5_libdir}
  495. for prl_file in libQt5*.prl ; do
  496. sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
  497. if [ -f "$(basename ${prl_file} .prl).so" ]; then
  498. rm -fv "$(basename ${prl_file} .prl).la"
  499. sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
  500. fi
  501. done
  502. popd
  503. install -p -m755 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh
  504. %check
  505. %if 0%{?tests}
  506. ## see tests/README for expected environment (running a plasma session essentially)
  507. ## we are not quite there yet
  508. export CTEST_OUTPUT_ON_FAILURE=1
  509. export PATH=%{buildroot}%{_qt5_bindir}:$PATH
  510. export LD_LIBRARY_PATH=%{buildroot}%{_qt5_libdir}
  511. # dbus tests error out when building if session bus is not available
  512. dbus-launch --exit-with-session \
  513. make sub-tests %{?_smp_mflags} -k ||:
  514. xvfb-run -a --server-args="-screen 0 1280x1024x32" \
  515. dbus-launch --exit-with-session \
  516. time \
  517. make check -k ||:
  518. %endif
  519. %if 0%{?qtchooser}
  520. %pre
  521. if [ $1 -gt 1 ] ; then
  522. # remove short-lived qt5.conf alternatives
  523. %{_sbindir}/update-alternatives \
  524. --remove qtchooser-qt5 \
  525. %{_sysconfdir}/xdg/qtchooser/qt5-%{__isa_bits}.conf >& /dev/null ||:
  526. %{_sbindir}/update-alternatives \
  527. --remove qtchooser-default \
  528. %{_sysconfdir}/xdg/qtchooser/qt5.conf >& /dev/null ||:
  529. fi
  530. %endif
  531. %post
  532. /sbin/ldconfig
  533. %if 0%{?qtchooser}
  534. %{_sbindir}/update-alternatives \
  535. --install %{_sysconfdir}/xdg/qtchooser/5.conf \
  536. qtchooser-5 \
  537. %{_sysconfdir}/xdg/qtchooser/5-%{__isa_bits}.conf \
  538. %{priority}
  539. %{_sbindir}/update-alternatives \
  540. --install %{_sysconfdir}/xdg/qtchooser/default.conf \
  541. qtchooser-default \
  542. %{_sysconfdir}/xdg/qtchooser/5.conf \
  543. %{priority}
  544. %endif
  545. %postun
  546. /sbin/ldconfig
  547. %if 0%{?qtchooser}
  548. if [ $1 -eq 0 ]; then
  549. %{_sbindir}/update-alternatives \
  550. --remove qtchooser-5 \
  551. %{_sysconfdir}/xdg/qtchooser/5-%{__isa_bits}.conf
  552. %{_sbindir}/update-alternatives \
  553. --remove qtchooser-default \
  554. %{_sysconfdir}/xdg/qtchooser/5.conf
  555. fi
  556. %endif
  557. %files
  558. %{!?_licensedir:%global license %%doc}
  559. %license LICENSE.LGPL* LGPL_EXCEPTION.txt LICENSE.FDL
  560. %if 0%{?qtchooser}
  561. %dir %{_sysconfdir}/xdg/qtchooser
  562. # not editable config files, so not using %%config here
  563. %ghost %{_sysconfdir}/xdg/qtchooser/default.conf
  564. %ghost %{_sysconfdir}/xdg/qtchooser/5.conf
  565. %{_sysconfdir}/xdg/qtchooser/5-%{__isa_bits}.conf
  566. %endif
  567. %dir %{_sysconfdir}/xdg/QtProject/
  568. %{_qt5_libdir}/libQt5Concurrent.so.5*
  569. %{_qt5_libdir}/libQt5Core.so.5*
  570. %{_qt5_libdir}/libQt5DBus.so.5*
  571. %{_qt5_libdir}/libQt5Network.so.5*
  572. %{_qt5_libdir}/libQt5Sql.so.5*
  573. %{_qt5_libdir}/libQt5Test.so.5*
  574. %{_qt5_libdir}/libQt5Xml.so.5*
  575. %dir %{_qt5_libdir}/cmake/
  576. %dir %{_qt5_libdir}/cmake/Qt5/
  577. %dir %{_qt5_libdir}/cmake/Qt5Concurrent/
  578. %dir %{_qt5_libdir}/cmake/Qt5Core/
  579. %dir %{_qt5_libdir}/cmake/Qt5DBus/
  580. %dir %{_qt5_libdir}/cmake/Qt5Gui/
  581. %dir %{_qt5_libdir}/cmake/Qt5Network/
  582. %dir %{_qt5_libdir}/cmake/Qt5OpenGL/
  583. %dir %{_qt5_libdir}/cmake/Qt5PrintSupport/
  584. %dir %{_qt5_libdir}/cmake/Qt5Sql/
  585. %dir %{_qt5_libdir}/cmake/Qt5Test/
  586. %dir %{_qt5_libdir}/cmake/Qt5Widgets/
  587. %dir %{_qt5_libdir}/cmake/Qt5Xml/
  588. %dir %{_qt5_docdir}/
  589. %{_qt5_docdir}/global/
  590. %{_qt5_importdir}/
  591. %{_qt5_translationdir}/
  592. %dir %{_qt5_prefix}/
  593. %dir %{_qt5_datadir}/
  594. %{_qt5_datadir}/qtlogging.ini
  595. %dir %{_qt5_libexecdir}/
  596. %dir %{_qt5_plugindir}/
  597. %dir %{_qt5_plugindir}/bearer/
  598. %{_qt5_plugindir}/bearer/libqconnmanbearer.so
  599. %{_qt5_plugindir}/bearer/libqgenericbearer.so
  600. %{_qt5_plugindir}/bearer/libqnmbearer.so
  601. %{_qt5_libdir}/cmake/Qt5Network/Qt5Network_QConnmanEnginePlugin.cmake
  602. %{_qt5_libdir}/cmake/Qt5Network/Qt5Network_QGenericEnginePlugin.cmake
  603. %{_qt5_libdir}/cmake/Qt5Network/Qt5Network_QNetworkManagerEnginePlugin.cmake
  604. %dir %{_qt5_plugindir}/designer/
  605. %dir %{_qt5_plugindir}/generic/
  606. %dir %{_qt5_plugindir}/iconengines/
  607. %dir %{_qt5_plugindir}/imageformats/
  608. %dir %{_qt5_plugindir}/platforminputcontexts/
  609. %dir %{_qt5_plugindir}/platforms/
  610. %dir %{_qt5_plugindir}/platformthemes/
  611. %dir %{_qt5_plugindir}/printsupport/
  612. %dir %{_qt5_plugindir}/script/
  613. %dir %{_qt5_plugindir}/sqldrivers/
  614. %dir %{_qt5_plugindir}/styles/
  615. %{_qt5_plugindir}/sqldrivers/libqsqlite.so
  616. %{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QSQLiteDriverPlugin.cmake
  617. %files common
  618. # empty for now, consider: filesystem/dir ownership, licenses
  619. %if 0%{?docs}
  620. %files doc
  621. %license LICENSE.FDL
  622. %doc dist/README dist/changes-5.*
  623. %{_qt5_docdir}/*.qch
  624. %if 0%{?examples}
  625. %if 0%{!?bootstrap}
  626. # included in -examples instead, see bug #1212750
  627. %exclude %{_qt5_docdir}/*/examples-manifest.xml
  628. %endif
  629. %endif
  630. %{_qt5_docdir}/qmake/
  631. %{_qt5_docdir}/qtconcurrent/
  632. %{_qt5_docdir}/qtcore/
  633. %{_qt5_docdir}/qtdbus/
  634. %{_qt5_docdir}/qtgui/
  635. %{_qt5_docdir}/qtnetwork/
  636. %{_qt5_docdir}/qtopengl/
  637. %{_qt5_docdir}/qtplatformheaders/
  638. %{_qt5_docdir}/qtprintsupport/
  639. %{_qt5_docdir}/qtsql/
  640. %{_qt5_docdir}/qttestlib/
  641. %{_qt5_docdir}/qtwidgets/
  642. %{_qt5_docdir}/qtxml/
  643. %endif
  644. %files devel
  645. %if "%{_qt5_bindir}" != "%{_bindir}"
  646. %dir %{_qt5_bindir}
  647. %endif
  648. %{_bindir}/moc*
  649. %{_bindir}/qdbuscpp2xml*
  650. %{_bindir}/qdbusxml2cpp*
  651. %{_bindir}/qmake*
  652. %{_bindir}/rcc*
  653. %{_bindir}/syncqt*
  654. %{_bindir}/uic*
  655. %{_bindir}/qlalr
  656. %{_bindir}/fixqt4headers.pl
  657. %{_qt5_bindir}/moc*
  658. %{_qt5_bindir}/qdbuscpp2xml*
  659. %{_qt5_bindir}/qdbusxml2cpp*
  660. %{_qt5_bindir}/qmake*
  661. %{_qt5_bindir}/rcc*
  662. %{_qt5_bindir}/syncqt*
  663. %{_qt5_bindir}/uic*
  664. %{_qt5_bindir}/qlalr
  665. %{_qt5_bindir}/fixqt4headers.pl
  666. %if "%{_qt5_headerdir}" != "%{_includedir}"
  667. %dir %{_qt5_headerdir}
  668. %endif
  669. %{_qt5_headerdir}/QtConcurrent/
  670. %{_qt5_headerdir}/QtCore/
  671. %{_qt5_headerdir}/QtDBus/
  672. %{_qt5_headerdir}/QtGui/
  673. %{_qt5_headerdir}/QtNetwork/
  674. %{_qt5_headerdir}/QtOpenGL/
  675. %{_qt5_headerdir}/QtPlatformHeaders/
  676. %{_qt5_headerdir}/QtPrintSupport/
  677. %{_qt5_headerdir}/QtSql/
  678. %{_qt5_headerdir}/QtTest/
  679. %{_qt5_headerdir}/QtWidgets/
  680. %{_qt5_headerdir}/QtXml/
  681. %{_qt5_archdatadir}/mkspecs/
  682. %{_qt5_libdir}/libQt5Concurrent.prl
  683. %{_qt5_libdir}/libQt5Concurrent.so
  684. %{_qt5_libdir}/libQt5Core.prl
  685. %{_qt5_libdir}/libQt5Core.so
  686. %{_qt5_libdir}/libQt5DBus.prl
  687. %{_qt5_libdir}/libQt5DBus.so
  688. %{_qt5_libdir}/libQt5Gui.prl
  689. %{_qt5_libdir}/libQt5Gui.so
  690. %{_qt5_libdir}/libQt5Network.prl
  691. %{_qt5_libdir}/libQt5Network.so
  692. %{_qt5_libdir}/libQt5OpenGL.prl
  693. %{_qt5_libdir}/libQt5OpenGL.so
  694. %{_qt5_libdir}/libQt5PrintSupport.prl
  695. %{_qt5_libdir}/libQt5PrintSupport.so
  696. %{_qt5_libdir}/libQt5Sql.prl
  697. %{_qt5_libdir}/libQt5Sql.so
  698. %{_qt5_libdir}/libQt5Test.prl
  699. %{_qt5_libdir}/libQt5Test.so
  700. %{_qt5_libdir}/libQt5Widgets.prl
  701. %{_qt5_libdir}/libQt5Widgets.so
  702. %{_qt5_libdir}/libQt5XcbQpa.prl
  703. %{_qt5_libdir}/libQt5XcbQpa.so
  704. %{_qt5_libdir}/libQt5Xml.prl
  705. %{_qt5_libdir}/libQt5Xml.so
  706. %{_qt5_libdir}/cmake/Qt5/Qt5Config*.cmake
  707. %{_qt5_libdir}/cmake/Qt5Concurrent/Qt5ConcurrentConfig*.cmake
  708. %{_qt5_libdir}/cmake/Qt5Core/Qt5CoreConfig*.cmake
  709. %{_qt5_libdir}/cmake/Qt5Core/Qt5CoreMacros.cmake
  710. %{_qt5_libdir}/cmake/Qt5Core/Qt5CTestMacros.cmake
  711. %{_qt5_libdir}/cmake/Qt5DBus/Qt5DBusConfig*.cmake
  712. %{_qt5_libdir}/cmake/Qt5DBus/Qt5DBusMacros.cmake
  713. %{_qt5_libdir}/cmake/Qt5Gui/Qt5GuiConfig*.cmake
  714. %{_qt5_libdir}/cmake/Qt5Network/Qt5NetworkConfig*.cmake
  715. %{_qt5_libdir}/cmake/Qt5OpenGL/Qt5OpenGLConfig*.cmake
  716. %{_qt5_libdir}/cmake/Qt5PrintSupport/Qt5PrintSupportConfig*.cmake
  717. %{_qt5_libdir}/cmake/Qt5Sql/Qt5SqlConfig*.cmake
  718. %{_qt5_libdir}/cmake/Qt5Test/Qt5TestConfig*.cmake
  719. %{_qt5_libdir}/cmake/Qt5Widgets/Qt5WidgetsConfig*.cmake
  720. %{_qt5_libdir}/cmake/Qt5Widgets/Qt5WidgetsMacros.cmake
  721. %{_qt5_libdir}/cmake/Qt5Xml/Qt5XmlConfig*.cmake
  722. %{_qt5_libdir}/pkgconfig/Qt5.pc
  723. %{_qt5_libdir}/pkgconfig/Qt5Concurrent.pc
  724. %{_qt5_libdir}/pkgconfig/Qt5Core.pc
  725. %{_qt5_libdir}/pkgconfig/Qt5DBus.pc
  726. %{_qt5_libdir}/pkgconfig/Qt5Gui.pc
  727. %{_qt5_libdir}/pkgconfig/Qt5Network.pc
  728. %{_qt5_libdir}/pkgconfig/Qt5OpenGL.pc
  729. %{_qt5_libdir}/pkgconfig/Qt5PrintSupport.pc
  730. %{_qt5_libdir}/pkgconfig/Qt5Sql.pc
  731. %{_qt5_libdir}/pkgconfig/Qt5Test.pc
  732. %{_qt5_libdir}/pkgconfig/Qt5Widgets.pc
  733. %{_qt5_libdir}/pkgconfig/Qt5Xml.pc
  734. %if 0%{?egl}
  735. %{_qt5_libdir}/libQt5EglDeviceIntegration.prl
  736. %{_qt5_libdir}/libQt5EglDeviceIntegration.so
  737. %endif
  738. %files static
  739. %{_qt5_libdir}/libQt5Bootstrap.*a
  740. %{_qt5_libdir}/libQt5Bootstrap.prl
  741. %{_qt5_headerdir}/QtOpenGLExtensions/
  742. %{_qt5_libdir}/libQt5OpenGLExtensions.*a
  743. %{_qt5_libdir}/libQt5OpenGLExtensions.prl
  744. %{_qt5_libdir}/cmake/Qt5OpenGLExtensions/
  745. %{_qt5_libdir}/pkgconfig/Qt5OpenGLExtensions.pc
  746. %{_qt5_headerdir}/QtPlatformSupport/
  747. %{_qt5_libdir}/libQt5PlatformSupport.*a
  748. %{_qt5_libdir}/libQt5PlatformSupport.prl
  749. %if 0%{?examples}
  750. %files examples
  751. %if 0%{!?bootstrap}
  752. %{_qt5_docdir}/*/examples-manifest.xml
  753. %endif
  754. %{_qt5_examplesdir}/
  755. %endif
  756. %if "%{?ibase}" != "-no-sql-ibase"
  757. %files ibase
  758. %{_qt5_plugindir}/sqldrivers/libqsqlibase.so
  759. %{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QIBaseDriverPlugin.cmake
  760. %endif
  761. %files mysql
  762. %{_qt5_plugindir}/sqldrivers/libqsqlmysql.so
  763. %{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QMYSQLDriverPlugin.cmake
  764. %files odbc
  765. %{_qt5_plugindir}/sqldrivers/libqsqlodbc.so
  766. %{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QODBCDriverPlugin.cmake
  767. %files postgresql
  768. %{_qt5_plugindir}/sqldrivers/libqsqlpsql.so
  769. %{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QPSQLDriverPlugin.cmake
  770. %if "%{?tds}" != "-no-sql-tds"
  771. %files tds
  772. %{_qt5_plugindir}/sqldrivers/libqsqltds.so
  773. %{_qt5_libdir}/cmake/Qt5Sql/Qt5Sql_QTDSDriverPlugin.cmake
  774. %endif
  775. %post gui -p /sbin/ldconfig
  776. %postun gui -p /sbin/ldconfig
  777. %files gui
  778. %dir %{_sysconfdir}/X11/xinit
  779. %dir %{_sysconfdir}/X11/xinit/xinitrc.d/
  780. %{_sysconfdir}/X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh
  781. %{_qt5_libdir}/libQt5Gui.so.5*
  782. %{_qt5_libdir}/libQt5OpenGL.so.5*
  783. %{_qt5_libdir}/libQt5PrintSupport.so.5*
  784. %{_qt5_libdir}/libQt5Widgets.so.5*
  785. %{_qt5_libdir}/libQt5XcbQpa.so.5*
  786. %{_qt5_plugindir}/generic/libqevdevkeyboardplugin.so
  787. %{_qt5_plugindir}/generic/libqevdevmouseplugin.so
  788. %{_qt5_plugindir}/generic/libqevdevtabletplugin.so
  789. %{_qt5_plugindir}/generic/libqevdevtouchplugin.so
  790. %if 0%{?fedora}
  791. %{_qt5_plugindir}/generic/libqlibinputplugin.so
  792. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QLibInputPlugin.cmake
  793. %endif
  794. %{_qt5_plugindir}/generic/libqtuiotouchplugin.so
  795. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevKeyboardPlugin.cmake
  796. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevMousePlugin.cmake
  797. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevTabletPlugin.cmake
  798. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevTouchScreenPlugin.cmake
  799. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QTuioTouchPlugin.cmake
  800. %{_qt5_plugindir}/imageformats/libqgif.so
  801. %{_qt5_plugindir}/imageformats/libqico.so
  802. %{_qt5_plugindir}/imageformats/libqjpeg.so
  803. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QGifPlugin.cmake
  804. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QICOPlugin.cmake
  805. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QJpegPlugin.cmake
  806. %{_qt5_plugindir}/platforminputcontexts/libcomposeplatforminputcontextplugin.so
  807. %{_qt5_plugindir}/platforminputcontexts/libibusplatforminputcontextplugin.so
  808. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QComposePlatformInputContextPlugin.cmake
  809. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QIbusPlatformInputContextPlugin.cmake
  810. %if 0%{?egl}
  811. %{_qt5_libdir}/libQt5EglDeviceIntegration.so.5*
  812. %{_qt5_plugindir}/platforms/libqeglfs.so
  813. %{_qt5_plugindir}/platforms/libqminimalegl.so
  814. %dir %{_qt5_plugindir}/egldeviceintegrations/
  815. %{_qt5_plugindir}/egldeviceintegrations/libqeglfs-kms-integration.so
  816. %{_qt5_plugindir}/egldeviceintegrations/libqeglfs-x11-integration.so
  817. %{_qt5_plugindir}/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so
  818. %{_qt5_plugindir}/xcbglintegrations/libqxcb-egl-integration.so
  819. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QMinimalEglIntegrationPlugin.cmake
  820. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSIntegrationPlugin.cmake
  821. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSKmsIntegrationPlugin.cmake
  822. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSX11IntegrationPlugin.cmake
  823. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QXcbEglIntegrationPlugin.cmake
  824. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSKmsEglDeviceIntegrationPlugin.cmake
  825. %endif
  826. %{_qt5_plugindir}/platforms/libqlinuxfb.so
  827. %{_qt5_plugindir}/platforms/libqminimal.so
  828. %{_qt5_plugindir}/platforms/libqoffscreen.so
  829. %{_qt5_plugindir}/platforms/libqxcb.so
  830. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QLinuxFbIntegrationPlugin.cmake
  831. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QMinimalIntegrationPlugin.cmake
  832. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QOffscreenIntegrationPlugin.cmake
  833. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QXcbIntegrationPlugin.cmake
  834. %{_qt5_plugindir}/xcbglintegrations/libqxcb-glx-integration.so
  835. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QXcbGlxIntegrationPlugin.cmake
  836. %{_qt5_plugindir}/platformthemes/libqgtk2.so
  837. %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_QGtk2ThemePlugin.cmake
  838. %{_qt5_plugindir}/printsupport/libcupsprintersupport.so
  839. %{_qt5_libdir}/cmake/Qt5PrintSupport/Qt5PrintSupport_QCupsPrinterSupportPlugin.cmake
  840. %files -n qt5-rpm-macros
  841. %{rpm_macros_dir}/macros.qt5
  842. %changelog
  843. * Tue Jan 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1
  844. - new upstream release.
  845. - dropped Patch12, 101, 111, 132, 133, 148 and 155.
  846. - added Patch1000 to build with icu-60.2.
  847. * Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  848. - new upstream release.
  849. - initial build for Vine Linux.
  850. * Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-3
  851. - backport some xcb-plugin-related fixes
  852. * Thu Jun 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
  853. - fix Qt5.pc version
  854. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  855. - Update to 5.6.1
  856. * Thu Jun 02 2016 Than Ngo <than@redhat.com> - 5.6.0-21
  857. - drop gcc6 workaround on arm
  858. * Fri May 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-20
  859. - -Wno-deprecated-declarations (typo missed trailing 's')
  860. * Fri May 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-19
  861. - pull in upstream drag-n-drop related fixes (QTBUG-45812, QTBUG-51215)
  862. * Sat May 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-18
  863. - revert out-of-tree build, breaks Qt5*Config.cmake *_PRIVATE_INCLUDE_DIRS entries (all blank)
  864. * Thu May 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-17
  865. - support out-of-tree build
  866. - better %%check
  867. - pull in final/upstream fixes for QTBUG-51648,QTBUG-51649
  868. - disable examples/tests in bootstrap mode
  869. * Sat Apr 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-16
  870. - own %%{_qt5_plugindir}/egldeviceintegrations
  871. * Mon Apr 18 2016 Caolán McNamara <caolanm@redhat.com> - 5.6.0-15
  872. - full rebuild for hunspell 1.4.0
  873. * Mon Apr 18 2016 Caolán McNamara <caolanm@redhat.com> - 5.6.0-14
  874. - bootstrap rebuild for hunspell 1.4.0
  875. * Sat Apr 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-13
  876. - -devel: Provides: qt5-qtbase-private-devel (#1233829)
  877. * Sat Apr 16 2016 David Tardon <dtardon@redhat.com> - 5.6.0-12
  878. - full build
  879. * Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.0-11
  880. - rebuild for ICU 57.1
  881. * Thu Mar 31 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-10
  882. - Fix build on MIPS (#1322537)
  883. - drop BR: valgrind (not used, for awhile)
  884. * Fri Mar 25 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-9
  885. - pull upstream patches (upstreamed versions, gcc6-related bits mostly)
  886. * Thu Mar 24 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-8
  887. - make 10-qt5-check-opengl2.sh xinit script more robust
  888. - enable journald support for el7+ (#1315239)
  889. * Sat Mar 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-7
  890. - macros.qt5: null-pointer-checks flag isn't c++-specific
  891. * Sat Mar 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-6
  892. - macros.qt5: we really only want the null-pointer-checks flag here
  893. and definitely no arch-specific ones
  894. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-5
  895. - macros.qt5: cleanup, %%_qt5_cflags, %%_qt5_cxxflags (for f24+)
  896. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  897. - rebuild
  898. * Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-2
  899. - respin QTBUG-51767 patch
  900. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  901. - 5.6.0 release
  902. * Sat Mar 12 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.41.rc
  903. - %%build: restore -dbus-linked
  904. * Fri Mar 11 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.40.rc
  905. - respin QTBUG-51649 patch
  906. - %%build: use -dbus-runtime unconditionally
  907. - drop (unused) build deps: atspi, dbus, networkmanager
  908. * Thu Mar 10 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.39.rc
  909. - candidate fixes for various QtDBus deadlocks (QTBUG-51648,QTBUG-51676)
  910. * Mon Mar 07 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.38.rc
  911. - backport "crash on start if system bus is not available" (QTBUG-51299)
  912. * Sat Mar 05 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.37.rc
  913. - %build: ./configure -journal (f24+)
  914. * Wed Mar 02 2016 Daniel Vrátil <dvratil@fedoraproject.org> 5.6.0-0.36.rc
  915. - Non-bootstrapped build
  916. * Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> 5.6.0-0.35.rc
  917. - Rebuild against new openssl
  918. * Fri Feb 26 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.34.rc
  919. - qtlogging.ini: remove comments
  920. * Thu Feb 25 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.33.rc
  921. - ship $$[QT_INSTALL_DATA]/qtlogging.ini for packaged logging defaults (#1227295)
  922. * Thu Feb 25 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.32.rc
  923. - qt5-qtbase-static missing dependencies (#1311311)
  924. * Wed Feb 24 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.31.rc
  925. - Item views don't handle insert/remove of rows robustly (QTBUG-48870)
  926. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.30.rc
  927. - Update to final RC
  928. * Mon Feb 22 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.29.rc
  929. - Update tarball with https://bugreports.qt.io/browse/QTBUG-50703 fix
  930. * Wed Feb 17 2016 Than Ngo <than@redhat.com> - 5.6.0-0.28.rc
  931. - fix build issue with gcc6
  932. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.27.rc
  933. - Update proper tarball. Need avoid the fix branch
  934. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.26.rc
  935. - Integrate rc releases now.
  936. * Sat Feb 13 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.25.beta
  937. - macros.qt5: fix %%qt5_ldflags macro
  938. * Thu Feb 11 2016 Than Ngo <than@redhat.com> - 5.6.0-0.24.beta
  939. - fix build issue with gcc6
  940. - fix check for alsa 1.1.x
  941. * Wed Feb 03 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.23.beta
  942. - qt5-rpm-macros pkg
  943. * Tue Feb 02 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.22.beta
  944. - don't inject $RPM_OPT_FLAGS/$RPM_LD_FLAGS into qmake defaults f24+ (#1279265)
  945. * Tue Feb 02 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.21.beta
  946. - build with and add to macros.qt5 flags: -fno-delete-null-pointer-checks
  947. * Fri Jan 15 2016 Than Ngo <than@redhat.com> - 5.6.0-0.20.beta
  948. - enable -qt-xcb to fix non-US keys under VNC (#1295713)
  949. * Mon Jan 04 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.19.beta
  950. - Crash in QXcbWindow::setParent() due to NULL xcbScreen (QTBUG-50081, #1291003)
  951. * Mon Dec 21 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.17.beta
  952. - fix/update Release: tag
  953. * Fri Dec 18 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.16
  954. - 5.6.0-beta (final)
  955. * Wed Dec 16 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.15
  956. - pull in another upstream moc fix/improvement (#1290020,QTBUG-49972)
  957. - fix bootstrap/docs
  958. * Wed Dec 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.13
  959. - workaround moc/qconfig-multilib issues (#1290020,QTBUG-49972)
  960. * Wed Dec 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 5.6.0-0.12
  961. - aarch64 is secondary arch too
  962. - ppc64le is NOT multilib
  963. - Fix Power 64 macro use
  964. * Mon Dec 14 2015 Than Ngo <than@redhat.com> - 5.6.0-0.11
  965. - fix build failure on secondary arch
  966. * Sun Dec 13 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10
  967. - We're back to gold linker
  968. - Remove reduce relocations
  969. * Sat Dec 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.9
  970. - drop disconnect_displays.patch so we can better test latest xcb/display work
  971. * Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8
  972. - sync latest xcb/screen/display related upstream commits
  973. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7
  974. - Official beta release
  975. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
  976. - Official beta release
  977. * Wed Dec 09 2015 Daniel Vratil <dvratil@fedoraproject.org> - 5.6.0-0.5
  978. - try reverting from -optimized-tools to -optimized-qmake
  979. * Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.4
  980. - re-introduce bootstrap/examples macros
  981. - put examples-manifest.xml in -examples
  982. - restore -doc multilib hack (to be on the safe side, can't hurt)
  983. - %%build: s/-optimized-qmake/-optimized-tools/
  984. * Sat Dec 05 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
  985. - Beta 3
  986. - Reintroduce xcb patch from https://codereview.qt-project.org/#/c/138201/
  987. * Fri Nov 27 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  988. - Valgrind still needed as buildreq due recent split qdoc package, but we can get rid of
  989. specific arch set.
  990. - Added missing libproxy buildreq
  991. - Epel and RHEL doesn't have libinput, so a plugin need to be excluded for this distros
  992. * Wed Nov 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-10
  993. - -devel: Requires: redhat-rpm-config (#1248174)
  994. * Wed Nov 18 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-9
  995. - Get rid of valgrind hack. It sort out that we don't need it anymore (#1211203)
  996. * Mon Nov 09 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-8
  997. - qt5-qdoc need requires >= current version, otherwise will prevent the usage further when moved to qttools
  998. * Mon Nov 09 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-7
  999. - qt5-qdoc subpkg
  1000. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  1001. - Start to implement 5.6.0 beta
  1002. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  1003. - Start to implement 5.6.0 beta
  1004. * Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 5.5.1-6
  1005. - full build
  1006. * Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 5.5.1-5
  1007. - rebuild for ICU 56.1
  1008. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  1009. - Update to final release 5.5.1
  1010. * Mon Oct 05 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  1011. - Update to Qt 5.5.1 RC1
  1012. - Patchs 13, 52, 53, 101, 155, 223, 297 removed due to inclusion upstream
  1013. * Mon Oct 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-18
  1014. - When a screen comes back online, the windows need to be told about it (QTBUG-47041)
  1015. - xcb: Ignore disabling of outputs in the middle of the mode switch
  1016. * Wed Aug 19 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-17
  1017. - unconditionally undo valgrind hack when done (#1255054)
  1018. * Sat Aug 15 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-16
  1019. - backport 0055-Respect-manual-set-icon-themes.patch (kde#344469)
  1020. - conditionally use valgrind only if needed
  1021. * Fri Aug 07 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.0-15
  1022. - use valgrind to debug qdoc HTML generation
  1023. * Fri Aug 07 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.0-14
  1024. - remove GDB hackery again, -12 built fine on i686, hack breaks ARM build
  1025. - fix 10-qt5-check-opengl2.sh for multiple screens (#1245755)
  1026. * Thu Aug 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-13
  1027. - use upstream commit/fix for QTBUG-46310
  1028. - restore qdoc/gdb hackery, i686 still needs it :(
  1029. * Wed Aug 05 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.0-12
  1030. - remove GDB hackery, it is not producing useful backtraces for the ARM crash
  1031. * Mon Aug 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-11
  1032. - Add mesa-dri-drivers as recommends on gui package as reported by Kevin Kofler
  1033. - Reference https://bugzilla.redhat.com/1249280
  1034. * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-10
  1035. - -docs: BuildRequires: qt5-qhelpgenerator
  1036. * Fri Jul 17 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-9
  1037. - use qdoc.gdb wrapper
  1038. * Wed Jul 15 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-8
  1039. - %%build: hack around 'make docs' failures (on f22+)
  1040. * Wed Jul 15 2015 Jan Grulich <jgrulich@redhat.com> 5.5.0-7
  1041. - restore previously dropped patches
  1042. * Tue Jul 14 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-6
  1043. - disable bootstrap again
  1044. * Tue Jul 14 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-5
  1045. - enable bootstrap (and disable failing docs)
  1046. * Mon Jul 13 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
  1047. - Qt5 application crashes when connecting/disconnecting displays (#1083664)
  1048. * Fri Jul 10 2015 Than Ngo <than@redhat.com> - 5.5.0-3
  1049. - add better fix for compile error on big endian
  1050. * Thu Jul 09 2015 Than Ngo <than@redhat.com> - 5.5.0-2
  1051. - fix build failure on big endian platform (ppc64,s390x)
  1052. * Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.5.rc
  1053. - Second round of builds now with bootstrap enabled due new qttools
  1054. * Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.4.rc
  1055. - Enable bootstrap to first import on rawhide
  1056. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc
  1057. - Disable bootstrap
  1058. * Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  1059. - Update for official RC1 released packages
  1060. * Mon Jun 15 2015 Daniel Vratil <dvratil@redhat.com> 5.5.0-0.1.rc
  1061. - Qt 5.5 RC 1
  1062. * Mon Jun 08 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.2-2
  1063. - rebase to latest SM patches (QTBUG-45484, QTBUG-46310)
  1064. * Tue Jun 02 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1
  1065. - Update to 5.4.2
  1066. * Tue May 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-20
  1067. - SM_CLIENT_ID property is not set (QTBUG-46310)
  1068. * Mon May 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-19
  1069. - QWidget::setWindowRole does nothing (QTBUG-45484)
  1070. * Wed May 20 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-18
  1071. - own /etc/xdg/QtProject
  1072. - Requires: qt-settings (f22+)
  1073. * Sat May 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-17
  1074. - Try to ensure that -fPIC is used in CMake builds (QTBUG-45755)
  1075. * Thu May 14 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-16
  1076. - Some Qt apps crash if they are compiled with gcc5 (QTBUG-45755)
  1077. * Thu May 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-15
  1078. - try harder to avoid doc/multilib conflicts (#1212750)
  1079. * Wed May 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-14
  1080. - Shortcuts with KeypadModifier not working (QTBUG-33093,#1219173)
  1081. * Tue May 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-13
  1082. - backport: data corruption in QNetworkAccessManager
  1083. * Fri May 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-12
  1084. - backport a couple more upstream fixes
  1085. - introduce -common noarch subpkg, should help multilib issues
  1086. * Sat Apr 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-11
  1087. - port qtdbusconnection_no_debug.patch from qt(4)
  1088. * Fri Apr 17 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-10
  1089. - -examples: include %%{_qt5_docdir}/qdoc/examples-manifest.xml (#1212750)
  1090. * Mon Apr 13 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-9
  1091. - Multiple Vulnerabilities in Qt Image Format Handling (CVE-2015-1860 CVE-2015-1859 CVE-2015-1858)
  1092. * Fri Apr 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-8
  1093. - -dbus=runtime on el6 (#1196359)
  1094. - %%build: -no-directfb
  1095. * Wed Apr 01 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.1-7
  1096. - drop 5.5 XCB patches, the rebase is incomplete and does not work properly with Qt 5.4
  1097. * Mon Mar 30 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-6
  1098. - Crash due to unsafe access to QTextLayout::lineCount (#1207279,QTBUG-43562)
  1099. * Mon Mar 30 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-5
  1100. - unable to use input methods in ibus-1.5.10 (#1203575)
  1101. * Wed Mar 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.1-4
  1102. - pull in set of upstream Qt 5.5 fixes and improvements for XCB screen handling rebased to 5.4
  1103. * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-3
  1104. - pull in handful of upstream fixes, particularly...
  1105. - Fix a division by zero when processing malformed BMP files (QTBUG-44547, CVE-2015-0295)
  1106. * Wed Feb 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
  1107. - try bootstrap=1 (f23)
  1108. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  1109. - update to 5.4.1
  1110. * Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-13
  1111. - -no-use-gold-linker (f22+, #1193044)
  1112. * Thu Feb 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-12
  1113. - own %%{_qt5_plugindir}/{designer,iconengines,script,styles}
  1114. * Thu Feb 05 2015 David Tardon <dtardon@redhat.com> - 5.4.0-11
  1115. - full build after ICU soname bump
  1116. * Wed Feb 04 2015 Petr Machata <pmachata@redhat.com> - 5.4.0-10
  1117. - Bump for rebuild.
  1118. * Sat Jan 31 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-9
  1119. - crashes when connecting/disconnecting displays (#1083664,QTBUG-42985)
  1120. * Tue Jan 27 2015 David Tardon <dtardon@redhat.com> - 5.4.0-8
  1121. - full build
  1122. * Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 5.4.0-7
  1123. - rebuild for ICU 54.1
  1124. * Sun Jan 18 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-6
  1125. - fix %%pre scriptlet
  1126. * Sat Jan 17 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-5
  1127. - ship /etc/xdg/qtchooser/5.conf alternative instead (of qt5.conf)
  1128. * Wed Dec 17 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-4
  1129. - workaround 'make docs' crasher on el6 (QTBUG-43057)
  1130. * Thu Dec 11 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-3
  1131. - don't omit examples for bootstrap (needs work)
  1132. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
  1133. - fix bootstrapping logic
  1134. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  1135. - 5.4.0 (final)
  1136. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.8.rc
  1137. - restore font rendering patch (#1052389,QTBUG-41590)
  1138. * Thu Nov 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.7.rc
  1139. - 5.4.0-rc
  1140. * Wed Nov 12 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.6.beta
  1141. - add versioned Requires: libxkbcommon dep
  1142. * Tue Nov 11 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.5.beta
  1143. - pull in slightly different upstreamed font rendering fix (#1052389,QTBUG-41590)
  1144. * Mon Nov 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.4.beta
  1145. - Bad font rendering (#1052389,QTBUG-41590)
  1146. * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.beta
  1147. - macros.qt5: +%%qmake_qt5 , to help set standard build flags (CFLAGS, etc...)
  1148. * Wed Oct 22 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.4.0-0.2.beta
  1149. - -gui: don't require gtk2 (__requires_exclude_from platformthemes) (#1154884)
  1150. * Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-0.1.beta
  1151. - 5.4.0-beta
  1152. - avoid extra -devel deps by moving *Plugin.cmake files to base pkgs
  1153. - support bootstrap macro, to disable -doc,-examples
  1154. * Mon Oct 13 2014 Jan Grulich <jgrulich@redhat.com> 5.3.2-3
  1155. - QFileDialog: implement getOpenFileUrl and friends for real
  1156. * Thu Oct 09 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-2
  1157. - use linux-g++ platform unconditionally
  1158. * Thu Oct 09 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.3.2-1.1
  1159. - F20: require libxkbcommon >= 0.4.1, only patch for the old libxcb
  1160. * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
  1161. - 5.3.2
  1162. * Wed Aug 27 2014 David Tardon <dtardon@redhat.com> - 5.3.1-8
  1163. - do a normal build with docs
  1164. * Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 5.3.1-7
  1165. - rebuild for ICU 53.1
  1166. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-6
  1167. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  1168. * Thu Jul 24 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.1-5
  1169. - drop dep on xorg-x11-xinit (own shared dirs instead)
  1170. - fix/improve qtchooser support using alternatives (#1122316)
  1171. * Mon Jun 30 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.3.1-4
  1172. - support the old versions of libxcb and libxkbcommon in F19 and F20
  1173. - don't use the bundled libxkbcommon
  1174. * Mon Jun 30 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-3
  1175. - -devel: Requires: pkgconfig(egl)
  1176. * Fri Jun 27 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-2
  1177. - Prefer QPA implementation in qsystemtrayicon_x11 if available
  1178. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  1179. - 5.3.1
  1180. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-7
  1181. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  1182. * Fri May 30 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-6
  1183. - %%ix86: build -no-sse2 (#1103185)
  1184. * Tue May 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-5
  1185. - BR: pkgconfig(xcb-xkb) > 1.10 (f21+)
  1186. - allow possibility for libxkbcommon-0.4.x only
  1187. * Fri May 23 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-4
  1188. - -system-libxkbcommon (f21+)
  1189. * Thu May 22 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-3
  1190. - qt5-qtbase-5.3.0-2.fc21 breaks keyboard input (#1100213)
  1191. * Wed May 21 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-2
  1192. - limit -reduce-relocations to %%ix86 x86_64 archs (QTBUG-36129)
  1193. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
  1194. - 5.3.0
  1195. * Thu Apr 24 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-8
  1196. - DoS vulnerability in the GIF image handler (QTBUG-38367)
  1197. * Wed Mar 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-7
  1198. - support ppc64le multilib (#1080629)
  1199. * Wed Mar 12 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.2.1-6
  1200. - reenable documentation
  1201. * Sat Mar 08 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.2.1-5
  1202. - make the QMAKE_STRIP sed not sensitive to whitespace (see #1074041 in Qt 4)
  1203. * Tue Feb 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-4
  1204. - undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)
  1205. * Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-3
  1206. - bootstrap for libicu bump
  1207. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
  1208. - qconfig.pri: +alsa +kms +pulseaudio +xcb-sm
  1209. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  1210. - 5.2.1
  1211. * Sat Feb 01 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-11
  1212. - better %%rpm_macros_dir handling
  1213. * Wed Jan 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.2.0-10
  1214. - fix the allow-forcing-llvmpipe patch to patch actual caller of __glXInitialize
  1215. * Wed Jan 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.2.0-9
  1216. - use software OpenGL (llvmpipe) if the hardware driver doesn't support OpenGL 2
  1217. * Tue Jan 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-8
  1218. - (re)enable -docs
  1219. * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-7
  1220. - unconditionally enable freetype lcd_filter
  1221. - (temp) disable docs (libxcb bootstrap)
  1222. * Sun Jan 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-6
  1223. - fix %%_qt5_examplesdir macro
  1224. * Sat Jan 25 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-5
  1225. - -examples subpkg
  1226. * Mon Jan 13 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.2.0-4
  1227. - fix QTBUG-35459 (too low entityCharacterLimit=1024 for CVE-2013-4549)
  1228. - fix QTBUG-35460 (error message for CVE-2013-4549 is misspelled)
  1229. - reenable docs on Fedora (accidentally disabled)
  1230. * Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-3
  1231. - move sql build deps into subpkg sections
  1232. - macro'ize ibase,tds support (disabled on rhel)
  1233. * Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
  1234. - -devel: qtsql apparently wants all drivers available at buildtime
  1235. * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  1236. - 5.2.0
  1237. * Fri Dec 06 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.12.rc1
  1238. - qt5-base-devel.x86_64 qt5-base-devel.i686 file conflict qconfig.h (#1036956)
  1239. * Thu Dec 05 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.11.rc1
  1240. - needs a minimum version on sqlite build dependency (#1038617)
  1241. - fix build when doc macro not defined
  1242. * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
  1243. - 5.2.0-rc1
  1244. - revert/omit recent egl packaging changes
  1245. - -doc install changes-5.* files here (#989149)
  1246. * Tue Nov 26 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.8.beta1.20131108_141
  1247. - Install changes-5.x.y file (#989149)
  1248. * Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.7.beta1.20131108_141
  1249. - enable -doc only on primary archs (allow secondary bootstrap)
  1250. * Fri Nov 22 2013 Lubomir Rintel <lkundrak@v3.sk> 5.2.0-0.6.beta1.20131108_141
  1251. - Enable EGL support
  1252. * Sat Nov 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1.20131108_141
  1253. - 2013-11-08_141 snapshot, arm switch qreal double
  1254. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
  1255. - 5.2.0-beta1
  1256. * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.alpha
  1257. - disable -docs (for ppc bootstrap mostly)
  1258. * Wed Oct 16 2013 Lukáš Tinkl <ltinkl@redhat.com> - 5.2.0-0.2.alpha
  1259. - Fixes #1005482 - qtbase FTBFS on ppc/ppc64
  1260. * Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.1.alpha
  1261. - 5.2.0-alpha
  1262. - -system-harfbuzz
  1263. - rename subpkg -x11 => -gui
  1264. - move some gui-related plugins base => -gui
  1265. - don't use symlinks in %%_qt5_bindir (more qtchooser-friendly)
  1266. * Fri Sep 27 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.1.1-6
  1267. - -doc subpkg (not enabled)
  1268. - enable %%check
  1269. * Mon Sep 23 2013 Dan Horák <dan[at]danny.cz> - 5.1.1-5
  1270. - fix big endian builds
  1271. * Wed Sep 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-4
  1272. - macros.qt5: use newer location, use unexpanded macros
  1273. * Sat Sep 07 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-3
  1274. - ExcludeArch: ppc64 ppc (#1005482)
  1275. * Fri Sep 06 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2
  1276. - BR: pkgconfig(libudev) pkgconfig(xkbcommon) pkgconfig(xcb-xkb)
  1277. * Tue Aug 27 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
  1278. - 5.1.1
  1279. * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 5.0.2-8
  1280. - Perl 5.18 rebuild
  1281. * Tue Jul 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-7
  1282. - enable qtchooser support
  1283. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.0.2-6
  1284. - Perl 5.18 rebuild
  1285. * Wed May 08 2013 Than Ngo <than@redhat.com> - 5.0.2-5
  1286. - add poll support, thanks to fweimer@redhat.com (QTBUG-27195)
  1287. * Thu Apr 18 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-4
  1288. - respin lowmem patch to apply (unconditionally) to gcc-4.7.2 too
  1289. * Fri Apr 12 2013 Dan Horák <dan[at]danny.cz> - 5.0.2-3
  1290. - rebase the lowmem patch
  1291. * Wed Apr 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
  1292. - more cmake_path love (#929227)
  1293. * Wed Apr 10 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.0.2-1
  1294. - 5.0.2
  1295. - fix cmake config (#929227)
  1296. * Tue Apr 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-0.1.rc1
  1297. - 5.0.2-rc1
  1298. * Sat Mar 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-6
  1299. - pull in upstream gcc-4.8.0 buildfix
  1300. * Tue Feb 26 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-5
  1301. - -static subpkg, Requires: fontconfig-devel,glib2-devel,zlib-devel
  1302. - -devel: Requires: pkgconfig(gl)
  1303. * Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-4
  1304. - create/own %%{_qt5_plugindir}/iconengines
  1305. - -devel: create/own %%{_qt5_archdatadir}/mkspecs/modules
  1306. - cleanup .prl
  1307. * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-3
  1308. - +%%_qt5_libexecdir
  1309. * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-2
  1310. - macros.qt5: fix %%_qt5_headerdir, %%_qt5_datadir, %%_qt5_plugindir
  1311. * Thu Jan 31 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
  1312. - 5.0.1
  1313. - lowmem patch for %%arm, s390
  1314. * Wed Jan 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-4
  1315. - %%build: -system-pcre, BR: pkgconfig(libpcre)
  1316. - use -O1 optimization on lowmem (s390) arch
  1317. * Thu Jan 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-3
  1318. - enable (non-conflicting) qtchooser support
  1319. * Wed Jan 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-2
  1320. - add qtchooser support (disabled by default)
  1321. * Wed Dec 19 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-1
  1322. - 5.0 (final)
  1323. * Thu Dec 13 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.4.rc2
  1324. - 5.0-rc2
  1325. - initial try at putting non-conflicting binaries in %%_bindir
  1326. * Thu Dec 06 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.3.rc1
  1327. - 5.0-rc1
  1328. * Wed Nov 28 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.2.beta2
  1329. - qtbase --> qt5-qtbase
  1330. * Mon Nov 19 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.1.beta2
  1331. - %%build: -accessibility
  1332. - macros.qt5: +%%_qt5_archdatadir +%%_qt5_settingsdir
  1333. - pull in a couple more configure-related upstream patches
  1334. * Wed Nov 14 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.0.beta2
  1335. - first try