qt4-vl.spec 58 KB

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