qt4-vl.spec 58 KB

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