qt5-qtbase-vl.spec 55 KB

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