qt4-vl.spec 57 KB

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