qt4-vl.spec 57 KB

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