qt4-vl.spec 58 KB

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