qt4-vl.spec 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842
  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: 4%{?_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. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 4.7.2-4
  846. - rebuilt with postgresql-9.0.3
  847. * Mon Apr 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-3
  848. - rebuilt with unixODBC-2.2.14
  849. * Sat Apr 9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-2
  850. - added Patch 106, 301 and 302
  851. - fixed /etc/rpm/macros.qt4
  852. * Sun Mar 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  853. - new upstream release
  854. - updated Patch1022
  855. - added config, tools subpackage
  856. - added /etc/rpm/macros.qt4
  857. - updated %%post, %%posttrans and %%postun section
  858. * Sat Jan 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.1-1
  859. - new upstream release
  860. * Wed Jan 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.3-3
  861. - rebuild with openssl-1.0.0c
  862. - add BuildRequires: alsa-lib-devel
  863. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-2
  864. - rebuilt with rpm-4.8.1
  865. * Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-1
  866. - new upstream release
  867. - moved %{_bindir}/qdbus to main package
  868. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.6.1-5
  869. - rebuilt with gcc-4.4.3-3 on ppc
  870. * Fri Feb 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-4
  871. - rebuilt with new toolchains
  872. * Sun Jan 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3
  873. - added BR: desktop-file-utils
  874. * Sat Jan 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-2
  875. - fixed devel %%files (forgot removing documents...)
  876. * Thu Jan 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  877. - new upstream release
  878. - moved documents to doc sub-package
  879. - updated macros
  880. - installed translation to %%{_datadir}/qt4/translations now
  881. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.3-1
  882. - new upstream release
  883. - dropped Patch90 (merged into upstream)
  884. - updated Patches from Fedora
  885. - added sqlite subpackage
  886. * Wed Sep 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.5.2-2
  887. - added Patch90 for fix CVE-2009-2700
  888. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.2-1
  889. - new upstream release
  890. - updated qt-copy patches
  891. - added Qt.pc
  892. - added BuildRequires: WebKit-gtk-devel
  893. * Thu Jul 23 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.4.3-4
  894. - added compat32 package for x86_64 arch support
  895. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-3
  896. - changed qt4-designer Group to Applications/Development
  897. - updated URL
  898. - remove Requires: XOrg-libs, XOrg-gl
  899. * Wed Mar 24 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-2
  900. - update qt-copy patches
  901. * Mon Nov 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-1
  902. - new upstream release
  903. - update qt-copy patches
  904. * Tue Nov 11 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-2
  905. - update qt-copy patches
  906. * Mon Sep 22 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-1
  907. - new upstream release
  908. - update qt-copy patches
  909. * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.1-2
  910. - fixed symbolic-link path of %{_bindir}/* at %%install section (for lib64)
  911. * Mon Aug 4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.1-1
  912. - new upstream release
  913. - update qt-copy patches
  914. * Sun Jul 6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.0-1
  915. - new upstream release
  916. - update qt-copy patches
  917. - add -no-phonon
  918. * Mon Mar 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-1
  919. - fix release ([VineSeed:1527])
  920. - add BuildPrereq: gcc4 gcc4-c++ for Vine 4.x
  921. - add Requires(post,postun): alternatives to -devel and -designer package
  922. * Tue Mar 4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-0vl1
  923. - new upstream release
  924. - update qt-copy patches
  925. * Wed Feb 6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl2
  926. - update qt-copy patches
  927. * Thu Dec 6 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl1
  928. - new upstream release
  929. - update and re-number qt-copy patches
  930. - add BuildPrereq: glib2-devel
  931. - update URL
  932. * Fri Nov 2 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.2-0vl1
  933. - new upstream release
  934. - update qt-copy patches
  935. * Tue Sep 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl2
  936. - update qt-copy patches (CVE-2007-4137)
  937. * Wed Aug 15 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl1
  938. - new upstream release
  939. - update qt-copy patches
  940. * Thu Jun 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl1
  941. - new upstream release
  942. - add qt-copy patches
  943. * Wed May 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl0.20070423
  944. - new upstream release
  945. * Mon Mar 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.3-0vl1
  946. - new upstream release
  947. * Tue Oct 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.1-0vl1
  948. - new upstream release
  949. - add ld.so.conf.d and qt4.conf
  950. - BuildPrereq: dbus-devel >= 0.62
  951. * Fri Oct 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.0-0vl1
  952. - new upstream release
  953. - remove static package
  954. * Mon Sep 25 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1.4-0vl1
  955. - new upstream release
  956. - update %%fiels
  957. - remove Xt and styles package
  958. - add BuildPrereq: postgresql-libs MySQL-shared
  959. - remove all patches
  960. * Mon Sep 19 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl4
  961. - move %%{_libdir}/qt3 from develop to main
  962. - fix typo
  963. - add patch503
  964. -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm.1
  965. - import qt-x11-immodule-unified-quiet.patch (patch503) from FC
  966. - add patch500-502
  967. -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm
  968. - add immodule for Qt support (patch500-502)
  969. - patch500: revert some part of patch300,301 (conflict with patch501)
  970. - patch501: immodule for Qt patch
  971. - patch502: apply some part of patch300,301 again
  972. cf. http://immodule-qt.freedesktop.org/
  973. http://people.freedesktop.org/~daisuke/
  974. * Sun Sep 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.5-0vl3
  975. - added configure options for builing on 64-bit archs
  976. * Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl2
  977. - rebuild for VineSeed
  978. * Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl1
  979. - new upstream release
  980. - stop building nonthreaded libs
  981. - delete Obsoletes
  982. - add Patch0
  983. * Tue Jul 5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl6
  984. - rebuild for VineSeed
  985. * Tue Jul 5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl5
  986. - build for Vine3.1
  987. - add -v to configure option
  988. - move three static libs to main package
  989. * Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl4
  990. - rebuild for VineSeed
  991. * Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl3
  992. - (security) stop using rpath
  993. - cleanup this file
  994. * Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl2
  995. - rebuild for VineSeed
  996. * Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl1
  997. - new upstream release
  998. - update Patch400
  999. * Sat Dec 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl3
  1000. - rebuld
  1001. * Wed Nov 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl2
  1002. - add Obsoletes: qt32-*
  1003. * Sun Sep 5 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl1
  1004. - source upgrade
  1005. - remove patch100
  1006. - update patch300 and remove patch302-303
  1007. - update patch400
  1008. - update BuildPrereq and Requires
  1009. * Wed Jul 28 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
  1010. - add patch302-303 from KuserML
  1011. - delete lines about vine26
  1012. * Sun Jun 6 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  1013. - add patch100 from webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/patches/
  1014. * Fri Apr 30 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  1015. - source upgrade
  1016. - remove patch100 (it is needed only for 3.3.1)
  1017. * Sun Apr 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl3
  1018. - rebuild with XOrg
  1019. * Mon Mar 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl2
  1020. - rebuild
  1021. * Mon Mar 8 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  1022. - source upgrade
  1023. - remove patch800
  1024. - add patch100 (only for qt-x11-free-3.3.1)
  1025. * Sun Feb 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl3
  1026. - enable cups support
  1027. * Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
  1028. - build for VineSeed with new toolchain
  1029. - disable cup support
  1030. * Wed Dec 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
  1031. - source upgrade
  1032. - revised Patch402 and 403
  1033. - remove Patch100
  1034. - add patch800 to build against freetype2-2.1.7
  1035. - (VinePlus/2.6) BuildPrereq: autoconf258
  1036. * Sun Nov 9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  1037. - source upgrade
  1038. - revised Patch400
  1039. - remove Patch15
  1040. * Sun Nov 2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl4
  1041. - enable cups support
  1042. * Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl3
  1043. - rebuild for Vine2.6
  1044. * Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl3
  1045. - revised Patch400 and Patch402
  1046. - clean up spec
  1047. * Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl2
  1048. - rebuild for Vine2.6
  1049. * Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl2
  1050. - revised Patch400-
  1051. - clean up spec
  1052. * Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl1
  1053. - rebuild for Vine2.6
  1054. * Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  1055. - source upgrade
  1056. - add Patch100
  1057. - remove Patch302 (it is included in this source)
  1058. - stop using Patch400-
  1059. - build with gcc-3.2.3
  1060. - add export LANG=C
  1061. - add *.pc (pkg-config files) to qt-devel package
  1062. * Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl5
  1063. - rebuild for Vine2.6
  1064. * Wed Aug 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl5
  1065. - add Patch302 to fix performance of jmode
  1066. - change make option for SMP and add script
  1067. * Thu Jun 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl4
  1068. - update Patch400 and 401
  1069. * Wed Jun 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl3
  1070. - change spec to build with g++-2.95.3
  1071. * Mon Apr 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl2
  1072. - rebuild for Vine2.6
  1073. * Wed Apr 16 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.1.2-0vl2
  1074. - rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
  1075. * Fri Mar 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
  1076. - source upgrade
  1077. - remove all patches except patch15
  1078. - revised patch 300-
  1079. - stop building Xt package
  1080. * Mon Feb 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl3
  1081. - revised patch 301 and 302
  1082. - enable patch 301 and 302 to Vine2.5/2.6
  1083. * Sun Feb 9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl2
  1084. - change spec to build both VineSeed and Vine2.5/2.6
  1085. - re-number patch300-
  1086. - delete patch4 (qt-3.1.1 does not need it)
  1087. - add patch13 and 14
  1088. -- Thu Dec 19 2002 Than Ngo <than@redhat.com> 3.1.1-3
  1089. - add monospace patch file from Leon Ho (bug #79949)
  1090. - add small patch file from Sysoltsev Slawa (bug #79731)
  1091. - add patch15
  1092. -- Mon Dec 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  1093. - Change qmlined.h to not include an attic header that is also not shipped
  1094. with Red Hat Linux. This also fixes building unixODBC, that includes this
  1095. header (apparently also without needing it).
  1096. * Sat Jan 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
  1097. - source upgrade
  1098. - cleanup spec
  1099. - revised Patch7, 301
  1100. - add Patch306, 307, 308 from kde.gr.jp
  1101. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.0-0vl1
  1102. - source upgrade
  1103. - stop using objprelink2, it does not work with gcc3
  1104. - add Patch304 and Patch305 from www.kde.gr.jp/~akito/xft/patch_xft.html
  1105. - add Patch1 - Patch12 from rawhide 3.1.0-1.3
  1106. - add BuildPrereq: openMotif-devel >= 2.2.2 for build qt-Xt
  1107. - cleanup spec for build x11 package only
  1108. * Mon Nov 11 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl3
  1109. - add export PATH=`pwd`:$PATH to %build section
  1110. * Mon Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl2
  1111. - objprelink2 support only i386 (add %ifarch i386 ... again)
  1112. - delete BuildPrereq: libmng-static (it merged to libmng-devel)
  1113. - delete %doc ANNOUNCE
  1114. - Requires: XFree86-gl instead of Mesa
  1115. * Fri Oct 4 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl1
  1116. - add BuildPrereq: objprelink2 instead of BuildPrereq: objprelink
  1117. - add BuildPrereq: autoconf253 automake15
  1118. - delete Patch199 (objprelink2 do not need this patch)
  1119. - source upgrade
  1120. - revised all patches [Kdeveloper:02404]
  1121. - add man files to qt-devel sub-package
  1122. * Tue Jul 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl5
  1123. - add patch304 from kde.gr.jp [Kdeveloper:02368]
  1124. * Thu Jul 4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl4
  1125. - add patch303 from kde.gr.jp [Kdeveloper:02378]
  1126. * Wed Apr 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl3
  1127. - add patch302 from kde.gr.jp
  1128. * Thu Apr 4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl2
  1129. - revised patch300 from kde.gr.jp and XIMInputStyle=Over The Spot in qtrc
  1130. - add patch301 from kde.gr.jp
  1131. - make unixODBC plugin (delete define odbcplugins 0 and if %{odbcplugins})
  1132. * Sat Mar 30 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl1
  1133. - merged with rawhide 3.0.3-0.cvs20020314.1
  1134. - source update to 3.0.3
  1135. - add patch199 (objprelink)
  1136. - add patch300 and add defaultInputStyle=OverTheSpot in qtrc
  1137. - define cups 0 (Vine does not have cups)
  1138. - define odbcplugins 0 (unixODBC requires libqt-mt.so.2 of qt-2)
  1139. - cleanup spec
  1140. - There is Vine's previous changes, hacked for Vine
  1141. -- Sat Jan 5 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-6vl4
  1142. - rebuild with -xft support (XFree86-4.1.99.4)
  1143. -- Mon Dec 31 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl3
  1144. - rebuild with glibc-2.2.4
  1145. -- Sun Nov 25 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl2
  1146. - add Source2 and Patch4 (use objprelink, i386 only)
  1147. -- Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl1
  1148. - Build for VineSeed
  1149. - Add qt.using_new_library.patch from Kondara
  1150. -- Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
  1151. - First build for Vine2.1.5
  1152. -- Thu Apr 12 2001 Rex Dieter <rdieter@unl.edu> 2.3.0-0.6x.3
  1153. - redhat 6.x backport based on rawhide's qt-2.3.0-3
  1154. - remove -xft support (because we're using XFree-3)
  1155. * Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.3-0.cvs20020314.1
  1156. - Update to 3.0.3-pre, required for KDE3
  1157. - force -fPIC usage
  1158. - Remove conflict with qt2 < 2.3.2-1, the new qt2 2.3.1 is fixed and qt 2.3.2
  1159. is broken
  1160. - Ship the qmake config files (so qmake works for building any 3rd party stuff,
  1161. e.g. aethera)
  1162. * Wed Mar 6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-2
  1163. - Add some fixes from KDE's qt-copy CVS
  1164. - Pluginize image formats
  1165. * Mon Feb 25 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-1
  1166. - 3.0.2 final
  1167. * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.3
  1168. - Add GB18030 codec patch, #60034
  1169. - Force-build jpeg support, fixing #59775 and #59795
  1170. * Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.2
  1171. - Build with CUPS support
  1172. * Fri Jan 18 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.1
  1173. - Fix up /usr/bin/moc links, they should point to qt3
  1174. * Mon Jan 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020114.1
  1175. - Build styles directly into the main library for now, there's too much broken
  1176. code out there depending on this ATM.
  1177. * Wed Jan 9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020109.1
  1178. - Stop excluding alpha, gcc has been fixed
  1179. * Tue Jan 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020108.1
  1180. - Add fixes from CVS; this fixes the "Alt + F1, arrow up, arrow up doesn't work
  1181. in KDE" bug
  1182. * Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-2
  1183. - Fix up settings search path
  1184. - Add default qtrc allowing to use KDE 3.x Qt plugins
  1185. - Make sure QLibrary uses RTLD_GLOBAL when dlopen()ing libraries
  1186. * Thu Dec 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.0-1
  1187. - Work around gcc bug #57467
  1188. * Wed Dec 12 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1189. - 3.0.1 final
  1190. * Mon Dec 10 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-0.cvs20011210.1
  1191. - Update to current (needed by KDE 3.x)
  1192. - Rebuild with current libstdc++
  1193. - Temporarily disable building on alpha
  1194. - Fix build with PostgreSQL 7.2
  1195. * Mon Nov 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
  1196. - Fix up glweak
  1197. * Mon Nov 5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
  1198. - Give designer, uic, moc, etc. their real names - the qt2 versions
  1199. have been renamed in qt2-2.3.2-1.
  1200. Conflict with qt2 < 2.3.2-1.
  1201. * Thu Oct 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-3
  1202. - Add symlink /usr/lib/qt-3.0.0 -> /usr/lib/qt3 and set QTDIR to the
  1203. symlink, allowing to update to 3.0.1 without breaking rpath'ed binaries
  1204. * Tue Oct 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-1
  1205. - 3.0.0 final
  1206. - fix some minor specfile bugs
  1207. - Modularize some more (image format plugins)
  1208. - Build codecs
  1209. * Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta5.1
  1210. - beta5
  1211. - Share more code between qt-x11 and qt-embedded builds
  1212. * Wed Aug 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta4.1
  1213. - beta4
  1214. - build the Motif style directly into Qt rather than as a plugin - Qt should
  1215. always have at least one style...
  1216. - replace the designer3 symlink with a shell script that sets QTDIR correctly
  1217. before launching designer
  1218. - Add desktop file for designer
  1219. * Mon Aug 6 2001 Tim Powers <timp@redhat.com> 3.0.0-0.beta3.4
  1220. - explicitly include qm2ts, qmake, qtconfig in the devel package file list to avoid dangling symlinks
  1221. * Thu Aug 2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.3
  1222. - Try yet another workaround for buildsystem breakages
  1223. * Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1224. - Add another ugly workaround for build system problems, this should finally
  1225. get rid of the dangling symlinks
  1226. * Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.2
  1227. - Rephrase parts of the spec file, hopefully pleasing the build system
  1228. * Sun Jul 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.1
  1229. - beta3
  1230. - Fix dangling symlinks
  1231. * Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.2
  1232. - Fix up QSQL Postgres classes for Postgres 7.1.x
  1233. - Fix various bugs:
  1234. - QtMultilineEdit and QtTableView should actually compile
  1235. - Link libqsqlpsql with libpq
  1236. - Don't link the base library with libmysqlclient, linking the MySQL
  1237. module with it is sufficient
  1238. - Add missing const qualifier
  1239. - move the SQL drivers to separate packages to avoid dependencies
  1240. - build and install designer plugins - converting glade files to Qt is fun. ;)
  1241. - handle RPM_OPT_FLAGS
  1242. * Tue May 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.1
  1243. - 3.0 beta 1
  1244. * Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010516.1
  1245. - Update, remove conflicts with Qt 2.x
  1246. * Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010514.1
  1247. - Initial build of 3.0 branch
  1248. * Fri Apr 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-6
  1249. - Fix crashes on ia64, Patch from Bill Nottingham <notting@redhat.com>
  1250. - Allow building qt-nox
  1251. * Fri Apr 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-5
  1252. - Make sure uic and designer use the libqui from the source tree, not
  1253. a previously installed one.
  1254. Linking uic-x11 against libqui-embedded is definitely not a feature. ;)
  1255. - The qclipboard fix is needed for qt-x11 only, don't apply it if we're
  1256. building qt-embedded
  1257. * Sat Apr 14 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1258. - Handle LPRng specific constructs in printcap, Bug #35937
  1259. * Sun Mar 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  1260. - add qfont patch from Trolltech
  1261. * Tue Mar 13 2001 Harald Hoyer <harald@redhat.de>
  1262. - added patch for '@euro' language settings
  1263. * Tue Mar 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1264. - 2.3.0 final
  1265. - BuildRequires XFree86-devel >= 4.0.2 (#30486)
  1266. * Mon Feb 26 2001 Than Ngo <than@redhat.com>
  1267. - fix check_env function, so that qt does not crash if QT_XFT is not set
  1268. - fix symlinks
  1269. * Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1270. - 2.3.0b1
  1271. - Add a patch to qpsprinter that handles TrueType fonts even if they come from xfs
  1272. * Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
  1273. - japanese input and clipboard fixes applied. Changes have been sent upstream by patch authors.
  1274. * Fri Feb 9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1275. - Rebuild with new Mesa to get rid of pthreads linkage
  1276. - Add Xft fix from KDE CVS
  1277. * Wed Feb 7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1278. - Add printing bugfix patch from Trolltech
  1279. * Sat Feb 3 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1280. - 2.2.4
  1281. - Qt Embedded: Add QVfb and VNC support
  1282. * Tue Jan 16 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1283. - Don't segfault when running Qt/Embedded applications as root
  1284. - Improve the Qt/Embedded sparc patch so we don't need the specfile hacks
  1285. anymore
  1286. - Fix a bug in QPrintDialog (causing KDE Bug #18608)
  1287. * Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1288. - bzip2 source to save space
  1289. - Qt/Embedded 2.2.3
  1290. - Fix qte build on sparc
  1291. * Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1292. - Run ldconfig in %%post and %%postun for qt-Xt
  1293. * Sun Dec 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1294. - Build with the Xrender extension
  1295. (Patch from Keith Packard <keithp@keithp.com>)
  1296. * Wed Dec 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1297. - 2.2.3
  1298. * Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1299. - Rebuild to fix permissions on doc dir
  1300. - Don't exclude ia64 anymore
  1301. * Fri Nov 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1302. - Fix up uic (Patch from trolltech)
  1303. * Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1304. - Build qt-embedded
  1305. changes to base: fix build, fix ISO C99 compliance, fix 64bit support
  1306. * Mon Nov 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1307. - 2.2.2
  1308. * Tue Oct 24 2000 Than Ngo <than@redhat.com>
  1309. - call ldconfig for updating (Bug #19687)
  1310. - added patch from Trolltech, thanks to Rainer <rms@trolltech.com>
  1311. * Wed Oct 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1312. - Add missing msg2qm, msgmerge, qconfig tools (Bug #18997), introduced
  1313. by broken Makefiles in base
  1314. - fix up %%install so it works both with old-style and new-style fileutils
  1315. (fileutils <= 4.0z don't know about -L)
  1316. * Fri Oct 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1317. - Disable exception handling; this speeds up KDE 2.x and reduces its
  1318. memory footprint by 20 MB.
  1319. * Tue Oct 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1320. - dereference symlinks in include
  1321. * Sun Oct 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1322. - fix -devel
  1323. - update to the new version of 2.2.1 on trolltech.com; the initial tarball
  1324. contained broken docs
  1325. * Thu Oct 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1326. - 2.2.1
  1327. * Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1328. - Add missing uic
  1329. * Thu Sep 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1330. - Move Qt designer to a different source RPM to get rid of a
  1331. circular dependency (kdelibs2->qt, qt->kdelibs2)
  1332. - Enable MNG support
  1333. - Don't compile (just include) examples and tutorials
  1334. - move the static libraries to a separate package (qt-static).
  1335. They're HUGE, and most people won't ever need them.
  1336. - clean up spec file
  1337. - fix up dependencies (-devel requires base, -static requires devel,
  1338. Xt requires base)
  1339. - add BuildRequires line
  1340. * Tue Sep 12 2000 Than Ngo <than@redhat.com>
  1341. - update release 2.2.0
  1342. - changed copyright to GPL
  1343. - added missing static libraries
  1344. - made symbolic link for designer to load the help files correct
  1345. - made designer and designer-kde2 as sub packages
  1346. - added missing templates for designer
  1347. - remove jakub patch, since the release 2.2.0 already
  1348. contains this patch.
  1349. - fixed qt again to compile with gcc-2.96
  1350. - use make -j for building
  1351. * Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1352. - Work around compiler bugs (Patch from Jakub)
  1353. - Use relative symlinks (Bug #16750)
  1354. * Mon Aug 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1355. - beta2
  1356. * Mon Aug 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1357. - new qt-copy from KDE2 CVS
  1358. * Wed Aug 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1359. - official beta 1
  1360. * Thu Aug 3 2000 Than Ngo <than@redhat.de>
  1361. - rebuilt against the libpng-1.0.8
  1362. * Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1363. - rebuild (so we have it on all arches)
  1364. * Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1365. - move man pages to a more reasonable place (this fixes Bug #14126)
  1366. - exclude ia64 for now (compiler problems!!!)
  1367. * Mon Jul 24 2000 Harald Hoyer <harald@redhat.de>
  1368. - modified connect patch to fit qt 2.2.0 beta.
  1369. * Thu Jul 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1370. - update to current qt-copy; this is now a qt 2.2.0 beta.
  1371. * Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1372. - update to current qt-copy in kde CVS, required
  1373. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  1374. - automatic rebuild
  1375. * Sun Jul 11 2000 Harald Hoyer <harald@redhat.de>
  1376. - made patch smaller and binary compatible when recompiled with 6.2
  1377. - modified connect and moc to cope with the new g++ class layout
  1378. * Sun Jul 09 2000 Than Ngo <than@redhat.de>
  1379. - rebuilt qt with gcc-2.96-34
  1380. * Fri Jul 07 2000 Than Ngo <than@redhat.de>
  1381. - rebuilt qt with c++ 2.96
  1382. * Mon Jul 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1383. - Fix dependancies
  1384. * Sun Jul 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1385. - Use egcs++ for now ** FIXME
  1386. * Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
  1387. - fix up qt.sh
  1388. * Sun Jun 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1389. - Build in jpeg and threading support
  1390. - Fix a bug in clipboard pasting code
  1391. * Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
  1392. - fix qt.{sh,csh}
  1393. - use new rpm macro paths
  1394. - package man pages
  1395. * Fri Jun 2 2000 Bill Nottingham <notting@redhat.com>
  1396. - build without optimization on ia64
  1397. * Mon May 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1398. - 2.1.1
  1399. * Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  1400. - recompile with correct libstdc++
  1401. * Thu Apr 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1402. - 2.1.0 final
  1403. * Wed Apr 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1404. - beta4
  1405. - depend on libGL.so.1 rather than Mesa - XFree86 4.0 provides that
  1406. lib, too
  1407. * Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1408. - beta3
  1409. * Tue Mar 7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1410. - beta2
  1411. - fix compilation of the NSPlugin add-on
  1412. * Fri Mar 3 2000 Bill Nottingham <notting@redhat.com>
  1413. - fix %postun script
  1414. * Fri Feb 18 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
  1415. - beta1
  1416. - get rid of qt-ImageIO, the functionality is now in the main Qt library
  1417. - remove qt-Network, the functionality is now in the main Qt library
  1418. - add changes-2.1.0 to %doc
  1419. * Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
  1420. - no refcount check on postun script, we want it to happen even on upgrades
  1421. * Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1422. - new snapshot, should fix QWhatsThisButton
  1423. - remove executable permissions from *.pro files
  1424. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  1425. - strip binaries in examples, tutorial
  1426. * Mon Jan 31 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1427. - new snapshot - should fix the hotkey bug
  1428. - Fix up the Makefiles so it compiles
  1429. * Tue Jan 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1430. - new snapshot - we need those QVariant fixes
  1431. * Thu Jan 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1432. - switch from glxMesa to Mesa for the GL addon
  1433. * Wed Jan 5 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
  1434. - Fix up dependencies
  1435. - new snapshot
  1436. * Mon Jan 3 2000 Ngo Than <than@redhat.de>
  1437. - new snapshot for Red Hat Linux 6.2
  1438. - increase version number
  1439. * Mon Dec 20 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1440. - new snapshot
  1441. - handle RPM_OPT_FLAGS
  1442. * Mon Dec 13 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1443. - new snapshot
  1444. - -GL requires libGL.so.1 instead of Mesa (might as well be glxMesa
  1445. or some commercial OpenGL)
  1446. - -GL BuildPrereqs /usr/X11R6/include/GL/gl.h instead of Mesa-devel
  1447. (might as well be glxMesa or some commercial OpenGL)
  1448. * Sun Dec 05 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1449. - update to current RSYNC version
  1450. - remove compilation patch - it finally works out of the box
  1451. * Wed Oct 27 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  1452. - update to current CVS snapshot
  1453. - build extensions
  1454. - add patch to fix QNetwork compilation
  1455. * Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.de>
  1456. - current CVS snapshot
  1457. - fix compilation with gcc 2.95.x
  1458. - use install -c rather than just install to make BSD install happy
  1459. * Mon Oct 11 1999 Bernhard Rosenkraenzer <bero@redhat.de>
  1460. - 2.1.0 snapshot (for KDE2)
  1461. - Fix typo in spec
  1462. * Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
  1463. - don't ship tutorial or example binaries
  1464. * Tue Sep 21 1999 Preston Brown <pbrown@redhat.com>
  1465. - substitution in tutorial and examples so that dependencies are correct and
  1466. they can be successfully rebuilt.
  1467. - switched to completely using QTDIR. trying to coexist with links into
  1468. /usr/{include,lib} and still compile with qt 1.x is very hard for
  1469. configure scripts to cope with.
  1470. * Thu Aug 19 1999 Preston Brown <pbrown@redhat.com>
  1471. - implemented QTDIR compatibility.
  1472. * Tue Jul 20 1999 Preston Brown <pbrown@redhat.com>
  1473. - qt 2.0.1 packaged.
  1474. * Wed Jul 14 1999 Preston Brown <pbrown@redhat.com>
  1475. - Qt 2.00 packaged.
  1476. - examples, html documentation, tutorial moved to /usr/doc
  1477. * Sat Apr 17 1999 Preston Brown <pbrown@redhat.com>
  1478. - static library supplied in dev package.
  1479. * Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
  1480. - turn on internal GIF reading support
  1481. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  1482. - strip binaries
  1483. * Mon Mar 15 1999 Preston Brown <pbrown@redhat.com>
  1484. - upgrade to qt 1.44.
  1485. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  1486. - Injected new description and group.
  1487. * Tue Jan 19 1999 Preston Brown <pbrown@redhat.com>
  1488. - moved includes to /usr/include/qt
  1489. * Mon Jan 04 1999 Preston Brown <pbrown@redhat.com>
  1490. - made setup phase silent.
  1491. * Fri Dec 04 1998 Preston Brown <pbrown@redhat.com>
  1492. - upgraded to qt 1.42, released today.
  1493. * Tue Dec 01 1998 Preston Brown <pbrown@redhat.com>
  1494. - took Arnts RPM and made some minor changes for Red Hat.