qt4-vl.spec 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745
  1. %define _default_patch_fuzz 3
  2. %define phonon 0
  3. %define MySQL 1
  4. %define PostgreSQL 1
  5. %define ODBC 1
  6. %define SQLite 1
  7. %define type everywhere-opensource-src
  8. %define qtdir %{_libdir}/qt-%{version}
  9. %define _qt4_prefix %{_libdir}/qt-%{version}
  10. %define _qt4_bindir %{_qt4_prefix}/bin
  11. # _qt4_datadir is not multilib clean, and hacks to workaround that breaks stuff.
  12. #define _qt4_datadir %{_datadir}/qt4
  13. %define _qt4_datadir %{_qt4_prefix}
  14. %define _qt4_demosdir %{_qt4_prefix}/demos
  15. %define _qt4_docdir %{_docdir}/qt4
  16. %define _qt4_examplesdir %{_qt4_prefix}/examples
  17. %define _qt4_headerdir %{_qt4_prefix}/include
  18. %define _qt4_libdir %{_qt4_prefix}/lib
  19. %define _qt4_plugindir %{_qt4_prefix}/plugins
  20. %define _qt4_sysconfdir %{_sysconfdir}
  21. %define _qt4_translationdir %{_datadir}/qt4/translations
  22. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  23. Summary: Qt toolkit
  24. Summary(ja): Qt ツールキット
  25. Name: qt4
  26. Version: 4.6.3
  27. Release: 2%{?_dist_release}
  28. # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
  29. License: LGPLv2 with exceptions or GPLv3 with exceptions
  30. Group: System Environment/Libraries
  31. URL: http://www.qtsoftware.com/
  32. Source: ftp://ftp.qtsoftware.com/qt/source/qt-%{type}-%{version}.tar.gz
  33. Source4: Trolltech.conf
  34. # See http://bugzilla.redhat.com/223663
  35. %define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9
  36. Source5: qconfig-multilib.h
  37. Source10: http://gstreamer.freedesktop.org/data/images/artwork/gstreamer-logo.svg
  38. Source11: hi16-phonon-gstreamer.png
  39. Source12: hi22-phonon-gstreamer.png
  40. Source13: hi32-phonon-gstreamer.png
  41. Source14: hi48-phonon-gstreamer.png
  42. Source15: hi64-phonon-gstreamer.png
  43. Source16: hi128-phonon-gstreamer.png
  44. Source21: designer.desktop
  45. Source22: linguist.desktop
  46. # upstream qt4-logo, http://trolltech.com/images/products/qt/qt4-logo
  47. Source30: hi128-app-qt4-logo.png
  48. Source31: hi48-app-qt4-logo.png
  49. # multilib hacks
  50. Patch2: qt-x11-opensource-src-4.2.2-multilib-optflags.patch
  51. Patch3: qt-x11-opensource-src-4.2.2-multilib-QMAKEPATH.patch
  52. Patch4: qt-everywhere-opensource-src-4.7.0-beta1-uic_multilib.patch
  53. Patch5: qt-all-opensource-src-4.4.0-rc1-as_IN-437440.patch
  54. # hack around gcc/ppc crasher, http://bugzilla.redhat.com/492185
  55. Patch13: qt-x11-opensource-src-4.5.0-gcc_hack.patch
  56. Patch15: qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
  57. # include kde4 plugin path, http://bugzilla.redhat.com/498809
  58. Patch16: qt-x11-opensource-src-4.5.1-kde4_plugins.patch
  59. # make PulseAudio the default device in Phonon
  60. Patch17: qt-x11-opensource-src-4.5.2-pulseaudio.patch
  61. Patch19: qt-x11-opensource-src-4.5.1-phonon.patch
  62. Patch21: qt-everywhere-opensource-src-4.6.0-gst-pulsaudio.patch
  63. # may be upstreamable, not sure yet
  64. # workaround for gdal/grass crashers wrt glib_eventloop null deref's
  65. Patch23: qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
  66. ## upstreamable bits
  67. # http://bugzilla.redhat.com/485677
  68. Patch51: qt-everywhere-opensource-src-4.6.0-beta1-qdoc3.patch
  69. # fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations
  70. Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
  71. # fix invalid assumptions about mysql_config --libs
  72. # http://bugzilla.redhat.com/440673
  73. Patch54: qt-x11-opensource-src-4.5.1-mysql_config.patch
  74. # http://bugs.kde.org/show_bug.cgi?id=180051#c22
  75. Patch55: qt-everywhere-opensource-src-4.6.2-cups.patch
  76. # fix type cast issue on s390x
  77. Patch56: qt-everywhere-opensource-src-4.6.2-webkit-s390x.patch
  78. # fix type cast issue on sparc64
  79. Patch57: qt-everywhere-opensource-src-4.6.2-webkit-sparc64.patch
  80. # qtwebkit to search nspluginwrapper paths too
  81. Patch58: qt-everywhere-opensource-src-4.7.0-beta1-qtwebkit_pluginpath.patch
  82. # security patches
  83. # https://bugs.webkit.org/show_bug.cgi?id=40567
  84. Patch100: qt-everywhere-opensource-src-4.7.0-beta1-qtwebkit_gtk_init.patch
  85. Patch104: qt-everywhere-opensource-src-4.6.2-cve-2010-0051-lax-css-parsing-cross-domain-theft.patch
  86. Patch106: qt-everywhere-opensource-src-4.6.2-cve-2010-0656.patch
  87. Patch108: qt-everywhere-opensource-src-4.6.2-cve-2010-0648.patch
  88. Patch109: qt-everywhere-opensource-src-4.6.3-CVE-2010-1303_1304.patch
  89. Patch110: qt-everywhere-opensource-src-4.6.3-CVE-2010-1392.patch
  90. Patch111: qt-everywhere-opensource-src-4.6.3-CVE-2010-1396.patch
  91. Patch112: qt-everywhere-opensource-src-4.6.3-CVE-2010-1397.patch
  92. Patch113: qt-everywhere-opensource-src-4.6.3-CVE-2010-1398.patch
  93. Patch114: qt-everywhere-opensource-src-4.6.3-CVE-2010-1400.patch
  94. Patch115: qt-everywhere-opensource-src-4.6.3-CVE-2010-1412.patch
  95. Patch116: qt-everywhere-opensource-src-4.6.3-CVE-2010-1770.patch
  96. Patch117: qt-everywhere-opensource-src-4.6.3-CVE-2010-1773.patch
  97. Patch118: qt-everywhere-opensource-src-4.6.3-CVE-2010-1774.patch
  98. Patch119: qt-everywhere-opensource-src-4.6.3-CVE-2010-1119.patch
  99. Patch120: qt-everywhere-opensource-src-4.6.3-CVE-2010-1778.patch
  100. # kde-qt git patches
  101. Patch201: 0001-This-patch-uses-object-name-as-a-fallback-for-window.patch
  102. Patch202: 0002-This-patch-makes-override-redirect-windows-popup-men.patch
  103. Patch203: 0003-This-patch-changes-QObjectPrivateVersion-thus-preven.patch
  104. Patch204: 0004-This-patch-adds-support-for-using-isystem-to-allow-p.patch
  105. Patch205: 0005-When-tabs-are-inserted-or-removed-in-a-QTabBar.patch
  106. Patch206: 0006-Fix-configure.exe-to-do-an-out-of-source-build-on-wi.patch
  107. Patch207: 0007-When-using-qmake-outside-qt-src-tree-it-sometimes-ge.patch
  108. Patch208: 0008-This-patch-makes-the-raster-graphics-system-use-shar.patch
  109. Patch209: 0009-Restore-a-section-of-the-file-that-got-removed-due-t.patch
  110. Patch212: 0012-Add-context-to-tr-calls-in-QShortcut.patch
  111. Patch217: http://qt.gitorious.org/+kde-developers/qt/kde-qt/commit/55ef01d93f8257b5927660290fc1ead0b2b74ec9.patch
  112. # QTBUG-9793
  113. Patch218: http://qt.gitorious.org/qt/qt/commit/0ebc9783d8ca0c4b27208bbc002c53c52c19ab4c.patch
  114. # Vine Patches
  115. # use system ca-bundle certs, http://bugzilla.redhat.com/521911
  116. Patch1022: qt-x11-opensource-src-4.6.0-system_ca_certificates_vine.patch
  117. Buildroot: %{_tmppath}/%{name}-%{version}-root
  118. %if %{?_dist_release} == "vl4"
  119. BuildRequires: gcc4 gcc4-c++ XOrg-devel XOrg-gl-devel
  120. %else
  121. # Vine Linux 5+
  122. BuildRequires: fontconfig-devel
  123. BuildRequires: libICE-devel libSM-devel libXcursor-devel
  124. BuildRequires: libXext-devel libXfixes-devel libXft-devel
  125. BuildRequires: libXi-devel libXinerama-devel libXrandr-devel
  126. BuildRequires: libXrender-devel libXt-devel libX11-devel
  127. BuildRequires: libxkbfile-devel xorg-x11-proto-devel
  128. BuildRequires: mesa-libGL-devel mesa-libGLU-devel
  129. BuildRequires: WebKit-gtk-devel
  130. %endif
  131. BuildRequires: glib2-devel gtk2-devel
  132. BuildRequires: libpng-devel >= 1.2.5
  133. BuildRequires: libmng-devel libtiff-devel libjpeg-devel freetype2-devel
  134. BuildRequires: zlib-devel libungif-devel openssl-devel
  135. BuildRequires: cups-devel >= 1.1.9
  136. BuildRequires: dbus-devel >= 0.62
  137. BuildRequires: desktop-file-utils
  138. %if %{phonon}
  139. BuildRequires: gstreamer-devel gstreamer-plugins-base-devel
  140. %endif
  141. %if %{MySQL}
  142. BuildRequires: MySQL-devel
  143. %endif
  144. %if %{PostgreSQL}
  145. BuildRequires: postgresql-devel
  146. %endif
  147. %if %{ODBC}
  148. BuildRequires: unixODBC-devel
  149. %endif
  150. %if %{ODBC}
  151. BuildRequires: sqlite3-devel
  152. %endif
  153. Requires: libexpat
  154. Requires: libpng >= 1.2.5
  155. %if %{?_dist_release} != "vl4"
  156. Provides: WebKit-qt
  157. %endif
  158. %description
  159. Qt is a GUI software toolkit which simplifies the task of writing and
  160. maintaining GUI (Graphical User Interface) applications
  161. for the X Window System.
  162. Qt is written in C++ and is fully object-oriented.
  163. This package contains the shared library needed to run qt
  164. applications, as well as the README files for qt.
  165. %package devel
  166. Summary: Development files for the Qt GUI toolkit.
  167. Group: Development/Libraries
  168. Requires: %{name} = %{version}-%{release}
  169. Requires: libICE-devel libSM-devel libXcursor-devel
  170. Requires: libXext-devel libXfixes-devel libXft-devel
  171. Requires: libXi-devel libXinerama-devel libXrandr-devel
  172. Requires: libXrender-devel libXt-devel libX11-devel
  173. Requires: libxkbfile-devel xorg-x11-proto-devel
  174. Requires: mesa-libGL-devel mesa-libGLU-devel
  175. Requires: libpng-devel
  176. Requires: libjpeg-devel
  177. Requires(post): alternatives
  178. Requires(postun): alternatives
  179. Provides: WebKit-qt-devel
  180. %description devel
  181. The qt-devel package contains the files necessary to develop
  182. applications using the Qt GUI toolkit: the header files, the Qt meta
  183. object compiler, the man pages, the HTML documentation and example
  184. programs. See http://www.trolltech.com/products/qt.html for more
  185. information about Qt, or look at
  186. /usr/share/doc/qt-devel-%{version}/html/index.html, which provides Qt
  187. documentation in HTML format.
  188. Install qt-devel if you want to develop GUI applications using the Qt
  189. toolkit.
  190. %package doc
  191. Summary: API documentation for %{name}
  192. Summary(ja): Qt の API ドキュメント
  193. Group: Documentation
  194. Requires: %{name} = %{version}-%{release}
  195. #Requires: %{name}-assistant
  196. #Obsoletes: qt4-doc < %{version}-%{release}
  197. #Provides: qt4-doc = %{version}-%{release}
  198. #BuildArch: noarch
  199. %description doc
  200. %{summary}.
  201. %description doc -l ja
  202. %{summary}.
  203. %package -n phonon-backend-gstreamer
  204. Summary: Gstreamer phonon backend
  205. Group: Applications/Multimedia
  206. Requires: phonon >= 4.3.1
  207. #Provides: phonon-backend = 4.3.1-100%{?_dist_release}
  208. %description -n phonon-backend-gstreamer
  209. %{summary}.
  210. %package MySQL
  211. Summary: MySQL drivers for Qt's SQL classes.
  212. Group: System Environment/Libraries
  213. Requires: %{name} = %{version}-%{release}
  214. %description MySQL
  215. MySQL driver for Qt's SQL classes (QSQL)
  216. %package PostgreSQL
  217. Summary: PostgreSQL drivers for Qt's SQL classes.
  218. Group: System Environment/Libraries
  219. Requires: %{name} = %{version}-%{release}
  220. %description PostgreSQL
  221. PostgreSQL driver for Qt's SQL classes (QSQL)
  222. %package ODBC
  223. Summary: ODBC drivers for Qt's SQL classes.
  224. Group: System Environment/Libraries
  225. Requires: %{name} = %{version}-%{release}
  226. %description ODBC
  227. ODBC driver for Qt's SQL classes (QSQL)
  228. %package sqlite
  229. Summary: SQLite driver for Qt's SQL classes
  230. Group: System Environment/Libraries
  231. Requires: %{name} = %{version}-%{release}
  232. %description sqlite
  233. SQLite driver for Qt's SQL classes (QSQL)
  234. %package designer
  235. Summary: Interface designer (IDE) for the Qt toolkit
  236. Group: Applications/Development
  237. Requires: %{name}-devel = %{version}-%{release}
  238. Requires(post): alternatives
  239. Requires(postun): alternatives
  240. %description designer
  241. The qt-designer package contains an User Interface designer tool
  242. for the Qt toolkit.
  243. # compat32
  244. %package -n compat32-%{name}
  245. Summary: The shared library for the Qt GUI toolkit.
  246. Group: System Environment/Libraries
  247. Requires: %{name} = %{version}-%{release}
  248. %description -n compat32-%{name}
  249. Qt is a GUI software toolkit which simplifies the task of writing and
  250. maintaining GUI (Graphical User Interface) applications
  251. for the X Window System.
  252. Qt is written in C++ and is fully object-oriented.
  253. This package contains the shared library needed to run qt
  254. applications, as well as the README files for qt.
  255. %package -n compat32-%{name}-devel
  256. Summary: Development files and documentation for the Qt GUI toolkit.
  257. Group: Development/Libraries
  258. Requires: %{name}-devel = %{version}-%{release}
  259. Requires: compat32-%{name} = %{version}-%{release}
  260. %description -n compat32-%{name}-devel
  261. The qt-devel package contains the files necessary to develop
  262. applications using the Qt GUI toolkit: the header files, the Qt meta
  263. object compiler, the man pages, the HTML documentation and example
  264. programs. See http://www.trolltech.com/products/qt.html for more
  265. information about Qt, or look at
  266. /usr/share/doc/qt-devel-%{version}/html/index.html, which provides Qt
  267. documentation in HTML format.
  268. Install qt-devel if you want to develop GUI applications using the Qt
  269. toolkit.
  270. %prep
  271. %setup -q -n qt-everywhere-opensource-src-%{version}
  272. # don't use -b on mkspec files, else they get installed too.
  273. # multilib hacks no longer required
  274. %patch2 -p1
  275. #if "%{_qt4_datadir}" != "%{_qt4_prefix}"
  276. #patch3 -p1 -b .multilib-QMAKEPATH
  277. #endif
  278. %patch4 -p1 -b .uic_multilib
  279. %patch5 -p1 -b .bz#437440-as_IN-437440
  280. %patch13 -p1 -b .gcc_hack
  281. %patch15 -p1 -b .enable_ft_lcdfilter
  282. %patch16 -p1 -b .kde4_plugins
  283. %patch17 -p1 -b .phonon-pulseaudio
  284. %patch19 -p1 -b .servicesfile
  285. %patch21 -p1 -b .gst-pulsaudio
  286. %patch23 -p1 -b .glib_eventloop_nullcheck
  287. %patch51 -p1 -b .qdoc3
  288. ## TODO: still worth carrying? if so, upstream it.
  289. %patch53 -p1 -b .qatomic-inline-asm
  290. ## TODO: upstream me
  291. %patch54 -p1 -b .mysql_config
  292. %patch55 -p1 -b .cups-1
  293. %patch56 -p1 -b .typecast_s390x
  294. %patch57 -p1 -b .typecast_sparc64
  295. %patch58 -p1 -b .qtwebkit_pluginpath
  296. # upstream patches
  297. %patch100 -p1 -b .qtwebkit_gtk_init
  298. # security fixes
  299. %patch104 -p1 -b .cve-2010-0051-lax-css-parsing-cross-domain-theft
  300. %patch106 -p1 -b .cve-2010-0656
  301. %patch108 -p1 -b .cve-2010-0648
  302. %patch109 -p1 -b .CVE-2010-1303_1304
  303. %patch110 -p1 -b .CVE-2010-1392
  304. %patch111 -p1 -b .CVE-2010-1396
  305. %patch112 -p1 -b .CVE-2010-1397
  306. %patch113 -p1 -b .CVE-2010-1398
  307. %patch114 -p1 -b .CVE-2010-1400
  308. %patch115 -p1 -b .CVE-2010-1412
  309. %patch116 -p1 -b .CVE-2010-1770
  310. %patch117 -p1 -b .CVE-2010-1773
  311. %patch118 -p1 -b .CVE-2010-1774
  312. %patch119 -p1 -b .CVE-2010-1119
  313. %patch120 -p1 -b .CVE-2010-1778
  314. # kde-qt branch
  315. %patch201 -p1 -b .kde-qt-0001
  316. %patch202 -p1 -b .kde-qt-0002
  317. %patch203 -p1 -b .kde-qt-0003
  318. %patch204 -p1 -b .kde-qt-0004
  319. %patch205 -p1 -b .kde-qt-0005
  320. %patch206 -p1 -b .kde-qt-0006
  321. %patch207 -p1 -b .kde-qt-0007
  322. %patch212 -p1 -b .kde-qt-0012
  323. %patch217 -p1 -b .QT_GRAPHICSSYSTEM
  324. %patch218 -p1 -b .QTBUG-9793
  325. # Patches for Vine
  326. %patch1022 -p1 -b .system_ca_certificates
  327. # drop -fexceptions from $RPM_OPT_FLAGS
  328. RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
  329. %define platform linux-g++
  330. # some 64bit platforms assume -64 suffix, https://bugzilla.redhat.com/569542
  331. %if "%{?__isa_bits}" == "64"
  332. %define platform linux-g++-64
  333. %endif
  334. # https://bugzilla.redhat.com/478481
  335. %ifarch x86_64
  336. %define platform linux-g++
  337. %endif
  338. sed -i \
  339. -e "s|-O2|$RPM_OPT_FLAGS|g" \
  340. -e "s|g++.conf|g++-multilib.conf|g" mkspecs/%{platform}/qmake.conf
  341. sed -e "s|^QMAKE_CFLAGS_RELEASE|#QMAKE_CFLAGS_RELEASE|g" \
  342. mkspecs/common/g++.conf > mkspecs/common/g++-multilib.conf
  343. %if "%{_qt4_libdir}" == "%{_libdir}"
  344. sed -i -e "s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT =|" mkspecs/common/linux.conf
  345. %endif
  346. # set correct lib path
  347. if [ "%{_lib}" == "lib64" ] ; then
  348. sed -i -e "s,/usr/lib /lib,/usr/%{_lib} /%{_lib},g" config.tests/{unix,x11}/*.test
  349. sed -i -e "s,/lib /usr/lib,/%{_lib} /usr/%{_lib},g" config.tests/{unix,x11}/*.test
  350. fi
  351. # let makefile create missing .qm files, the .qm files should be included in qt upstream
  352. #for f in translations/*.ts ; do
  353. # touch ${f%.ts}.qm
  354. #done
  355. %build
  356. # build shared, threaded (default) libraries
  357. ./configure -v \
  358. -confirm-license \
  359. -opensource \
  360. -optimized-qmake \
  361. -prefix %{_qt4_prefix} \
  362. -bindir %{_qt4_bindir} \
  363. -datadir %{_qt4_datadir} \
  364. -demosdir %{_qt4_demosdir} \
  365. -docdir %{_qt4_docdir} \
  366. -examplesdir %{_qt4_examplesdir} \
  367. -headerdir %{_qt4_headerdir} \
  368. -libdir %{_qt4_libdir} \
  369. -plugindir %{_qt4_plugindir} \
  370. -sysconfdir %{_qt4_sysconfdir} \
  371. -translationdir %{_qt4_translationdir} \
  372. -platform %{platform} \
  373. -release \
  374. -shared \
  375. -cups \
  376. -fontconfig \
  377. -largefile \
  378. -gtkstyle \
  379. -qt-gif \
  380. -no-rpath \
  381. -reduce-relocations \
  382. -no-separate-debug-info \
  383. %if %{phonon}
  384. -phonon \
  385. -phonon-backend \
  386. %else
  387. -no-phonon \
  388. %endif
  389. -pch \
  390. -no-javascript-jit \
  391. -sm \
  392. -stl \
  393. -system-libmng \
  394. -system-libpng \
  395. -system-libjpeg \
  396. -system-libtiff \
  397. -system-zlib \
  398. -xinput \
  399. -xcursor \
  400. -xfixes \
  401. -xinerama \
  402. -xshape \
  403. -xrandr \
  404. -xrender \
  405. -xkb \
  406. -glib \
  407. -openssl-linked \
  408. -xmlpatterns \
  409. -dbus-linked \
  410. -webkit \
  411. -no-nas-sound \
  412. %if %{MySQL}
  413. -plugin-sql-mysql -I/usr/include/mysql \
  414. %else
  415. -no-sql-mysql \
  416. %endif
  417. %if %{PostgreSQL}
  418. -plugin-sql-psql -I/usr/include/pgsql \
  419. %else
  420. -no-sql-psql \
  421. %endif
  422. %if %{ODBC}
  423. -plugin-sql-odbc \
  424. %else
  425. -no-sql-odbc \
  426. %endif
  427. -system-sqlite \
  428. -nomake demos \
  429. -nomake examples
  430. make %{?_smp_mflags}
  431. # recreate .qm files
  432. #LD_LIBRARY_PATH=`pwd`/lib bin/lrelease translations/*.ts
  433. %install
  434. rm -rf $RPM_BUILD_ROOT
  435. make install INSTALL_ROOT=$RPM_BUILD_ROOT
  436. ln -s qt-%{version} $RPM_BUILD_ROOT%{_libdir}/qt4
  437. # Add desktop file(s)
  438. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  439. desktop-file-install \
  440. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  441. --vendor="" \
  442. %{SOURCE21} %{SOURCE22}
  443. # nuke dangling reference(s) to %buildroot
  444. sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
  445. # nuke QMAKE_PRL_LIBS, seems similar to static linking and .la files (#520323)
  446. sed -i -e "s|^QMAKE_PRL_LIBS|#QMAKE_PRL_LIBS|" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
  447. # .la files, die, die, die.
  448. rm -f $RPM_BUILD_ROOT%{_qt4_libdir}/lib*.la
  449. %ifarch %{multilib_archs}
  450. # multilib: qconfig.h
  451. mv $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-%{_arch}.h
  452. install -p -m644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-multilib.h
  453. ln -sf qconfig-multilib.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig.h
  454. ln -sf ../QtCore/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h
  455. %if "%{_qt4_datadir}" != "%{_qt4_prefix}"
  456. # multilib: mkspecs hacks, unfortunately, breaks some stuff
  457. mkdir $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs
  458. mv $RPM_BUILD_ROOT%{_qt4_datadir}/mkspecs/{default,linux-g++*,qconfig.pri} \
  459. $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs/
  460. ln -s %{_qt4_datadir}/mkspecs/common $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs/common
  461. %endif
  462. %endif
  463. %if "%{_qt4_libdir}" != "%{_libdir}"
  464. mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
  465. echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4.conf
  466. %if %{build_compat32}
  467. echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4-i386.conf
  468. %endif
  469. %endif
  470. # Trolltech.conf
  471. install -p -m644 -D %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/Trolltech.conf
  472. mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64,128x128}/apps
  473. # qt4-logo (generic) icons
  474. install -p -m644 -D %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/qt4-logo.png
  475. install -p -m644 -D %{SOURCE31} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/qt4-logo.png
  476. # designer icons
  477. install -p -m644 -D tools/designer/src/designer/images/designer.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/designer.png
  478. # linguist icons
  479. for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
  480. size=$(echo $(basename ${icon}) | cut -d- -f2)
  481. install -p -m644 -D ${icon} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist4.png
  482. done
  483. mkdir -p $RPM_BUILD_ROOT/etc/profile.d
  484. cat > $RPM_BUILD_ROOT/etc/profile.d/qt4.sh <<EOF
  485. # Qt initialization script (sh)
  486. if [ -z "\$QTDIR" ] ; then
  487. QTDIR="%{_qt4_libdir}"
  488. fi
  489. export QTDIR
  490. EOF
  491. chmod 755 $RPM_BUILD_ROOT/etc/profile.d/qt4.sh
  492. cat > $RPM_BUILD_ROOT/etc/profile.d/qt4.csh <<EOF
  493. # Qt initialization script (csh)
  494. if ( \$?QTDIR ) then
  495. exit
  496. endif
  497. setenv QTDIR %{_qt4_libdir}
  498. EOF
  499. chmod 755 $RPM_BUILD_ROOT/etc/profile.d/qt4.csh
  500. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  501. for i in $RPM_BUILD_ROOT%{_qt4_bindir}/*; do
  502. #ln -s ../lib/qt-%{version}/bin/`basename $i` $RPM_BUILD_ROOT/%{_bindir}
  503. ln -s ../%{_lib}/qt-%{version}/bin/`basename $i` $RPM_BUILD_ROOT/%{_bindir}
  504. done
  505. # pkg-config files
  506. mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  507. cp $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  508. rm -rf $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig
  509. # Qt.pc
  510. cat >%{buildroot}%{_libdir}/pkgconfig/Qt.pc<<EOF
  511. prefix=%{_qt4_prefix}
  512. bindir=%{_qt4_bindir}
  513. datadir=%{_qt4_datadir}
  514. demosdir=%{_qt4_demosdir}
  515. docdir=%{_qt4_docdir}
  516. examplesdir=%{_qt4_examplesdir}
  517. headerdir=%{_qt4_headerdir}
  518. libdir=%{_qt4_libdir}
  519. plugindir=%{_qt4_plugindir}
  520. qmake=%{_qt4_bindir}/qmake
  521. sysconfdir=%{_qt4_sysconfdir}
  522. translationdir=%{_qt4_translationdir}
  523. Name: Qt
  524. Description: Qt Configuration
  525. Version: %{version}
  526. EOF
  527. # create/own %%_qt4_plugindir/styles
  528. mkdir %{buildroot}%{_qt4_plugindir}/styles
  529. # create/own %%_qt4_plugindir/gui_platform
  530. mkdir %{buildroot}%{_qt4_plugindir}/gui_platform
  531. %if %{phonon}
  532. # remove for phonon 4.3.1
  533. rm -fv $RPM_BUILD_ROOT%{qtdir}/lib/libphonon.so*
  534. rm -rfv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/phonon.pc
  535. # contents slightly different between phonon-4.3.1 and qt-4.5.0
  536. rm -fv $RPM_BUILD_ROOT%{_includedir}/phonon/phononnamespace.h
  537. # contents dup'd but should remove just in case
  538. rm -fv $RPM_BUILD_ROOT%{_includedir}/phonon/*.h
  539. rm -rfv $RPM_BUILD_ROOT%{qtdir}/include/phonon*
  540. #rm -rfv %{buildroot}%{_qt4_headerdir}/Qt/phonon*
  541. rm -fv $RPM_BUILD_ROOT%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
  542. rm -fv $RPM_BUILD_ROOT%{qtdir}/lib/libphonon.prl
  543. install -D -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/phonon-gstreamer.svg
  544. install -D -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/phonon-gstreamer.png
  545. install -D -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/phonon-gstreamer.png
  546. install -D -m 0644 %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/phonon-gstreamer.png
  547. install -D -m 0644 %{SOURCE14} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/phonon-gstreamer.png
  548. install -D -m 0644 %{SOURCE15} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/phonon-gstreamer.png
  549. install -D -m 0644 %{SOURCE16} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/phonon-gstreamer.png
  550. %endif
  551. # make symbolic link to qt docdir
  552. #if echo %{_docdir} | grep share >& /dev/null ; then
  553. # ln -s ../../share/doc/%{name}-devel-%{version} $RPM_BUILD_ROOT%{_qt4_docdir}
  554. #else
  555. # ln -s ../../doc/%{name}-devel-%{version} $RPM_BUILD_ROOT%{_qt4_docdir}
  556. #fi
  557. # clean up
  558. cd $RPM_BUILD_ROOT%{qtdir}
  559. #rm -f lib/*.la
  560. #rm -f lib/*.prl
  561. rm -f `find ../../ -name *.debug`
  562. # delete files to use alternatives
  563. rm -f $RPM_BUILD_ROOT%{_bindir}/assistant
  564. rm -f $RPM_BUILD_ROOT%{_bindir}/moc
  565. rm -f $RPM_BUILD_ROOT%{_bindir}/qmake
  566. rm -f $RPM_BUILD_ROOT%{_bindir}/qtconfig
  567. rm -f $RPM_BUILD_ROOT%{_bindir}/uic
  568. rm -f $RPM_BUILD_ROOT%{_bindir}/uic3
  569. rm -f $RPM_BUILD_ROOT%{_bindir}/designer
  570. rm -f $RPM_BUILD_ROOT%{_bindir}/linguist
  571. rm -f $RPM_BUILD_ROOT%{_bindir}/lrelease
  572. rm -f $RPM_BUILD_ROOT%{_bindir}/lupdate
  573. %clean
  574. rm -rf $RPM_BUILD_ROOT
  575. %post
  576. /sbin/ldconfig
  577. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  578. %posttrans
  579. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  580. %postun
  581. /sbin/ldconfig
  582. if [ $1 -eq 0 ] ; then
  583. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  584. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  585. fi
  586. # devel
  587. %post devel
  588. %{_syssbindir}/update-alternatives --install \
  589. %{_bindir}/qtconfig qtconfig %{_qt4_bindir}/qtconfig 20 \
  590. --slave %{_bindir}/assistant \
  591. assistant \
  592. %{_qt4_bindir}/assistant \
  593. --slave %{_bindir}/moc \
  594. moc \
  595. %{_qt4_bindir}/moc \
  596. --slave %{_bindir}/qmake \
  597. qmake \
  598. %{_qt4_bindir}/qmake \
  599. --slave %{_bindir}/uic \
  600. uic \
  601. %{_qt4_bindir}/uic \
  602. --slave %{_bindir}/uic3 \
  603. uic3 \
  604. %{_qt4_bindir}/uic3 \
  605. %postun devel
  606. if [ $1 -eq 0 ] ; then
  607. %{_syssbindir}/update-alternatives --remove qtconfig %{_qt4_bindir}/qtconfig
  608. [ -f "%{_bindir}/qtconfig" ] || %{_syssbindir}/update-alternatives --auto qtconfig
  609. fi
  610. # phonon-backend-gstreamer
  611. %if %{phonon}
  612. %post -n phonon-backend-gstreamer
  613. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  614. %posttrans -n phonon-backend-gstreamer
  615. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  616. %postun -n phonon-backend-gstreamer
  617. if [ $1 -eq 0 ] ; then
  618. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  619. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  620. fi
  621. %endif
  622. # qt4-designer
  623. %post designer
  624. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  625. %{_syssbindir}/update-alternatives --install \
  626. %{_bindir}/designer designer %{_qt4_bindir}/designer 20 \
  627. --slave %{_bindir}/linguist \
  628. linguist \
  629. %{_qt4_bindir}/linguist \
  630. --slave %{_bindir}/lrelease \
  631. lrelease \
  632. %{_qt4_bindir}/lrelease \
  633. --slave %{_bindir}/lupdate \
  634. lupdate \
  635. %{_qt4_bindir}/lupdate
  636. [ -f "%{_bindir}/designer" ] || %{_syssbindir}/update-alternatives --auto designer
  637. %posttrans designer
  638. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  639. %postun designer
  640. if [ $1 -eq 0 ] ; then
  641. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  642. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  643. %{_syssbindir}/update-alternatives --remove designer %{_qt4_bindir}/desiner
  644. [ -f "%{_bindir}/designer" ] || %{_syssbindir}/update-alternatives --auto designer
  645. fi
  646. %post -n compat32-%{name} -p /sbin/ldconfig
  647. %postun -n compat32-%{name} -p /sbin/ldconfig
  648. %files
  649. %defattr(-,root,root,-)
  650. #doc README README.kde-qt LGPL_EXCEPTION.txt LICENSE.LGPL LICENSE.GPL3
  651. %doc README LGPL_EXCEPTION.txt LICENSE.LGPL LICENSE.GPL3
  652. %config(noreplace) %{_sysconfdir}/Trolltech.conf
  653. %if "%{_qt4_libdir}" != "%{_libdir}"
  654. %config %{_sysconfdir}/ld.so.conf.d/qt4.conf
  655. %endif
  656. %{_bindir}/qdbus
  657. %{_qt4_bindir}/qdbus
  658. %{_libdir}/qt4
  659. %dir %{_qt4_prefix}
  660. %dir %{_qt4_libdir}
  661. %{_qt4_libdir}/libQt*.so.*
  662. %dir %{_qt4_plugindir}
  663. %dir %{_qt4_plugindir}/accessible
  664. %{_qt4_plugindir}/accessible/*
  665. %dir %{_qt4_plugindir}/codecs
  666. %{_qt4_plugindir}/codecs/*
  667. %dir %{_qt4_plugindir}/graphicssystems
  668. %{_qt4_plugindir}/graphicssystems/*
  669. %dir %{_qt4_plugindir}/iconengines
  670. %{_qt4_plugindir}/iconengines/*
  671. %dir %{_qt4_plugindir}/imageformats
  672. %{_qt4_plugindir}/imageformats/*
  673. %dir %{_qt4_plugindir}/inputmethods
  674. %{_qt4_plugindir}/inputmethods/*
  675. %dir %{_qt4_plugindir}/script
  676. %{_qt4_plugindir}/script/*
  677. %dir %{_qt4_translationdir}
  678. %{_qt4_translationdir}/*
  679. %{_datadir}/icons/hicolor/*/apps/qt4-logo.*
  680. %files devel
  681. %defattr(-,root,root,-)
  682. %attr(0755,root,root) %config /etc/profile.d/*
  683. %{_bindir}/*
  684. %{_qt4_bindir}/*
  685. %exclude %{_bindir}/qdbus
  686. %exclude %{_qt4_bindir}/qdbus
  687. %exclude %{_qt4_bindir}/designer
  688. %exclude %{_qt4_bindir}/linguist
  689. %exclude %{_qt4_bindir}/lrelease
  690. %exclude %{_qt4_bindir}/lupdate
  691. %{_qt4_headerdir}
  692. %{_qt4_libdir}/libQt*.so
  693. %{_qt4_libdir}/libQtUiTools*.a
  694. %{_qt4_libdir}/libQt*.prl
  695. %{_qt4_datadir}/mkspecs
  696. %{_qt4_datadir}/phrasebooks
  697. %{_qt4_datadir}/q3porting.xml
  698. %{_libdir}/pkgconfig/*.pc
  699. #{_qt4_docdir}/*
  700. %files doc
  701. %defattr(-,root,root,-)
  702. %{_qt4_docdir}/html
  703. %{_qt4_docdir}/qch/*.qch
  704. %exclude %{_qt4_docdir}/qch/designer.qch
  705. %exclude %{_qt4_docdir}/qch/linguist.qch
  706. %{_qt4_docdir}/src
  707. # Qt Assistant (bin moved to -x11)
  708. #{_datadir}/applications/*assistant.desktop
  709. #{_datadir}/icons/hicolor/*/apps/assistant*
  710. %if %{phonon}
  711. %files -n phonon-backend-gstreamer
  712. %defattr(-,root,root,-)
  713. %{_qt4_plugindir}/phonon_backend/*_gstreamer.so
  714. %{_datadir}/kde4/services/phononbackends/gstreamer.desktop
  715. %{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.*
  716. %endif
  717. %if %{MySQL}
  718. %files MySQL
  719. %defattr(-,root,root,-)
  720. %{_qt4_plugindir}/sqldrivers/libqsqlmysql*
  721. %endif
  722. %if %{PostgreSQL}
  723. %files PostgreSQL
  724. %defattr(-,root,root,-)
  725. %{_qt4_plugindir}/sqldrivers/libqsqlpsql*
  726. %endif
  727. %if %{ODBC}
  728. %files ODBC
  729. %defattr(-,root,root,-)
  730. %{_qt4_plugindir}/sqldrivers/libqsqlodbc*
  731. %endif
  732. %if %{SQLite}
  733. %files sqlite
  734. %defattr(-,root,root,-)
  735. %{_qt4_plugindir}/sqldrivers/libqsqlite*
  736. %endif
  737. %files designer
  738. %defattr(-,root,root,-)
  739. %{_qt4_bindir}/designer
  740. %{_qt4_bindir}/linguist
  741. %{_qt4_bindir}/lrelease
  742. %{_qt4_bindir}/lupdate
  743. %dir %{_qt4_plugindir}/designer
  744. %{_qt4_plugindir}/designer/*
  745. %{_datadir}/applications/*.desktop
  746. %{_datadir}/icons/hicolor/*/apps/linguist*
  747. %{_datadir}/icons/hicolor/*/apps/designer*
  748. %{_qt4_docdir}/qch/designer.qch
  749. %{_qt4_docdir}/qch/linguist.qch
  750. # compat32
  751. %if %{build_compat32}
  752. %files -n compat32-%{name}
  753. %defattr(-,root,root,-)
  754. %if "%{_qt4_libdir}" != "%{_libdir}"
  755. %config %{_sysconfdir}/ld.so.conf.d/qt4-i386.conf
  756. %endif
  757. %{_qt4_bindir}/qdbus
  758. %{_libdir}/qt4
  759. %dir %{_qt4_prefix}
  760. %dir %{_qt4_libdir}
  761. %{_qt4_libdir}/libQt*.so.*
  762. %dir %{_qt4_plugindir}
  763. %dir %{_qt4_plugindir}/accessible
  764. %{_qt4_plugindir}/accessible/*
  765. %dir %{_qt4_plugindir}/codecs
  766. %{_qt4_plugindir}/codecs/*
  767. %dir %{_qt4_plugindir}/graphicssystems
  768. %{_qt4_plugindir}/graphicssystems/*
  769. %dir %{_qt4_plugindir}/iconengines
  770. %{_qt4_plugindir}/iconengines/*
  771. %dir %{_qt4_plugindir}/imageformats
  772. %{_qt4_plugindir}/imageformats/*
  773. %dir %{_qt4_plugindir}/inputmethods
  774. %{_qt4_plugindir}/inputmethods/*
  775. %dir %{_qt4_plugindir}/script
  776. %{_qt4_plugindir}/script/*
  777. #dir %{_qt4_translationdir}
  778. #{_qt4_translationdir}/*
  779. %files -n compat32-%{name}-devel
  780. %defattr(-,root,root,-)
  781. %{_qt4_bindir}/*
  782. %exclude %{_qt4_bindir}/qdbus
  783. %exclude %{_qt4_bindir}/designer
  784. %exclude %{_qt4_bindir}/linguist
  785. %exclude %{_qt4_bindir}/lrelease
  786. %exclude %{_qt4_bindir}/lupdate
  787. #{_qt4_docdir}
  788. %{_qt4_headerdir}
  789. %{_qt4_libdir}/libQt*.so
  790. %{_qt4_libdir}/libQtUiTools.a
  791. %{_qt4_libdir}/libQt*.prl
  792. %{_qt4_datadir}/mkspecs
  793. %{_qt4_datadir}/phrasebooks
  794. %{_qt4_datadir}/q3porting.xml
  795. %{_libdir}/pkgconfig/*.pc
  796. %endif
  797. %changelog
  798. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-2
  799. - rebuilt with rpm-4.8.1
  800. * Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-1
  801. - new upstream release
  802. - moved %{_bindir}/qdbus to main package
  803. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.6.1-5
  804. - rebuilt with gcc-4.4.3-3 on ppc
  805. * Fri Feb 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-4
  806. - rebuilt with new toolchains
  807. * Sun Jan 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3
  808. - added BR: desktop-file-utils
  809. * Sat Jan 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-2
  810. - fixed devel %%files (forgot removing documents...)
  811. * Thu Jan 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  812. - new upstream release
  813. - moved documents to doc sub-package
  814. - updated macros
  815. - installed translation to %%{_datadir}/qt4/translations now
  816. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.3-1
  817. - new upstream release
  818. - dropped Patch90 (merged into upstream)
  819. - updated Patches from Fedora
  820. - added sqlite subpackage
  821. * Wed Sep 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.5.2-2
  822. - added Patch90 for fix CVE-2009-2700
  823. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.2-1
  824. - new upstream release
  825. - updated qt-copy patches
  826. - added Qt.pc
  827. - added BuildRequires: WebKit-gtk-devel
  828. * Thu Jul 23 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.4.3-4
  829. - added compat32 package for x86_64 arch support
  830. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-3
  831. - changed qt4-designer Group to Applications/Development
  832. - updated URL
  833. - remove Requires: XOrg-libs, XOrg-gl
  834. * Wed Mar 24 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-2
  835. - update qt-copy patches
  836. * Mon Nov 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-1
  837. - new upstream release
  838. - update qt-copy patches
  839. * Tue Nov 11 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-2
  840. - update qt-copy patches
  841. * Mon Sep 22 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-1
  842. - new upstream release
  843. - update qt-copy patches
  844. * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.1-2
  845. - fixed symbolic-link path of %{_bindir}/* at %%install section (for lib64)
  846. * Mon Aug 4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.1-1
  847. - new upstream release
  848. - update qt-copy patches
  849. * Sun Jul 6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.0-1
  850. - new upstream release
  851. - update qt-copy patches
  852. - add -no-phonon
  853. * Mon Mar 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-1
  854. - fix release ([VineSeed:1527])
  855. - add BuildPrereq: gcc4 gcc4-c++ for Vine 4.x
  856. - add Requires(post,postun): alternatives to -devel and -designer package
  857. * Tue Mar 4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-0vl1
  858. - new upstream release
  859. - update qt-copy patches
  860. * Wed Feb 6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl2
  861. - update qt-copy patches
  862. * Thu Dec 6 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl1
  863. - new upstream release
  864. - update and re-number qt-copy patches
  865. - add BuildPrereq: glib2-devel
  866. - update URL
  867. * Fri Nov 2 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.2-0vl1
  868. - new upstream release
  869. - update qt-copy patches
  870. * Tue Sep 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl2
  871. - update qt-copy patches (CVE-2007-4137)
  872. * Wed Aug 15 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl1
  873. - new upstream release
  874. - update qt-copy patches
  875. * Thu Jun 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl1
  876. - new upstream release
  877. - add qt-copy patches
  878. * Wed May 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl0.20070423
  879. - new upstream release
  880. * Mon Mar 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.3-0vl1
  881. - new upstream release
  882. * Tue Oct 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.1-0vl1
  883. - new upstream release
  884. - add ld.so.conf.d and qt4.conf
  885. - BuildPrereq: dbus-devel >= 0.62
  886. * Fri Oct 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.0-0vl1
  887. - new upstream release
  888. - remove static package
  889. * Mon Sep 25 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1.4-0vl1
  890. - new upstream release
  891. - update %%fiels
  892. - remove Xt and styles package
  893. - add BuildPrereq: postgresql-libs MySQL-shared
  894. - remove all patches
  895. * Mon Sep 19 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl4
  896. - move %%{_libdir}/qt3 from develop to main
  897. - fix typo
  898. - add patch503
  899. -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm.1
  900. - import qt-x11-immodule-unified-quiet.patch (patch503) from FC
  901. - add patch500-502
  902. -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm
  903. - add immodule for Qt support (patch500-502)
  904. - patch500: revert some part of patch300,301 (conflict with patch501)
  905. - patch501: immodule for Qt patch
  906. - patch502: apply some part of patch300,301 again
  907. cf. http://immodule-qt.freedesktop.org/
  908. http://people.freedesktop.org/~daisuke/
  909. * Sun Sep 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.5-0vl3
  910. - added configure options for builing on 64-bit archs
  911. * Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl2
  912. - rebuild for VineSeed
  913. * Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl1
  914. - new upstream release
  915. - stop building nonthreaded libs
  916. - delete Obsoletes
  917. - add Patch0
  918. * Tue Jul 5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl6
  919. - rebuild for VineSeed
  920. * Tue Jul 5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl5
  921. - build for Vine3.1
  922. - add -v to configure option
  923. - move three static libs to main package
  924. * Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl4
  925. - rebuild for VineSeed
  926. * Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl3
  927. - (security) stop using rpath
  928. - cleanup this file
  929. * Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl2
  930. - rebuild for VineSeed
  931. * Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl1
  932. - new upstream release
  933. - update Patch400
  934. * Sat Dec 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl3
  935. - rebuld
  936. * Wed Nov 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl2
  937. - add Obsoletes: qt32-*
  938. * Sun Sep 5 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl1
  939. - source upgrade
  940. - remove patch100
  941. - update patch300 and remove patch302-303
  942. - update patch400
  943. - update BuildPrereq and Requires
  944. * Wed Jul 28 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
  945. - add patch302-303 from KuserML
  946. - delete lines about vine26
  947. * Sun Jun 6 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  948. - add patch100 from webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/patches/
  949. * Fri Apr 30 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  950. - source upgrade
  951. - remove patch100 (it is needed only for 3.3.1)
  952. * Sun Apr 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl3
  953. - rebuild with XOrg
  954. * Mon Mar 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl2
  955. - rebuild
  956. * Mon Mar 8 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  957. - source upgrade
  958. - remove patch800
  959. - add patch100 (only for qt-x11-free-3.3.1)
  960. * Sun Feb 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl3
  961. - enable cups support
  962. * Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
  963. - build for VineSeed with new toolchain
  964. - disable cup support
  965. * Wed Dec 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
  966. - source upgrade
  967. - revised Patch402 and 403
  968. - remove Patch100
  969. - add patch800 to build against freetype2-2.1.7
  970. - (VinePlus/2.6) BuildPrereq: autoconf258
  971. * Sun Nov 9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  972. - source upgrade
  973. - revised Patch400
  974. - remove Patch15
  975. * Sun Nov 2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl4
  976. - enable cups support
  977. * Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl3
  978. - rebuild for Vine2.6
  979. * Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl3
  980. - revised Patch400 and Patch402
  981. - clean up spec
  982. * Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl2
  983. - rebuild for Vine2.6
  984. * Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl2
  985. - revised Patch400-
  986. - clean up spec
  987. * Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl1
  988. - rebuild for Vine2.6
  989. * Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  990. - source upgrade
  991. - add Patch100
  992. - remove Patch302 (it is included in this source)
  993. - stop using Patch400-
  994. - build with gcc-3.2.3
  995. - add export LANG=C
  996. - add *.pc (pkg-config files) to qt-devel package
  997. * Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl5
  998. - rebuild for Vine2.6
  999. * Wed Aug 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl5
  1000. - add Patch302 to fix performance of jmode
  1001. - change make option for SMP and add script
  1002. * Thu Jun 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl4
  1003. - update Patch400 and 401
  1004. * Wed Jun 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl3
  1005. - change spec to build with g++-2.95.3
  1006. * Mon Apr 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl2
  1007. - rebuild for Vine2.6
  1008. * Wed Apr 16 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.1.2-0vl2
  1009. - rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
  1010. * Fri Mar 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
  1011. - source upgrade
  1012. - remove all patches except patch15
  1013. - revised patch 300-
  1014. - stop building Xt package
  1015. * Mon Feb 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl3
  1016. - revised patch 301 and 302
  1017. - enable patch 301 and 302 to Vine2.5/2.6
  1018. * Sun Feb 9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl2
  1019. - change spec to build both VineSeed and Vine2.5/2.6
  1020. - re-number patch300-
  1021. - delete patch4 (qt-3.1.1 does not need it)
  1022. - add patch13 and 14
  1023. -- Thu Dec 19 2002 Than Ngo <than@redhat.com> 3.1.1-3
  1024. - add monospace patch file from Leon Ho (bug #79949)
  1025. - add small patch file from Sysoltsev Slawa (bug #79731)
  1026. - add patch15
  1027. -- Mon Dec 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  1028. - Change qmlined.h to not include an attic header that is also not shipped
  1029. with Red Hat Linux. This also fixes building unixODBC, that includes this
  1030. header (apparently also without needing it).
  1031. * Sat Jan 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
  1032. - source upgrade
  1033. - cleanup spec
  1034. - revised Patch7, 301
  1035. - add Patch306, 307, 308 from kde.gr.jp
  1036. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.0-0vl1
  1037. - source upgrade
  1038. - stop using objprelink2, it does not work with gcc3
  1039. - add Patch304 and Patch305 from www.kde.gr.jp/~akito/xft/patch_xft.html
  1040. - add Patch1 - Patch12 from rawhide 3.1.0-1.3
  1041. - add BuildPrereq: openMotif-devel >= 2.2.2 for build qt-Xt
  1042. - cleanup spec for build x11 package only
  1043. * Mon Nov 11 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl3
  1044. - add export PATH=`pwd`:$PATH to %build section
  1045. * Mon Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl2
  1046. - objprelink2 support only i386 (add %ifarch i386 ... again)
  1047. - delete BuildPrereq: libmng-static (it merged to libmng-devel)
  1048. - delete %doc ANNOUNCE
  1049. - Requires: XFree86-gl instead of Mesa
  1050. * Fri Oct 4 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl1
  1051. - add BuildPrereq: objprelink2 instead of BuildPrereq: objprelink
  1052. - add BuildPrereq: autoconf253 automake15
  1053. - delete Patch199 (objprelink2 do not need this patch)
  1054. - source upgrade
  1055. - revised all patches [Kdeveloper:02404]
  1056. - add man files to qt-devel sub-package
  1057. * Tue Jul 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl5
  1058. - add patch304 from kde.gr.jp [Kdeveloper:02368]
  1059. * Thu Jul 4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl4
  1060. - add patch303 from kde.gr.jp [Kdeveloper:02378]
  1061. * Wed Apr 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl3
  1062. - add patch302 from kde.gr.jp
  1063. * Thu Apr 4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl2
  1064. - revised patch300 from kde.gr.jp and XIMInputStyle=Over The Spot in qtrc
  1065. - add patch301 from kde.gr.jp
  1066. - make unixODBC plugin (delete define odbcplugins 0 and if %{odbcplugins})
  1067. * Sat Mar 30 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl1
  1068. - merged with rawhide 3.0.3-0.cvs20020314.1
  1069. - source update to 3.0.3
  1070. - add patch199 (objprelink)
  1071. - add patch300 and add defaultInputStyle=OverTheSpot in qtrc
  1072. - define cups 0 (Vine does not have cups)
  1073. - define odbcplugins 0 (unixODBC requires libqt-mt.so.2 of qt-2)
  1074. - cleanup spec
  1075. - There is Vine's previous changes, hacked for Vine
  1076. -- Sat Jan 5 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-6vl4
  1077. - rebuild with -xft support (XFree86-4.1.99.4)
  1078. -- Mon Dec 31 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl3
  1079. - rebuild with glibc-2.2.4
  1080. -- Sun Nov 25 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl2
  1081. - add Source2 and Patch4 (use objprelink, i386 only)
  1082. -- Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl1
  1083. - Build for VineSeed
  1084. - Add qt.using_new_library.patch from Kondara
  1085. -- Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
  1086. - First build for Vine2.1.5
  1087. -- Thu Apr 12 2001 Rex Dieter <rdieter@unl.edu> 2.3.0-0.6x.3
  1088. - redhat 6.x backport based on rawhide's qt-2.3.0-3
  1089. - remove -xft support (because we're using XFree-3)
  1090. * Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.3-0.cvs20020314.1
  1091. - Update to 3.0.3-pre, required for KDE3
  1092. - force -fPIC usage
  1093. - Remove conflict with qt2 < 2.3.2-1, the new qt2 2.3.1 is fixed and qt 2.3.2
  1094. is broken
  1095. - Ship the qmake config files (so qmake works for building any 3rd party stuff,
  1096. e.g. aethera)
  1097. * Wed Mar 6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-2
  1098. - Add some fixes from KDE's qt-copy CVS
  1099. - Pluginize image formats
  1100. * Mon Feb 25 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-1
  1101. - 3.0.2 final
  1102. * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.3
  1103. - Add GB18030 codec patch, #60034
  1104. - Force-build jpeg support, fixing #59775 and #59795
  1105. * Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.2
  1106. - Build with CUPS support
  1107. * Fri Jan 18 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.1
  1108. - Fix up /usr/bin/moc links, they should point to qt3
  1109. * Mon Jan 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020114.1
  1110. - Build styles directly into the main library for now, there's too much broken
  1111. code out there depending on this ATM.
  1112. * Wed Jan 9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020109.1
  1113. - Stop excluding alpha, gcc has been fixed
  1114. * Tue Jan 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020108.1
  1115. - Add fixes from CVS; this fixes the "Alt + F1, arrow up, arrow up doesn't work
  1116. in KDE" bug
  1117. * Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-2
  1118. - Fix up settings search path
  1119. - Add default qtrc allowing to use KDE 3.x Qt plugins
  1120. - Make sure QLibrary uses RTLD_GLOBAL when dlopen()ing libraries
  1121. * Thu Dec 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.0-1
  1122. - Work around gcc bug #57467
  1123. * Wed Dec 12 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1124. - 3.0.1 final
  1125. * Mon Dec 10 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-0.cvs20011210.1
  1126. - Update to current (needed by KDE 3.x)
  1127. - Rebuild with current libstdc++
  1128. - Temporarily disable building on alpha
  1129. - Fix build with PostgreSQL 7.2
  1130. * Mon Nov 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
  1131. - Fix up glweak
  1132. * Mon Nov 5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
  1133. - Give designer, uic, moc, etc. their real names - the qt2 versions
  1134. have been renamed in qt2-2.3.2-1.
  1135. Conflict with qt2 < 2.3.2-1.
  1136. * Thu Oct 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-3
  1137. - Add symlink /usr/lib/qt-3.0.0 -> /usr/lib/qt3 and set QTDIR to the
  1138. symlink, allowing to update to 3.0.1 without breaking rpath'ed binaries
  1139. * Tue Oct 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-1
  1140. - 3.0.0 final
  1141. - fix some minor specfile bugs
  1142. - Modularize some more (image format plugins)
  1143. - Build codecs
  1144. * Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta5.1
  1145. - beta5
  1146. - Share more code between qt-x11 and qt-embedded builds
  1147. * Wed Aug 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta4.1
  1148. - beta4
  1149. - build the Motif style directly into Qt rather than as a plugin - Qt should
  1150. always have at least one style...
  1151. - replace the designer3 symlink with a shell script that sets QTDIR correctly
  1152. before launching designer
  1153. - Add desktop file for designer
  1154. * Mon Aug 6 2001 Tim Powers <timp@redhat.com> 3.0.0-0.beta3.4
  1155. - explicitly include qm2ts, qmake, qtconfig in the devel package file list to avoid dangling symlinks
  1156. * Thu Aug 2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.3
  1157. - Try yet another workaround for buildsystem breakages
  1158. * Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1159. - Add another ugly workaround for build system problems, this should finally
  1160. get rid of the dangling symlinks
  1161. * Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.2
  1162. - Rephrase parts of the spec file, hopefully pleasing the build system
  1163. * Sun Jul 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.1
  1164. - beta3
  1165. - Fix dangling symlinks
  1166. * Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.2
  1167. - Fix up QSQL Postgres classes for Postgres 7.1.x
  1168. - Fix various bugs:
  1169. - QtMultilineEdit and QtTableView should actually compile
  1170. - Link libqsqlpsql with libpq
  1171. - Don't link the base library with libmysqlclient, linking the MySQL
  1172. module with it is sufficient
  1173. - Add missing const qualifier
  1174. - move the SQL drivers to separate packages to avoid dependencies
  1175. - build and install designer plugins - converting glade files to Qt is fun. ;)
  1176. - handle RPM_OPT_FLAGS
  1177. * Tue May 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.1
  1178. - 3.0 beta 1
  1179. * Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010516.1
  1180. - Update, remove conflicts with Qt 2.x
  1181. * Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010514.1
  1182. - Initial build of 3.0 branch
  1183. * Fri Apr 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-6
  1184. - Fix crashes on ia64, Patch from Bill Nottingham <notting@redhat.com>
  1185. - Allow building qt-nox
  1186. * Fri Apr 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-5
  1187. - Make sure uic and designer use the libqui from the source tree, not
  1188. a previously installed one.
  1189. Linking uic-x11 against libqui-embedded is definitely not a feature. ;)
  1190. - The qclipboard fix is needed for qt-x11 only, don't apply it if we're
  1191. building qt-embedded
  1192. * Sat Apr 14 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1193. - Handle LPRng specific constructs in printcap, Bug #35937
  1194. * Sun Mar 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  1195. - add qfont patch from Trolltech
  1196. * Tue Mar 13 2001 Harald Hoyer <harald@redhat.de>
  1197. - added patch for '@euro' language settings
  1198. * Tue Mar 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1199. - 2.3.0 final
  1200. - BuildRequires XFree86-devel >= 4.0.2 (#30486)
  1201. * Mon Feb 26 2001 Than Ngo <than@redhat.com>
  1202. - fix check_env function, so that qt does not crash if QT_XFT is not set
  1203. - fix symlinks
  1204. * Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1205. - 2.3.0b1
  1206. - Add a patch to qpsprinter that handles TrueType fonts even if they come from xfs
  1207. * Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
  1208. - japanese input and clipboard fixes applied. Changes have been sent upstream by patch authors.
  1209. * Fri Feb 9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1210. - Rebuild with new Mesa to get rid of pthreads linkage
  1211. - Add Xft fix from KDE CVS
  1212. * Wed Feb 7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1213. - Add printing bugfix patch from Trolltech
  1214. * Sat Feb 3 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1215. - 2.2.4
  1216. - Qt Embedded: Add QVfb and VNC support
  1217. * Tue Jan 16 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1218. - Don't segfault when running Qt/Embedded applications as root
  1219. - Improve the Qt/Embedded sparc patch so we don't need the specfile hacks
  1220. anymore
  1221. - Fix a bug in QPrintDialog (causing KDE Bug #18608)
  1222. * Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1223. - bzip2 source to save space
  1224. - Qt/Embedded 2.2.3
  1225. - Fix qte build on sparc
  1226. * Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1227. - Run ldconfig in %%post and %%postun for qt-Xt
  1228. * Sun Dec 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1229. - Build with the Xrender extension
  1230. (Patch from Keith Packard <keithp@keithp.com>)
  1231. * Wed Dec 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1232. - 2.2.3
  1233. * Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1234. - Rebuild to fix permissions on doc dir
  1235. - Don't exclude ia64 anymore
  1236. * Fri Nov 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1237. - Fix up uic (Patch from trolltech)
  1238. * Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1239. - Build qt-embedded
  1240. changes to base: fix build, fix ISO C99 compliance, fix 64bit support
  1241. * Mon Nov 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1242. - 2.2.2
  1243. * Tue Oct 24 2000 Than Ngo <than@redhat.com>
  1244. - call ldconfig for updating (Bug #19687)
  1245. - added patch from Trolltech, thanks to Rainer <rms@trolltech.com>
  1246. * Wed Oct 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1247. - Add missing msg2qm, msgmerge, qconfig tools (Bug #18997), introduced
  1248. by broken Makefiles in base
  1249. - fix up %%install so it works both with old-style and new-style fileutils
  1250. (fileutils <= 4.0z don't know about -L)
  1251. * Fri Oct 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1252. - Disable exception handling; this speeds up KDE 2.x and reduces its
  1253. memory footprint by 20 MB.
  1254. * Tue Oct 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1255. - dereference symlinks in include
  1256. * Sun Oct 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1257. - fix -devel
  1258. - update to the new version of 2.2.1 on trolltech.com; the initial tarball
  1259. contained broken docs
  1260. * Thu Oct 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1261. - 2.2.1
  1262. * Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1263. - Add missing uic
  1264. * Thu Sep 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1265. - Move Qt designer to a different source RPM to get rid of a
  1266. circular dependency (kdelibs2->qt, qt->kdelibs2)
  1267. - Enable MNG support
  1268. - Don't compile (just include) examples and tutorials
  1269. - move the static libraries to a separate package (qt-static).
  1270. They're HUGE, and most people won't ever need them.
  1271. - clean up spec file
  1272. - fix up dependencies (-devel requires base, -static requires devel,
  1273. Xt requires base)
  1274. - add BuildRequires line
  1275. * Tue Sep 12 2000 Than Ngo <than@redhat.com>
  1276. - update release 2.2.0
  1277. - changed copyright to GPL
  1278. - added missing static libraries
  1279. - made symbolic link for designer to load the help files correct
  1280. - made designer and designer-kde2 as sub packages
  1281. - added missing templates for designer
  1282. - remove jakub patch, since the release 2.2.0 already
  1283. contains this patch.
  1284. - fixed qt again to compile with gcc-2.96
  1285. - use make -j for building
  1286. * Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1287. - Work around compiler bugs (Patch from Jakub)
  1288. - Use relative symlinks (Bug #16750)
  1289. * Mon Aug 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1290. - beta2
  1291. * Mon Aug 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1292. - new qt-copy from KDE2 CVS
  1293. * Wed Aug 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1294. - official beta 1
  1295. * Thu Aug 3 2000 Than Ngo <than@redhat.de>
  1296. - rebuilt against the libpng-1.0.8
  1297. * Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1298. - rebuild (so we have it on all arches)
  1299. * Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1300. - move man pages to a more reasonable place (this fixes Bug #14126)
  1301. - exclude ia64 for now (compiler problems!!!)
  1302. * Mon Jul 24 2000 Harald Hoyer <harald@redhat.de>
  1303. - modified connect patch to fit qt 2.2.0 beta.
  1304. * Thu Jul 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1305. - update to current qt-copy; this is now a qt 2.2.0 beta.
  1306. * Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1307. - update to current qt-copy in kde CVS, required
  1308. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  1309. - automatic rebuild
  1310. * Sun Jul 11 2000 Harald Hoyer <harald@redhat.de>
  1311. - made patch smaller and binary compatible when recompiled with 6.2
  1312. - modified connect and moc to cope with the new g++ class layout
  1313. * Sun Jul 09 2000 Than Ngo <than@redhat.de>
  1314. - rebuilt qt with gcc-2.96-34
  1315. * Fri Jul 07 2000 Than Ngo <than@redhat.de>
  1316. - rebuilt qt with c++ 2.96
  1317. * Mon Jul 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1318. - Fix dependancies
  1319. * Sun Jul 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1320. - Use egcs++ for now ** FIXME
  1321. * Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
  1322. - fix up qt.sh
  1323. * Sun Jun 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1324. - Build in jpeg and threading support
  1325. - Fix a bug in clipboard pasting code
  1326. * Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
  1327. - fix qt.{sh,csh}
  1328. - use new rpm macro paths
  1329. - package man pages
  1330. * Fri Jun 2 2000 Bill Nottingham <notting@redhat.com>
  1331. - build without optimization on ia64
  1332. * Mon May 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1333. - 2.1.1
  1334. * Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  1335. - recompile with correct libstdc++
  1336. * Thu Apr 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1337. - 2.1.0 final
  1338. * Wed Apr 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1339. - beta4
  1340. - depend on libGL.so.1 rather than Mesa - XFree86 4.0 provides that
  1341. lib, too
  1342. * Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1343. - beta3
  1344. * Tue Mar 7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1345. - beta2
  1346. - fix compilation of the NSPlugin add-on
  1347. * Fri Mar 3 2000 Bill Nottingham <notting@redhat.com>
  1348. - fix %postun script
  1349. * Fri Feb 18 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
  1350. - beta1
  1351. - get rid of qt-ImageIO, the functionality is now in the main Qt library
  1352. - remove qt-Network, the functionality is now in the main Qt library
  1353. - add changes-2.1.0 to %doc
  1354. * Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
  1355. - no refcount check on postun script, we want it to happen even on upgrades
  1356. * Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1357. - new snapshot, should fix QWhatsThisButton
  1358. - remove executable permissions from *.pro files
  1359. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  1360. - strip binaries in examples, tutorial
  1361. * Mon Jan 31 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1362. - new snapshot - should fix the hotkey bug
  1363. - Fix up the Makefiles so it compiles
  1364. * Tue Jan 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1365. - new snapshot - we need those QVariant fixes
  1366. * Thu Jan 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1367. - switch from glxMesa to Mesa for the GL addon
  1368. * Wed Jan 5 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
  1369. - Fix up dependencies
  1370. - new snapshot
  1371. * Mon Jan 3 2000 Ngo Than <than@redhat.de>
  1372. - new snapshot for Red Hat Linux 6.2
  1373. - increase version number
  1374. * Mon Dec 20 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1375. - new snapshot
  1376. - handle RPM_OPT_FLAGS
  1377. * Mon Dec 13 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1378. - new snapshot
  1379. - -GL requires libGL.so.1 instead of Mesa (might as well be glxMesa
  1380. or some commercial OpenGL)
  1381. - -GL BuildPrereqs /usr/X11R6/include/GL/gl.h instead of Mesa-devel
  1382. (might as well be glxMesa or some commercial OpenGL)
  1383. * Sun Dec 05 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1384. - update to current RSYNC version
  1385. - remove compilation patch - it finally works out of the box
  1386. * Wed Oct 27 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1387. - update to current CVS snapshot
  1388. - build extensions
  1389. - add patch to fix QNetwork compilation
  1390. * Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.de>
  1391. - current CVS snapshot
  1392. - fix compilation with gcc 2.95.x
  1393. - use install -c rather than just install to make BSD install happy
  1394. * Mon Oct 11 1999 Bernhard Rosenkraenzer <bero@redhat.de>
  1395. - 2.1.0 snapshot (for KDE2)
  1396. - Fix typo in spec
  1397. * Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
  1398. - don't ship tutorial or example binaries
  1399. * Tue Sep 21 1999 Preston Brown <pbrown@redhat.com>
  1400. - substitution in tutorial and examples so that dependencies are correct and
  1401. they can be successfully rebuilt.
  1402. - switched to completely using QTDIR. trying to coexist with links into
  1403. /usr/{include,lib} and still compile with qt 1.x is very hard for
  1404. configure scripts to cope with.
  1405. * Thu Aug 19 1999 Preston Brown <pbrown@redhat.com>
  1406. - implemented QTDIR compatibility.
  1407. * Tue Jul 20 1999 Preston Brown <pbrown@redhat.com>
  1408. - qt 2.0.1 packaged.
  1409. * Wed Jul 14 1999 Preston Brown <pbrown@redhat.com>
  1410. - Qt 2.00 packaged.
  1411. - examples, html documentation, tutorial moved to /usr/doc
  1412. * Sat Apr 17 1999 Preston Brown <pbrown@redhat.com>
  1413. - static library supplied in dev package.
  1414. * Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
  1415. - turn on internal GIF reading support
  1416. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  1417. - strip binaries
  1418. * Mon Mar 15 1999 Preston Brown <pbrown@redhat.com>
  1419. - upgrade to qt 1.44.
  1420. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  1421. - Injected new description and group.
  1422. * Tue Jan 19 1999 Preston Brown <pbrown@redhat.com>
  1423. - moved includes to /usr/include/qt
  1424. * Mon Jan 04 1999 Preston Brown <pbrown@redhat.com>
  1425. - made setup phase silent.
  1426. * Fri Dec 04 1998 Preston Brown <pbrown@redhat.com>
  1427. - upgraded to qt 1.42, released today.
  1428. * Tue Dec 01 1998 Preston Brown <pbrown@redhat.com>
  1429. - took Arnts RPM and made some minor changes for Red Hat.