qt4-vl.spec 57 KB

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