source: projects/specs/trunk/q/qt4/qt4-vl.spec @ 5394

Revision 5394, 62.0 KB checked in by Takemikaduchi, 12 years ago (diff)

slocate: fix BTS:1176
qt4: fix compat32-qt4-devel
others: create compat32 sub packages

Line 
1%define type everywhere-opensource-src
2%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
3
4# See http://bugzilla.redhat.com/223663
5%define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9
6
7Summary: Qt toolkit
8Summary(ja): Qt ツールキット
9Name: qt4
10Version: 4.8.0
11Release: 3%{?_dist_release}
12
13# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
14License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
15Group: System Environment/Libraries
16URL: http://qt.nokia.com/
17
18Source0: http://get.qt.nokia.com/qt/source/qt-%{type}-%{version}.tar.gz
19
20# default Qt config file
21Source4: Trolltech.conf
22# header file to workaround multilib issue
23Source5: qconfig-multilib.h
24
25# desktop files
26Source20: assistant.desktop.vine
27Source21: designer.desktop.vine
28Source22: linguist.desktop.vine
29Source23: qtdemo.desktop.vine
30Source24: qtconfig.desktop.vine
31
32# upstream qt4-logo, http://trolltech.com/images/products/qt/qt4-logo
33Source30: hi128-app-qt4-logo.png
34Source31: hi48-app-qt4-logo.png
35
36# set default QMAKE_CFLAGS_RELEASE
37Patch2: qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch
38
39# get rid of timestamp which causes multilib problem
40Patch4: qt-everywhere-opensource-src-4.7.0-beta1-uic_multilib.patch
41
42# enable ft lcdfilter
43Patch15: qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
44
45# may be upstreamable, not sure yet
46# workaround for gdal/grass crashers wrt glib_eventloop null deref's
47Patch23: qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
48
49# workaround for a MOC issue with Boost 1.48 headers (#756395)
50Patch24: qt-everywhere-opensource-src-4.8.0-rc1-moc-boost148.patch
51
52## upstreamable bits
53# fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations
54Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
55
56# fix invalid assumptions about mysql_config --libs
57# http://bugzilla.redhat.com/440673
58Patch54: qt-everywhere-opensource-src-4.7.0-beta2-mysql_config.patch
59
60# http://bugs.kde.org/show_bug.cgi?id=180051#c22
61Patch55: qt-everywhere-opensource-src-4.6.2-cups.patch
62
63# Fails to create debug build of Qt projects on mingw (rhbz#653674)
64Patch64: qt-everywhere-opensource-src-4.7.1-QTBUG-14467.patch
65
66# fix QTreeView crash triggered by KPackageKit (patch by David Faure)
67Patch65: qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch
68
69# fix the outdated standalone copy of JavaScriptCore
70Patch67: qt-everywhere-opensource-src-4.8.0-beta1-s390.patch
71
72# https://bugs.webkit.org/show_bug.cgi?id=63941
73# -Wall + -Werror = fail
74Patch68: webkit-qtwebkit-2.2-no_Werror.patch
75
76# revert qlist.h commit that seems to induce crashes in qDeleteAll<QList (QTBUG-22037)
77Patch69: qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
78
79# Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724)
80Patch70: qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch
81
82# Buttons in Qt applications not clickable when run under gnome-shell (#742658, QTBUG-21900)
83Patch71:  qt-everywhere-opensource-src-4.8.0-QTBUG-21900.patch
84
85# restore Qt-4.7 behavior (which kde needs) to QUrl.toLocalfile
86# https://bugzilla.redhat.com/show_bug.cgi?id=749213
87Patch72: qt-everywhere-opensource-src-4.8.0-QUrl_toLocalFile.patch
88
89# QtWebKit wtf library: GMutex is a union rather than a struct in GLib >= 2.31
90# fixes FTBFS: https://bugs.webkit.org/show_bug.cgi?id=69840
91Patch73: qt-everywhere-opensource-src-4.8.0-qtwebkit-glib231.patch
92
93# workaround
94# sql/drivers/tds/qsql_tds.cpp:341:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
95Patch74: qt-everywhere-opensource-src-4.7.4-tds_no_strict_aliasing.patch
96
97# workaround crash on ppc64
98Patch75: qt-ppc64-crash.patch
99
100# add missing method for QBasicAtomicPointer on s390(x)
101Patch76: qt-everywhere-opensource-src-4.8.0-s390-atomic.patch
102
103# don't spam if libicu is not present at runtime
104Patch77:  qt-everywhere-opensource-src-4.8.0-icu_no_spam.patch
105
106# avoid dropping events, which lead to "ghost entries in kde task manager" problem
107# https://bugs.kde.org/show_bug.cgi?id=275469
108Patch78: qt-everywhere-opensource-src-4.8.0-filter_event.patch
109
110# fix qvfb build
111Patch79: qt-everywhere-opensource-src-4.8.0-qvfb.patch
112
113# upstream patches
114
115# security patches
116
117# Vine Patches
118# use system ca-bundle certs, http://bugzilla.redhat.com/521911
119Patch1001: qt-everywhere-opensource-src-4.8.0-system_ca_certificates_vine.patch
120
121## optional plugin bits
122# set to -no-sql-<driver> to disable
123# set to -qt-sql-<driver> to enable *in* qt library
124%define ibase -no-sql-ibase
125%define mysql -plugin-sql-mysql
126%define odbc -plugin-sql-odbc
127%define psql -plugin-sql-psql
128%define sqlite -plugin-sql-sqlite
129%define tds -no-sql-tds
130
131%define phonon -phonon
132%define phonon_backend -phonon-backend
133%define dbus -dbus-linked
134%define graphicssystem -graphicssystem raster
135# FIXME/TODO: use system webkit for assistant, examples/webkit, demos/browser
136%define webkit -webkit
137%define noopt -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon
138
139# See http://bugzilla.redhat.com/196901
140%define _qt4 %{name}
141%define _qt4_prefix %{_libdir}/qt4
142%define _qt4_bindir %{_qt4_prefix}/bin
143# _qt4_datadir is not multilib clean, and hacks to workaround that breaks stuff.
144#define _qt4_datadir %{_datadir}/qt4
145%define _qt4_datadir %{_qt4_prefix}
146%define _qt4_demosdir %{_qt4_prefix}/demos
147%define _qt4_docdir %{_docdir}/qt4
148%define _qt4_examplesdir %{_qt4_prefix}/examples
149%define _qt4_headerdir %{_includedir}
150%define _qt4_importdir %{_qt4_prefix}/imports
151%define _qt4_libdir %{_libdir}
152%define _qt4_plugindir %{_qt4_prefix}/plugins
153%define _qt4_sysconfdir %{_sysconfdir}
154%define _qt4_translationdir %{_datadir}/qt4/translations
155
156BuildRoot: %{_tmppath}/%{name}-%{version}-root
157BuildRequires: alsa-lib-devel
158BuildRequires: cups-devel >= 1.1.9
159BuildRequires: dbus-devel >= 0.62
160BuildRequires: desktop-file-utils
161BuildRequires: findutils
162BuildRequires: fontconfig-devel
163BuildRequires: glib2-devel
164BuildRequires: gtk2-devel
165BuildRequires: libicu-devel
166BuildRequires: libjpeg-devel
167BuildRequires: libmng-devel
168BuildRequires: libpng-devel >= 1.2.5
169BuildRequires: libtiff-devel
170BuildRequires: NetworkManager-devel
171BuildRequires: openssl-devel
172BuildRequires: pkgconfig
173BuildRequires: pulseaudio-libs-devel
174BuildRequires: rsync
175BuildRequires: zlib-devel
176
177# X11 dependencies
178%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 libXtst-devel libXv-devel libX11-devel xorg-x11-proto-devel libGL-devel libGLU-devel
179BuildRequires: %{x_deps}
180
181%if "%{?ibase}" != "-no-sql-ibase"
182BuildRequires: firebird-devel
183%endif
184
185%if "%{?mysql}" != "-no-sql-mysql"
186BuildRequires: MySQL-devel >= 4.0
187%endif
188
189%if "%{?phonon_backend}" == "-phonon-backend"
190BuildRequires: gstreamer-devel >= 0.10
191BuildRequires: gstreamer-plugins-base-devel >= 0.10
192%endif
193
194%if "%{?psql}" != "-no-sql-psql"
195BuildRequires: postgresql-devel
196BuildRequires: krb5-devel libxslt-devel pam-devel
197BuildRequires: readline-devel
198%endif
199
200%if "%{?odbc}" != "-no-sql-odbc"
201BuildRequires: unixODBC-devel
202%endif
203
204%if "%{?sqlite}" != "-no-sql-sqlite"
205%define _system_sqlite -system-sqlite
206BuildRequires: sqlite3-devel
207%endif
208
209
210Obsoletes: qt4-sqlite < 4.7.3
211Provides:  qt4-sqlite = %{version}-%{release}
212
213Obsoletes: qgtkstyle < 0.1
214Provides:  qgtkstyle = 0.1-1
215
216Provides:  WebKit-qt
217
218Vendor: Project Vine
219Distribution: Vine Linux
220
221%description
222Qt is a GUI software toolkit which simplifies the task of writing and
223maintaining GUI (Graphical User Interface) applications
224for the X Window System.
225
226Qt is written in C++ and is fully object-oriented.
227
228This package contains the shared library needed to run qt
229applications, as well as the README files for qt.
230
231
232%package config
233Summary: Graphical configuration tool for programs using Qt 4
234Group: User Interface/Desktops
235Requires: %{name} = %{version}-%{release}
236Requires(post): alternatives
237Requires(postun): alternatives
238
239%description config
240%{summary}.
241
242
243%package designer
244Summary: Interface designer (IDE) for the Qt toolkit
245Summary(ja): Qt ツールキットのインターフェースデザイナ
246Group: Applications/Development
247Requires: %{name}-devel = %{version}-%{release}
248Requires(post): alternatives
249Requires(postun): alternatives
250
251%description designer
252The qt-designer package contains an User Interface designer tool
253for the Qt toolkit.
254
255
256%package devel
257Summary: Development files for the Qt GUI toolkit.
258Summary(ja): Qt ツールキットの開発用ファイル
259Group: Development/Libraries
260Requires: %{name} = %{version}-%{release}
261Requires: %{x_deps}
262Requires: libpng-devel
263Requires: libjpeg-devel
264Requires: pkgconfig
265Requires(post): alternatives
266Requires(postun): alternatives
267Provides:  WebKit-qt-devel
268
269%description devel
270This package contains the files necessary to develop
271applications using the Qt toolkit.
272
273# make a devel private subpkg or not?
274%define private 0
275%package devel-private
276Summary: Private headers for Qt toolkit
277Group: Development/Libraries
278BuildArch: noarch
279Requires: %{name}-devel = %{version}-%{release}
280Provides: qt-devel-private = %{version}-%{release}
281
282%description devel-private
283%{summary}.
284
285%package doc
286Summary: API documentation for Qt4
287Summary(ja): Qt4 の API ドキュメント
288Group: Documentation
289Requires: %{name} = %{version}-%{release}
290
291%description doc
292%{summary}.
293
294%description doc -l ja
295Qt4 の API ドキュメントです.
296
297
298%package tools
299Summary: Qt 4 development tools
300Summary(ja): Qt 4 開発ツール集
301Group: Development/Tools
302Requires: %{name}-devel  = %{version}-%{release}
303Requires: %{name}-sqlite = %{version}-%{release}
304Requires(post): alternatives
305Requires(postun): alternatives
306
307%description tools
308This package contains tools used to assist in Qt 4 development.
309
310
311%define qvfb 0
312%package qvfb
313Summary: Virtual frame buffer for Qt for Embedded Linux
314Group: Applications/Emulators
315Requires: %{name} = %{version}-%{release}
316
317%description qvfb
318%{summary}.
319
320%package ibase
321Summary: IBase driver for Qt's SQL classes
322Group:  System Environment/Libraries
323Requires: %{name} = %{version}-%{release}
324Provides: qt-ibase = %{version}-%{release}
325
326%description ibase
327IBase driver for Qt's SQL classes (QSQL)
328
329%package MySQL
330Summary: MySQL drivers for Qt's SQL classes.
331Group: System Environment/Libraries
332Requires: %{name} = %{version}-%{release}
333Provides:  qt4-mysql = %{version}-%{release}
334
335%description MySQL
336MySQL driver for Qt's SQL classes (QSQL)
337
338%package ODBC
339Summary: ODBC drivers for Qt's SQL classes.
340Group: System Environment/Libraries
341Requires: %{name} = %{version}-%{release}
342Provides:  qt4-odbc = %{version}-%{release}
343
344%description ODBC
345ODBC driver for Qt's SQL classes (QSQL)
346
347%package PostgreSQL
348Summary: PostgreSQL drivers for Qt's SQL classes.
349Group: System Environment/Libraries
350Requires: %{name} = %{version}-%{release}
351Provides: qt4-postgresql = %{version}-%{release}
352
353%description PostgreSQL
354PostgreSQL driver for Qt's SQL classes (QSQL)
355
356%package tds
357Summary: TDS driver for Qt's SQL classes
358Group: System Environment/Libraries
359Requires: %{name} = %{version}-%{release}
360Provides: qt-tds = %{version}-%{release}
361
362%description tds
363TDS driver for Qt's SQL classes (QSQL)
364
365# compat32
366%package -n compat32-%{name}
367Summary: Qt toolkit
368Summary(ja): Qt ツールキット
369Group: System Environment/Libraries
370Requires: %{name} = %{version}-%{release}
371
372%description -n compat32-%{name}
373Qt is a GUI software toolkit which simplifies the task of writing and
374maintaining GUI (Graphical User Interface) applications
375for the X Window System.
376
377Qt is written in C++ and is fully object-oriented.
378
379This package contains the shared library needed to run qt
380applications, as well as the README files for qt.
381
382%package -n compat32-%{name}-devel
383Summary: Development files and documentation for the Qt GUI toolkit.
384Summary(ja): Qt ツールキットの開発用ファイル
385Group: Development/Libraries
386Requires: %{name}-devel = %{version}-%{release}
387Requires: compat32-%{name} = %{version}-%{release}
388
389%description -n compat32-%{name}-devel
390This package contains the files necessary to develop
391applications using the Qt toolkit.
392
393
394%prep
395%setup -q -n qt-everywhere-opensource-src-%{version}
396
397%patch2 -p1 -b .multilib-optflags
398# drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463
399rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags
400%patch4 -p1 -b .uic_multilib
401%patch15 -p1 -b .enable_ft_lcdfilter
402%patch23 -p1 -b .glib_eventloop_nullcheck
403%patch24 -p1 -b .moc-boost148
404## TODO: still worth carrying?  if so, upstream it.
405%patch53 -p1 -b .qatomic-inline-asm
406## TODO: upstream me
407%patch54 -p1 -b .mysql_config
408%patch55 -p1 -b .cups-1
409%patch64 -p1 -b .QTBUG-14467
410%patch65 -p1 -b .qtreeview-kpackagekit-crash
411%patch67 -p1 -b .s390
412pushd src/3rdparty/webkit
413%patch68 -p1 -b .no_Werror
414popd
415%patch69 -p1 -b .QTBUG-22037
416%patch70 -p1 -b .QTBUG-14724
417%patch71 -p1 -b .QTBUG-21900
418%patch72 -p1 -b .QUrl_toLocalFile
419# This quick fix works ONLY with GLib >= 2.31. It's harder to fix this portably.
420# See https://bugs.webkit.org/show_bug.cgi?id=69840 for the gory details.
421#patch73 -p1 -b .qtwebkit-glib231
422%patch74 -p1 -b .tds_no_strict_aliasing
423%patch75 -p1 -b .ppc64-crash
424%patch76 -p1 -b .s390-atomic
425%patch77 -p1 -b .icu_no_spam
426%patch78 -p1 -b .filter_events
427%patch79 -p1 -b .qvfb
428
429# upstream patches
430
431# security fixes
432
433# Patches for Vine
434%patch1001 -p1 -b .system_ca_certificates
435
436# drop -fexceptions from $RPM_OPT_FLAGS
437RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
438
439%define platform linux-g++
440
441# some 64bit platforms assume -64 suffix, https://bugzilla.redhat.com/569542
442%if "%{?__isa_bits}"  == "64"
443%define platform linux-g++-64
444%endif
445
446# https://bugzilla.redhat.com/478481
447%ifarch x86_64
448%define platform linux-g++
449%endif
450
451sed -i \
452  -e "s|-O2|$RPM_OPT_FLAGS|g" \
453  -e "s|g++.conf|g++-multilib.conf|g" \
454  mkspecs/%{platform}/qmake.conf
455
456# undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
457sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP             =|" mkspecs/common/linux.conf
458
459# set correct lib path
460if [ "%{_lib}" == "lib64" ] ; then
461  sed -i -e "s,/usr/lib /lib,/usr/%{_lib} /%{_lib},g" config.tests/{unix,x11}/*.test
462  sed -i -e "s,/lib /usr/lib,/%{_lib} /usr/%{_lib},g" config.tests/{unix,x11}/*.test
463fi
464
465# let makefile create missing .qm files, the .qm files should be included in qt upstream
466for f in translations/*.ts ; do
467  touch ${f%.ts}.qm
468done
469
470# desktop menu
471sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE20} > assistant.desktop
472sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE21} > designer.desktop
473sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE22} > linguist.desktop
474sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE23} > qtdemo.desktop
475sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE24} > qtconfig.desktop
476
477%build
478# build shared, threaded (default) libraries
479./configure -v \
480    -confirm-license \
481    -opensource \
482    -optimized-qmake \
483    -prefix %{_qt4_prefix} \
484    -bindir %{_qt4_bindir} \
485    -datadir %{_qt4_datadir} \
486    -demosdir %{_qt4_demosdir} \
487    -docdir %{_qt4_docdir} \
488    -examplesdir %{_qt4_examplesdir} \
489    -headerdir %{_qt4_headerdir} \
490    -importdir %{_qt4_importdir} \
491    -libdir %{_qt4_libdir} \
492    -plugindir %{_qt4_plugindir} \
493    -sysconfdir %{_qt4_sysconfdir} \
494    -translationdir %{_qt4_translationdir} \
495    -platform %{platform} \
496    -release \
497    -shared \
498    -cups \
499    -fontconfig \
500    -largefile \
501    -gtkstyle \
502    -no-rpath \
503    -reduce-relocations \
504    -no-separate-debug-info \
505    %{?phonon} %{!?phonon:-no-phonon} \
506    %{?phonon_backend} \
507    %{?no_pch} \
508    %{?no_javascript_jit} \
509    -sm \
510    -stl \
511    -system-libmng \
512    -system-libpng \
513    -system-libjpeg \
514    -system-libtiff \
515    -system-zlib \
516    -xinput \
517    -xcursor \
518    -xfixes \
519    -xinerama \
520    -xshape \
521    -xrandr \
522    -xrender \
523    -xkb \
524    -glib \
525    -icu \
526    -openssl-linked \
527    -xmlpatterns \
528    %{?dbus} %{!?dbus:-no-dbus} \
529    %{?graphicssystem} \
530    %{?webkit} %{!?webkit:-no-webkit } \
531    %{?ibase} \
532    %{?mysql} \
533    %{?psql} \
534    %{?odbc} \
535    %{?sqlite} %{?_system_sqlite} \
536    %{?tds} \
537    -no-nas-sound \
538    %{?noopt} \
539    -nomake demos \
540    -nomake examples
541
542#  -plugin-sql-mysql -I/usr/include/mysql \
543#  -plugin-sql-psql -I/usr/include/pgsql \
544
545make %{?_smp_mflags}
546
547# TODO: consider patching tools/tools.pro to enable building this by default
548%{?qvfb:make %{?_smp_mflags} -C tools/qvfb}
549
550# recreate .qm files
551LD_LIBRARY_PATH=`pwd`/lib bin/lrelease translations/*.ts
552
553%install
554rm -rf $RPM_BUILD_ROOT
555
556make install INSTALL_ROOT=$RPM_BUILD_ROOT
557
558%if 0%{?qvfb}
559make install INSTALL_ROOT=$RPM_BUILD_ROOT -C tools/qvfb
560%find_lang qvfb --with-qt --without-mo
561%else
562rm -f $RPM_BUILD_ROOT%{_qt4_translationdir}/qvfb*.qm
563%endif
564
565%if 0%{?private}
566# install private headers
567# using rsync -R as easy way to preserve relative path names
568# we're cheating and using %%_prefix (/usr) directly here
569rsync -aR \
570    include/Qt{Core,Declarative,Gui,Script}/private \
571    src/{corelib,declarative,gui,script}/*/*_p.h \
572    $RPM_BUILD_ROOT%{_prefix}/
573%endif
574
575#ln -s qt-%{version} $RPM_BUILD_ROOT%{_libdir}/qt4
576
577# Add desktop file(s)
578mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
579desktop-file-install \
580    --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
581    --vendor="" \
582    assistant.desktop designer.desktop linguist.desktop qtconfig.desktop
583
584## pkg-config
585# strip extraneous dirs/libraries
586# safe ones
587glib2_libs=$(pkg-config --libs glib-2.0 gobject-2.0 gthread-2.0)
588ssl_libs=$(pkg-config --libs openssl)
589for dep in \
590  -laudio -ldbus-1 -lfreetype -lfontconfig ${glib2_libs} \
591  -ljpeg -lm -lmng -lpng -lpulse -lpulse-mainloop-glib ${ssl_libs} -lsqlite3 -lz \
592  -L/usr/X11R6/lib -L/usr/X11R6/%{_lib} -L%{_libdir} ; do
593  sed -i -e "s|$dep ||g" $RPM_BUILD_ROOT%{_qt4_libdir}/lib*.la
594#  sed -i -e "s|$dep ||g" $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc
595  sed -i -e "s|$dep ||g" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
596done
597# riskier
598for dep in -ldl -lphonon -lpthread -lICE -lSM -lX11 -lXcursor -lXext -lXfixes -lXft -lXinerama -lXi -lXrandr -lXrender -lXt ; do
599  sed -i -e "s|$dep ||g" $RPM_BUILD_ROOT%{_qt4_libdir}/lib*.la
600#  sed -i -e "s|$dep ||g" $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc
601  sed -i -e "s|$dep ||g" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
602done
603
604# nuke dangling reference(s) to $RPM_BUILD_ROOT
605sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
606sed -i -e "s|-L%{_builddir}/qt-everywhere-opensource-src-%{version}/lib||g" \
607  $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc \
608  $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
609
610# .la files, die, die, die.
611rm -f $RPM_BUILD_ROOT%{_qt4_libdir}/lib*.la
612
613# let rpm handle binaries conflicts
614mkdir -p $RPM_BUILD_ROOT%{_bindir}
615for i in $RPM_BUILD_ROOT%{_qt4_bindir}/*; do
616    ln -s ../%{_lib}/qt4/bin/`basename $i` $RPM_BUILD_ROOT/%{_bindir}
617done
618
619%ifarch %{multilib_archs}
620# multilib: qconfig.h
621  mv $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-%{_arch}.h
622  install -p -m644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-multilib.h
623  ln -sf qconfig-multilib.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig.h
624  ln -sf ../QtCore/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h
625%endif
626
627%if "%{_qt4_libdir}" != "%{_libdir}"
628    mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
629    echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4.conf
630%if %{build_compat32}
631    echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4-i386.conf
632%endif
633%endif
634
635# Trolltech.conf
636install -p -m644 -D %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/Trolltech.conf
637
638mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64,128x128}/apps
639# qt4-logo (generic) icons
640install -p -m644 -D %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/qt4-logo.png
641install -p -m644 -D %{SOURCE31} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/qt4-logo.png
642
643# assistant icons
644install -p -m644 -D tools/assistant/tools/assistant/images/assistant.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/assistant.png
645install -p -m644 -D tools/assistant/tools/assistant/images/assistant-128.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/assistant.png
646# designer icons
647install -p -m644 -D tools/designer/src/designer/images/designer.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/designer.png
648# linguist icons
649for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
650    size=$(echo $(basename ${icon}) | cut -d- -f2)
651    install -p -m644 -D ${icon} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist4.png
652done
653
654# Qt.pc
655cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/Qt.pc << EOF
656prefix=%{_qt4_prefix}
657bindir=%{_qt4_bindir}
658datadir=%{_qt4_datadir}
659demosdir=%{_qt4_demosdir}
660docdir=%{_qt4_docdir}
661examplesdir=%{_qt4_examplesdir}
662headerdir=%{_qt4_headerdir}
663importdir=%{_qt4_importdir}
664libdir=%{_qt4_libdir}
665moc=%{_qt4_bindir}/moc
666plugindir=%{_qt4_plugindir}
667qmake=%{_qt4_bindir}/qmake
668sysconfdir=%{_qt4_sysconfdir}
669translationdir=%{_qt4_translationdir}
670
671Name: Qt
672Description: Qt Configuration
673Version: %{version}
674EOF
675
676# rpm macros
677mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
678cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.qt4 << EOF
679%%_qt4 %{name}
680%%_qt48 %{version}
681%%_qt4_version %{version}
682%%_qt4_prefix %%{_libdir}/qt4
683%%_qt4_bindir %%{_qt4_prefix}/bin
684%%_qt4_datadir %%{_qt4_prefix}
685%%_qt4_demosdir %%{_qt4_prefix}/demos
686%%_qt4_docdir %%{_docdir}/qt4
687%%_qt4_examples %%{_qt4_prefix}/examples
688%%_qt4_headerdir %%{_includedir}
689%%_qt4_importdir %%{_qt4_prefix}/imports
690%%_qt4_libdir %%{_libdir}
691%%_qt4_plugindir %%{_qt4_prefix}/plugins
692%%_qt4_qmake %%{_qt4_bindir}/qmake
693%%_qt4_sysconfdir %%{_sysconfdir}
694%%_qt4_translationdir %%{_datadir}/qt4/translations
695EOF
696
697# create/own stuff under %%_qt4_plugindir
698mkdir $RPM_BUILD_ROOT%{_qt4_plugindir}/crypto
699mkdir $RPM_BUILD_ROOT%{_qt4_plugindir}/gui_platform
700mkdir $RPM_BUILD_ROOT%{_qt4_plugindir}/styles
701
702## nuke bundled phonon bits
703rm -fv  $RPM_BUILD_ROOT%{_qt4_libdir}/libphonon.so*
704rm -rfv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/phonon.pc
705# contents slightly different between phonon-4.3.1 and qt-4.5.0
706rm -fv  $RPM_BUILD_ROOT%{_includedir}/phonon/phononnamespace.h
707# contents dup'd but should remove just in case
708rm -fv  $RPM_BUILD_ROOT%{_includedir}/phonon/*.h
709rm -rfv $RPM_BUILD_ROOT%{_qt4_headerdir}/phonon*
710rm -fv $RPM_BUILD_ROOT%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
711rm -fv $RPM_BUILD_ROOT%{_qt4_plugindir}/designer/libphononwidgets.so
712# backend
713rm -fv $RPM_BUILD_ROOT%{_qt4_plugindir}/phonon_backend/*_gstreamer.so
714rm -fv $RPM_BUILD_ROOT%{_datadir}/kde4/services/phononbackends/gstreamer.desktop
715# nuke bundled webkit bits
716#rm -fv $RPM_BUILD_ROOT%{_qt4_datadir}/mkspecs/modules/qt_webkit_version.pri
717#rm -fv $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qgraphicswebview.h
718#rm -fv $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qweb*.h
719#rm -frv $RPM_BUILD_ROOT%{_qt4_headerdir}/QtWebKit/
720#rm -frv $RPM_BUILD_ROOT%{_qt4_importdir}/QtWebKit/
721#rm -fv $RPM_BUILD_ROOT%{_qt4_libdir}/libQtWebKit.*
722#rm -fv $RPM_BUILD_ROOT%{_qt4_plugindir}/designer/libqwebview.so
723#rm -fv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/QtWebKit.pc
724rm -frv $RPM_BUILD_ROOT%{_qt4_prefix}/tests/
725
726# delete files to use alternatives
727rm -f $RPM_BUILD_ROOT%{_bindir}/assistant
728rm -f $RPM_BUILD_ROOT%{_bindir}/designer
729rm -f $RPM_BUILD_ROOT%{_bindir}/linguist
730rm -f $RPM_BUILD_ROOT%{_bindir}/lrelease
731rm -f $RPM_BUILD_ROOT%{_bindir}/lupdate
732rm -f $RPM_BUILD_ROOT%{_bindir}/moc
733rm -f $RPM_BUILD_ROOT%{_bindir}/qmake
734rm -f $RPM_BUILD_ROOT%{_bindir}/qtconfig
735rm -f $RPM_BUILD_ROOT%{_bindir}/uic
736
737%clean
738rm -rf $RPM_BUILD_ROOT
739
740# If %{_libdir}/qt4 is symbolic link, remove it
741# Is this safe?
742%pre
743if [ $1 -eq 2 -a -L %{_libdir}/qt4 ] ; then
744    rm -f %{_libdir}/qt4 &> /dev/null ||:
745fi
746
747%post
748/sbin/ldconfig
749touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
750
751%posttrans
752gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
753
754%postun
755/sbin/ldconfig
756if [ $1 -eq 0 ] ; then
757    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
758    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
759fi
760
761# config
762%post config
763/sbin/update-alternatives --install \
764    %{_bindir}/qtconfig qtconfig %{_qt4_bindir}/qtconfig 20
765
766%posttrans config
767# fix broken symlink if it's there
768if [ ! -f %{_bindir}/qtconfig ] ; then
769    /sbin/update-alternatives --auto qtconfig
770fi
771
772%postun config
773if [ $1 -eq 0 ] ; then
774    /sbin/update-alternatives --remove qtconfig %{_qt4_bindir}/qtconfig
775    /sbin/update-alternatives --auto qtconfig
776fi
777
778# designer
779%post designer
780touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
781/sbin/update-alternatives --install \
782    %{_bindir}/designer designer %{_qt4_bindir}/designer 20
783
784%posttrans designer
785gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
786# fix broken symlink if it's there
787if [ ! -f %{_bindir}/designer ] ; then
788    /sbin/update-alternatives --auto designer
789fi
790
791%postun designer
792if [ $1 -eq 0 ] ; then
793    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
794    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
795    /sbin/update-alternatives --remove designer %{_qt4_bindir}/desiner
796    /sbin/update-alternatives --auto designer
797fi
798
799
800# devel
801%post devel
802/sbin/update-alternatives --install \
803    %{_bindir}/qmake qmake %{_qt4_bindir}/qmake 20 \
804    --slave %{_bindir}/moc \
805        moc \
806        %{_qt4_bindir}/moc \
807    --slave %{_bindir}/uic \
808        uic \
809        %{_qt4_bindir}/uic \
810    --slave %{_bindir}/lrelease \
811        lrelease \
812        %{_qt4_bindir}/lrelease \
813    --slave %{_bindir}/lupdate \
814        lupdate \
815        %{_qt4_bindir}/lupdate
816
817%posttrans devel
818# fix broken symlink if it's there
819if [ ! -f %{_bindir}/qmake ] ; then
820    /sbin/update-alternatives --auto qmake
821fi
822
823%postun devel
824if [ $1 -eq 0 ] ; then
825    /sbin/update-alternatives --remove qmake %{_qt4_bindir}/qmake
826    /sbin/update-alternatives --auto qmake
827fi
828
829%post tools
830/sbin/update-alternatives --install \
831    %{_bindir}/assistant assistant %{_qt4_bindir}/assistant 20
832/sbin/update-alternatives --install \
833    %{_bindir}/linguist  linguist  %{_qt4_bindir}/linguist 20
834
835%posttrans tools
836# fix broken symlink if it's there
837if [ ! -f %{_bindir}/assistant ] ; then
838    /sbin/update-alternatives --auto assistant
839fi
840if [ ! -f %{_bindir}/linguist ] ; then
841    /sbin/update-alternatives --auto linguist
842fi
843
844%postun tools
845if [ $1 -eq 0 ] ; then
846    /sbin/update-alternatives --remove assistant %{_qt4_bindir}/assistant
847    /sbin/update-alternatives --remove linguist %{_qt4_bindir}/linguist
848    /sbin/update-alternatives --auto assistant
849    /sbin/update-alternatives --auto linguist
850fi
851
852
853# If %{_libdir}/qt4 is symbolic link, remove it
854# Is this safe?
855%pre -n compat32-%{name}
856if [ $1 -eq 2 -a -L %{_libdir}/qt4 ] ; then
857    rm -f %{_libdir}/qt4 &> /dev/null ||:
858fi
859
860%post -n compat32-%{name} -p /sbin/ldconfig
861
862%postun -n compat32-%{name} -p /sbin/ldconfig
863
864%files
865%defattr(-,root,root,-)
866%doc README LGPL_EXCEPTION.txt LICENSE.LGPL LICENSE.GPL3
867%config(noreplace) %{_sysconfdir}/Trolltech.conf
868%if "%{_qt4_libdir}" != "%{_libdir}"
869%config %{_sysconfdir}/ld.so.conf.d/qt4.conf
870%endif
871%{_bindir}/qdbus
872#{_libdir}/qt4
873%dir %{_qt4_prefix}
874%dir %{_qt4_bindir}
875%{_qt4_bindir}/qdbus
876%if "%{_qt4_libdir}" != "%{_libdir}"
877%dir %{_qt4_libdir}
878%endif
879%{_qt4_libdir}/libQt*.so.*
880%dir %{_qt4_importdir}
881%dir %{_qt4_importdir}/Qt
882%{_qt4_importdir}/Qt/*
883%dir %{_qt4_importdir}/QtWebKit
884%{_qt4_importdir}/QtWebKit/*
885%dir %{_qt4_plugindir}
886%dir %{_qt4_plugindir}/accessible
887%{_qt4_plugindir}/accessible/*
888%dir %{_qt4_plugindir}/bearer
889%{_qt4_plugindir}/bearer/*
890%dir %{_qt4_plugindir}/codecs
891%{_qt4_plugindir}/codecs/*
892%dir %{_qt4_plugindir}/crypto
893%dir %{_qt4_plugindir}/designer
894%dir %{_qt4_plugindir}/graphicssystems
895%{_qt4_plugindir}/graphicssystems/*
896%dir %{_qt4_plugindir}/iconengines
897%{_qt4_plugindir}/iconengines/*
898%dir %{_qt4_plugindir}/imageformats
899%{_qt4_plugindir}/imageformats/*
900%dir %{_qt4_plugindir}/inputmethods
901%{_qt4_plugindir}/inputmethods/*
902%dir %{_qt4_plugindir}/qmltooling
903%{_qt4_plugindir}/qmltooling/*
904%dir %{_qt4_plugindir}/script
905%{_qt4_plugindir}/script/*
906%dir %{_qt4_plugindir}/sqldrivers
907%{_qt4_plugindir}/sqldrivers/libqsqlite*
908%dir %{_qt4_translationdir}
909%{_qt4_translationdir}/qt_*.qm
910%{_datadir}/icons/hicolor/*/apps/qt4-logo.*
911
912%files config
913%defattr(-,root,root,-)
914%{_qt4_bindir}/qtconfig
915%{_qt4_translationdir}/qtconfig_*.qm
916%{_datadir}/applications/qtconfig.desktop
917
918%files designer
919%defattr(-,root,root,-)
920%{_qt4_bindir}/designer
921%{_qt4_plugindir}/designer/*
922%{_qt4_translationdir}/designer_*.qm
923%{_datadir}/applications/designer.desktop
924%{_datadir}/icons/hicolor/*/apps/designer*
925%{_qt4_docdir}/qch/designer.qch
926
927%files devel
928%defattr(-,root,root,-)
929%{_sysconfdir}/rpm/macros.*
930%{_bindir}/qdbuscpp2xml
931%{_bindir}/qdbusxml2cpp
932%{_bindir}/qmlplugindump
933%{_bindir}/qt3to4
934%{_bindir}/rcc
935%{_bindir}/uic3
936%{_qt4_bindir}/lrelease
937%{_qt4_bindir}/lupdate
938%{_qt4_bindir}/moc
939%{_qt4_bindir}/qdbuscpp2xml
940%{_qt4_bindir}/qdbusxml2cpp
941%{_qt4_bindir}/qmake
942%{_qt4_bindir}/qmlplugindump
943%{_qt4_bindir}/qt3to4
944%{_qt4_bindir}/rcc
945%{_qt4_bindir}/uic
946%{_qt4_bindir}/uic3
947%{_qt4_headerdir}/*
948%{_qt4_libdir}/libQt*.so
949%{_qt4_libdir}/libQtUiTools*.a
950%{_qt4_libdir}/libQt*.prl
951%if 0%{?phonon:1}
952## nuke this one too?  -- Rex
953%{_qt4_libdir}/libphonon.prl
954%endif
955%{_qt4_datadir}/mkspecs/
956%{_qt4_datadir}/phrasebooks/
957%{_qt4_datadir}/q3porting.xml
958%{_libdir}/pkgconfig/*.pc
959#{_qt4_docdir}/*
960%if 0%{?private}
961%exclude %{_qt4_headerdir}/*/private/
962
963%files devel-private
964%defattr(-,root,root,-)
965%{_qt4_headerdir}/QtCore/private/
966%{_qt4_headerdir}/QtDeclarative/private/
967%{_qt4_headerdir}/QtGui/private/
968%{_qt4_headerdir}/QtScript/private/
969%{_qt4_headerdir}/../src/corelib/
970%{_qt4_headerdir}/../src/declarative/
971%{_qt4_headerdir}/../src/gui/
972%{_qt4_headerdir}/../src/script/
973%endif
974
975%files doc
976%defattr(-,root,root,-)
977%{_qt4_docdir}/html/*
978%{_qt4_docdir}/qch/*.qch
979%exclude %{_qt4_docdir}/qch/designer.qch
980%exclude %{_qt4_docdir}/qch/linguist.qch
981%{_qt4_docdir}/src/*
982
983%files tools
984%defattr(-,root,root,-)
985%{_bindir}/lconvert
986%{_bindir}/pixeltool
987%{_bindir}/qcollectiongenerator
988%{_bindir}/qdbusviewer
989%{_bindir}/qdoc3
990%{_bindir}/qhelpconverter
991%{_bindir}/qhelpgenerator
992%{_bindir}/qmlviewer
993%{_bindir}/qttracereplay
994%{_bindir}/xmlpatterns
995%{_bindir}/xmlpatternsvalidator
996%{_qt4_bindir}/assistant
997%{_qt4_bindir}/lconvert
998%{_qt4_bindir}/linguist
999%{_qt4_bindir}/pixeltool
1000%{_qt4_bindir}/qcollectiongenerator
1001%{_qt4_bindir}/qdbusviewer
1002%{_qt4_bindir}/qdoc3
1003%{_qt4_bindir}/qhelpconverter
1004%{_qt4_bindir}/qhelpgenerator
1005%{_qt4_bindir}/qmlviewer
1006%{_qt4_bindir}/qttracereplay
1007%{_qt4_bindir}/xmlpatterns
1008%{_qt4_bindir}/xmlpatternsvalidator
1009%{_qt4_translationdir}/assistant_*.qm
1010%{_qt4_translationdir}/linguist_*.qm
1011%{_datadir}/applications/assistant.desktop
1012%{_datadir}/applications/linguist.desktop
1013%{_datadir}/icons/hicolor/*/apps/assistant*
1014%{_datadir}/icons/hicolor/*/apps/linguist*
1015%{_qt4_docdir}/qch/linguist.qch
1016
1017%if 0%{?qvfb}
1018%files qvfb -f qvfb.lang
1019%defattr(-,root,root,-)
1020%{_bindir}/qvfb
1021%{_qt4_bindir}/qvfb
1022%endif
1023
1024%if "%{?ibase}" == "-plugin-sql-ibase"
1025%files ibase
1026%defattr(-,root,root,-)
1027%{_qt4_plugindir}/sqldrivers/libqsqlibase*
1028%endif
1029
1030%if "%{?mysql}" == "-plugin-sql-mysql"
1031%files MySQL
1032%defattr(-,root,root,-)
1033%{_qt4_plugindir}/sqldrivers/libqsqlmysql*
1034%endif
1035
1036%if "%{?odbc}" == "-plugin-sql-odbc"
1037%files ODBC
1038%defattr(-,root,root,-)
1039%{_qt4_plugindir}/sqldrivers/libqsqlodbc*
1040%endif
1041
1042%if "%{?psql}" == "-plugin-sql-psql"
1043%files PostgreSQL
1044%defattr(-,root,root,-)
1045%{_qt4_plugindir}/sqldrivers/libqsqlpsql*
1046%endif
1047
1048%if "%{?tds}" == "-plugin-sql-tds"
1049%files tds
1050%defattr(-,root,root,-)
1051%{_qt4_plugindir}/sqldrivers/libqsqltds*
1052%endif
1053
1054# compat32
1055%if %{build_compat32}
1056%files -n compat32-%{name}
1057%defattr(-,root,root,-)
1058%if "%{_qt4_libdir}" != "%{_libdir}"
1059%config %{_sysconfdir}/ld.so.conf.d/qt4-i386.conf
1060%endif
1061#{_libdir}/qt4
1062%dir %{_qt4_prefix}
1063%dir %{_qt4_bindir}
1064%{_qt4_bindir}/qdbus
1065%if "%{_qt4_libdir}" != "%{_libdir}"
1066%dir %{_qt4_libdir}
1067%endif
1068%{_qt4_libdir}/libQt*.so.*
1069%dir %{_qt4_plugindir}
1070%dir %{_qt4_plugindir}/accessible
1071%{_qt4_plugindir}/accessible/*
1072%dir %{_qt4_plugindir}/codecs
1073%{_qt4_plugindir}/codecs/*
1074%dir %{_qt4_plugindir}/graphicssystems
1075%{_qt4_plugindir}/graphicssystems/*
1076%dir %{_qt4_plugindir}/iconengines
1077%{_qt4_plugindir}/iconengines/*
1078%dir %{_qt4_plugindir}/imageformats
1079%{_qt4_plugindir}/imageformats/*
1080%dir %{_qt4_plugindir}/inputmethods
1081%{_qt4_plugindir}/inputmethods/*
1082%dir %{_qt4_plugindir}/script
1083%{_qt4_plugindir}/script/*
1084
1085%files -n compat32-%{name}-devel
1086%defattr(-,root,root,-)
1087%{_qt4_libdir}/libQt*.so
1088%{_qt4_libdir}/libQtUiTools.a
1089%{_qt4_libdir}/libQt*.prl
1090%{_libdir}/pkgconfig/*.pc
1091%endif
1092
1093%changelog
1094* Wed Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.0-3
1095- fix %%files of compat32-qt4-devel
1096
1097* Sun Jan  8 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-2
1098- added %%pre section to remove symbolic link
1099- moved translation files to each subpackage
1100
1101* Sat Jan  7 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1
1102- new upstream release
1103
1104* Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-6
1105- rebuilt with MySQL-5.5.15
1106
1107* Tue May 24 2011 IWAI, Masaharu <iwai@alib.jp> 4.7.2-5
1108- rebuild with unixODBC-2.2.14: broken by 4.7.2-4
1109- add Vendor and Distribution tags
1110
1111* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 4.7.2-4
1112- rebuilt with postgresql-9.0.3
1113
1114* Mon Apr 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-3
1115- rebuilt with unixODBC-2.2.14
1116
1117* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-2
1118- added Patch 106, 301 and 302
1119- fixed /etc/rpm/macros.qt4
1120
1121* Sun Mar  6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
1122- new upstream release
1123- updated Patch1022
1124- added config, tools subpackage
1125- added /etc/rpm/macros.qt4
1126- updated %%post, %%posttrans and %%postun section
1127
1128* Sat Jan 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.1-1
1129- new upstream release
1130
1131* Wed Jan 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.3-3
1132- rebuild with openssl-1.0.0c
1133- add BuildRequires: alsa-lib-devel
1134
1135* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-2
1136- rebuilt with rpm-4.8.1
1137
1138* Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-1
1139- new upstream release
1140- moved %{_bindir}/qdbus to main package
1141
1142* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.6.1-5
1143- rebuilt with gcc-4.4.3-3 on ppc
1144
1145* Fri Feb  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-4
1146- rebuilt with new toolchains
1147
1148* Sun Jan 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3
1149- added BR: desktop-file-utils
1150
1151* Sat Jan 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-2
1152- fixed devel %%files (forgot removing documents...)
1153
1154* Thu Jan 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
1155- new upstream release
1156- moved documents to doc sub-package
1157- updated macros
1158- installed translation to %%{_datadir}/qt4/translations now
1159
1160* Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.3-1
1161- new upstream release
1162- dropped Patch90 (merged into upstream)
1163- updated Patches from Fedora
1164- added sqlite subpackage
1165
1166* Wed Sep 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.5.2-2
1167- added Patch90 for fix CVE-2009-2700
1168
1169* Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.2-1
1170- new upstream release
1171- updated qt-copy patches
1172- added Qt.pc
1173- added BuildRequires: WebKit-gtk-devel
1174
1175* Thu Jul 23 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.4.3-4
1176- added compat32 package for x86_64 arch support
1177
1178* Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-3
1179- changed qt4-designer Group to Applications/Development
1180- updated URL
1181- remove Requires: XOrg-libs, XOrg-gl
1182
1183* Wed Mar 24 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-2
1184- update qt-copy patches
1185
1186* Mon Nov 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-1
1187- new upstream release
1188- update qt-copy patches
1189
1190* Tue Nov 11 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-2
1191- update qt-copy patches
1192
1193* Mon Sep 22 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-1
1194- new upstream release
1195- update qt-copy patches
1196
1197* Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.1-2
1198- fixed symbolic-link path of %{_bindir}/* at %%install section (for lib64)
1199
1200* Mon Aug  4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.1-1
1201- new upstream release
1202- update qt-copy patches
1203
1204* Sun Jul  6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.0-1
1205- new upstream release
1206- update qt-copy patches
1207- add -no-phonon
1208
1209* Mon Mar 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-1
1210- fix release ([VineSeed:1527])
1211- add BuildPrereq: gcc4 gcc4-c++ for Vine 4.x
1212- add Requires(post,postun): alternatives to -devel and -designer package
1213
1214* Tue Mar  4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-0vl1
1215- new upstream release
1216- update qt-copy patches
1217
1218* Wed Feb  6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl2
1219- update qt-copy patches
1220
1221* Thu Dec  6 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl1
1222- new upstream release
1223- update and re-number qt-copy patches
1224- add BuildPrereq: glib2-devel
1225- update URL
1226
1227* Fri Nov  2 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.2-0vl1
1228- new upstream release
1229- update qt-copy patches
1230
1231* Tue Sep 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl2
1232- update qt-copy patches (CVE-2007-4137)
1233
1234* Wed Aug 15 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl1
1235- new upstream release
1236- update qt-copy patches
1237
1238* Thu Jun 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl1
1239- new upstream release
1240- add qt-copy patches
1241
1242* Wed May 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl0.20070423
1243- new upstream release
1244
1245* Mon Mar 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.3-0vl1
1246- new upstream release
1247
1248* Tue Oct 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.1-0vl1
1249- new upstream release
1250- add ld.so.conf.d and qt4.conf
1251- BuildPrereq: dbus-devel >= 0.62
1252
1253* Fri Oct  6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.0-0vl1
1254- new upstream release
1255- remove static package
1256
1257* Mon Sep 25 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1.4-0vl1
1258- new upstream release
1259- update %%fiels
1260- remove Xt and styles package
1261- add BuildPrereq: postgresql-libs MySQL-shared
1262- remove all patches
1263
1264* Mon Sep 19 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl4
1265- move %%{_libdir}/qt3 from develop to main
1266- fix typo
1267- add patch503
1268 -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm.1
1269  - import qt-x11-immodule-unified-quiet.patch (patch503) from FC
1270- add patch500-502
1271 -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm
1272  - add immodule for Qt support (patch500-502)
1273    - patch500: revert some part of patch300,301 (conflict with patch501)
1274    - patch501: immodule for Qt patch
1275    - patch502: apply some part of patch300,301 again
1276    cf. http://immodule-qt.freedesktop.org/
1277        http://people.freedesktop.org/~daisuke/
1278
1279* Sun Sep 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.5-0vl3
1280- added configure options for builing on 64-bit archs
1281
1282* Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl2
1283- rebuild for VineSeed
1284
1285* Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl1
1286- new upstream release
1287- stop building nonthreaded libs
1288- delete Obsoletes
1289- add Patch0
1290
1291* Tue Jul  5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl6
1292- rebuild for VineSeed
1293
1294* Tue Jul  5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl5
1295- build for Vine3.1
1296- add -v to configure option
1297- move three static libs to main package
1298
1299* Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl4
1300- rebuild for VineSeed
1301
1302* Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl3
1303- (security) stop using rpath
1304- cleanup this file
1305
1306* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl2
1307- rebuild for VineSeed
1308
1309* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl1
1310- new upstream release
1311- update Patch400
1312
1313* Sat Dec 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl3
1314- rebuld
1315
1316* Wed Nov 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl2
1317- add Obsoletes: qt32-*
1318
1319* Sun Sep  5 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl1
1320- source upgrade
1321- remove patch100
1322- update patch300 and remove patch302-303
1323- update patch400
1324- update BuildPrereq and Requires
1325
1326* Wed Jul 28 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
1327- add patch302-303 from KuserML
1328- delete lines about vine26
1329
1330* Sun Jun  6 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
1331- add patch100 from webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/patches/
1332
1333* Fri Apr 30 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
1334- source upgrade
1335- remove patch100 (it is needed only for 3.3.1)
1336
1337* Sun Apr 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl3
1338- rebuild with XOrg
1339
1340* Mon Mar 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl2
1341- rebuild
1342
1343* Mon Mar  8 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
1344- source upgrade
1345- remove patch800
1346- add patch100 (only for qt-x11-free-3.3.1)
1347
1348* Sun Feb  1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl3
1349- enable cups support
1350
1351* Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
1352- build for VineSeed with new toolchain
1353- disable cup support
1354
1355* Wed Dec  3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
1356- source upgrade
1357- revised Patch402 and 403
1358- remove Patch100
1359- add patch800 to build against freetype2-2.1.7
1360- (VinePlus/2.6) BuildPrereq: autoconf258
1361
1362* Sun Nov  9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
1363- source upgrade
1364- revised Patch400
1365- remove Patch15
1366
1367* Sun Nov  2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl4
1368- enable cups support
1369
1370* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl3
1371- rebuild for Vine2.6
1372
1373* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl3
1374- revised Patch400 and Patch402
1375- clean up spec
1376
1377* Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl2
1378- rebuild for Vine2.6
1379
1380* Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl2
1381- revised Patch400-
1382- clean up spec
1383
1384* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl1
1385- rebuild for Vine2.6
1386
1387* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
1388- source upgrade
1389- add Patch100
1390- remove Patch302 (it is included in this source)
1391- stop using Patch400-
1392- build with gcc-3.2.3
1393- add export LANG=C
1394- add *.pc (pkg-config files) to qt-devel package
1395
1396* Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl5
1397- rebuild for Vine2.6
1398
1399* Wed Aug 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl5
1400- add Patch302 to fix performance of jmode
1401- change make option for SMP and add script
1402
1403* Thu Jun 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl4
1404- update Patch400 and 401
1405
1406* Wed Jun 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl3
1407- change spec to build with g++-2.95.3
1408
1409* Mon Apr 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl2
1410- rebuild for Vine2.6
1411
1412* Wed Apr 16 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.1.2-0vl2
1413- rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
1414
1415* Fri Mar 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
1416- source upgrade
1417- remove all patches except patch15
1418- revised patch 300-
1419- stop building Xt package
1420
1421* Mon Feb 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl3
1422- revised patch 301 and 302
1423- enable patch 301 and 302 to Vine2.5/2.6
1424
1425* Sun Feb  9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl2
1426- change spec to build both VineSeed and Vine2.5/2.6
1427- re-number patch300-
1428- delete patch4 (qt-3.1.1 does not need it)
1429- add patch13 and 14
1430 -- Thu Dec 19 2002 Than Ngo <than@redhat.com> 3.1.1-3
1431  - add monospace patch file from Leon Ho (bug #79949)
1432  - add small patch file from Sysoltsev Slawa (bug #79731)
1433- add patch15
1434 -- Mon Dec 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>
1435  - Change qmlined.h to not include an attic header that is also not shipped
1436    with Red Hat Linux. This also fixes building unixODBC, that includes this
1437    header (apparently also without needing it).
1438
1439
1440* Sat Jan  4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
1441- source upgrade
1442- cleanup spec
1443- revised Patch7, 301
1444- add Patch306, 307, 308 from kde.gr.jp
1445
1446* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.0-0vl1
1447- source upgrade
1448- stop using objprelink2, it does not work with gcc3
1449- add Patch304 and Patch305 from www.kde.gr.jp/~akito/xft/patch_xft.html
1450- add Patch1 - Patch12 from rawhide 3.1.0-1.3
1451- add BuildPrereq: openMotif-devel >= 2.2.2 for build qt-Xt
1452- cleanup spec for build x11 package only
1453
1454* Mon Nov 11 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl3
1455- add export PATH=`pwd`:$PATH to %build section
1456
1457* Mon Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl2
1458- objprelink2 support only i386 (add %ifarch i386 ... again)
1459- delete BuildPrereq: libmng-static (it merged to libmng-devel)
1460- delete %doc ANNOUNCE
1461- Requires: XFree86-gl instead of Mesa
1462
1463* Fri Oct  4 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl1
1464- add BuildPrereq: objprelink2 instead of BuildPrereq: objprelink
1465- add BuildPrereq: autoconf253 automake15
1466- delete Patch199 (objprelink2 do not need this patch)
1467- source upgrade
1468- revised all patches [Kdeveloper:02404]
1469- add man files to qt-devel sub-package
1470
1471* Tue Jul 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl5
1472- add patch304 from kde.gr.jp [Kdeveloper:02368]
1473
1474* Thu Jul  4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl4
1475- add patch303 from kde.gr.jp [Kdeveloper:02378]
1476
1477* Wed Apr 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl3
1478- add patch302 from kde.gr.jp
1479
1480* Thu Apr  4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl2
1481- revised patch300 from kde.gr.jp and XIMInputStyle=Over The Spot in qtrc
1482- add patch301 from kde.gr.jp
1483- make unixODBC plugin (delete define odbcplugins 0 and if %{odbcplugins})
1484
1485* Sat Mar 30 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl1
1486- merged with rawhide 3.0.3-0.cvs20020314.1
1487- source update to 3.0.3
1488- add patch199 (objprelink)
1489- add patch300 and add defaultInputStyle=OverTheSpot in qtrc
1490- define cups 0 (Vine does not have cups)
1491- define odbcplugins 0 (unixODBC requires libqt-mt.so.2 of qt-2)
1492- cleanup spec
1493- There is Vine's previous changes, hacked for Vine
1494 -- Sat Jan  5 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-6vl4
1495  - rebuild with -xft support (XFree86-4.1.99.4)
1496 -- Mon Dec 31 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl3
1497  - rebuild with glibc-2.2.4
1498 -- Sun Nov 25 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl2
1499  - add Source2 and Patch4 (use objprelink, i386 only)
1500 -- Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl1
1501  - Build for VineSeed
1502  - Add qt.using_new_library.patch from Kondara
1503 -- Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
1504  - First build for Vine2.1.5
1505 -- Thu Apr 12 2001 Rex Dieter <rdieter@unl.edu> 2.3.0-0.6x.3
1506  - redhat 6.x backport based on rawhide's qt-2.3.0-3
1507  - remove -xft support (because we're using XFree-3)   
1508
1509* Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.3-0.cvs20020314.1
1510- Update to 3.0.3-pre, required for KDE3
1511- force -fPIC usage
1512- Remove conflict with qt2 < 2.3.2-1, the new qt2 2.3.1 is fixed and qt 2.3.2
1513  is broken
1514- Ship the qmake config files (so qmake works for building any 3rd party stuff,
1515  e.g. aethera)
1516
1517* Wed Mar  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-2
1518- Add some fixes from KDE's qt-copy CVS
1519- Pluginize image formats
1520
1521* Mon Feb 25 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-1
1522- 3.0.2 final
1523
1524* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.3
1525- Add GB18030 codec patch, #60034
1526- Force-build jpeg support, fixing #59775 and #59795
1527
1528* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.2
1529- Build with CUPS support
1530
1531* Fri Jan 18 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.1
1532- Fix up /usr/bin/moc links, they should point to qt3
1533
1534* Mon Jan 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020114.1
1535- Build styles directly into the main library for now, there's too much broken
1536  code out there depending on this ATM.
1537
1538* Wed Jan  9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020109.1
1539- Stop excluding alpha, gcc has been fixed
1540
1541* Tue Jan  8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020108.1
1542- Add fixes from CVS; this fixes the "Alt + F1, arrow up, arrow up doesn't work
1543  in KDE" bug
1544
1545* Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-2
1546- Fix up settings search path
1547- Add default qtrc allowing to use KDE 3.x Qt plugins
1548- Make sure QLibrary uses RTLD_GLOBAL when dlopen()ing libraries
1549
1550* Thu Dec 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.0-1
1551- Work around gcc bug #57467
1552
1553* Wed Dec 12 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1554- 3.0.1 final
1555
1556* Mon Dec 10 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-0.cvs20011210.1
1557- Update to current (needed by KDE 3.x)
1558- Rebuild with current libstdc++
1559- Temporarily disable building on alpha
1560- Fix build with PostgreSQL 7.2
1561
1562* Mon Nov 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
1563- Fix up glweak
1564
1565* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
1566- Give designer, uic, moc, etc. their real names - the qt2 versions
1567  have been renamed in qt2-2.3.2-1.
1568  Conflict with qt2 < 2.3.2-1.
1569
1570* Thu Oct 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-3
1571- Add symlink /usr/lib/qt-3.0.0 -> /usr/lib/qt3 and set QTDIR to the
1572  symlink, allowing to update to 3.0.1 without breaking rpath'ed binaries
1573
1574* Tue Oct 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-1
1575- 3.0.0 final
1576- fix some minor specfile bugs
1577- Modularize some more (image format plugins)
1578- Build codecs
1579
1580* Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta5.1
1581- beta5
1582- Share more code between qt-x11 and qt-embedded builds
1583
1584* Wed Aug 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta4.1
1585- beta4
1586- build the Motif style directly into Qt rather than as a plugin - Qt should
1587  always have at least one style...
1588- replace the designer3 symlink with a shell script that sets QTDIR correctly
1589  before launching designer
1590- Add desktop file for designer
1591
1592* Mon Aug  6 2001 Tim Powers <timp@redhat.com> 3.0.0-0.beta3.4
1593- explicitly include qm2ts, qmake, qtconfig in the devel package file list to avoid dangling symlinks
1594
1595* Thu Aug  2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.3
1596- Try yet another workaround for buildsystem breakages
1597
1598* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1599- Add another ugly workaround for build system problems, this should finally
1600  get rid of the dangling symlinks
1601
1602* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.2
1603- Rephrase parts of the spec file, hopefully pleasing the build system
1604
1605* Sun Jul 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.1
1606- beta3
1607- Fix dangling symlinks
1608
1609* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.2
1610- Fix up QSQL Postgres classes for Postgres 7.1.x
1611- Fix various bugs:
1612  - QtMultilineEdit and QtTableView should actually compile
1613  - Link libqsqlpsql with libpq
1614  - Don't link the base library with libmysqlclient, linking the MySQL
1615    module with it is sufficient
1616- Add missing const qualifier
1617- move the SQL drivers to separate packages to avoid dependencies
1618- build and install designer plugins - converting glade files to Qt is fun. ;)
1619- handle RPM_OPT_FLAGS
1620
1621* Tue May 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.1
1622- 3.0 beta 1
1623
1624* Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010516.1
1625- Update, remove conflicts with Qt 2.x
1626
1627* Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010514.1
1628- Initial build of 3.0 branch
1629
1630* Fri Apr 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-6
1631- Fix crashes on ia64, Patch from Bill Nottingham <notting@redhat.com>
1632- Allow building qt-nox
1633
1634* Fri Apr 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-5
1635- Make sure uic and designer use the libqui from the source tree, not
1636  a previously installed one.
1637  Linking uic-x11 against libqui-embedded is definitely not a feature. ;)
1638- The qclipboard fix is needed for qt-x11 only, don't apply it if we're
1639  building qt-embedded
1640
1641* Sat Apr 14 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1642- Handle LPRng specific constructs in printcap, Bug #35937
1643
1644* Sun Mar 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
1645- add qfont patch from Trolltech
1646
1647* Tue Mar 13 2001 Harald Hoyer <harald@redhat.de>
1648- added patch for '@euro' language settings
1649
1650* Tue Mar  6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1651- 2.3.0 final
1652- BuildRequires XFree86-devel >= 4.0.2 (#30486)
1653
1654* Mon Feb 26 2001 Than Ngo <than@redhat.com>
1655- fix check_env function, so that qt does not crash if QT_XFT is not set
1656- fix symlinks
1657
1658* Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1659- 2.3.0b1
1660- Add a patch to qpsprinter that handles TrueType fonts even if they come from xfs
1661
1662* Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
1663- japanese input and clipboard fixes applied.  Changes have been sent upstream by patch authors.
1664
1665* Fri Feb  9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1666- Rebuild with new Mesa to get rid of pthreads linkage
1667- Add Xft fix from KDE CVS
1668
1669* Wed Feb  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1670- Add printing bugfix patch from Trolltech
1671
1672* Sat Feb  3 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1673- 2.2.4
1674- Qt Embedded: Add QVfb and VNC support
1675
1676* Tue Jan 16 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1677- Don't segfault when running Qt/Embedded applications as root
1678- Improve the Qt/Embedded sparc patch so we don't need the specfile hacks
1679  anymore
1680- Fix a bug in QPrintDialog (causing KDE Bug #18608)
1681
1682* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1683- bzip2 source to save space
1684- Qt/Embedded 2.2.3
1685- Fix qte build on sparc
1686
1687* Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1688- Run ldconfig in %%post and %%postun for qt-Xt
1689
1690* Sun Dec 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1691- Build with the Xrender extension
1692  (Patch from Keith Packard <keithp@keithp.com>)
1693
1694* Wed Dec 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1695- 2.2.3
1696
1697* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1698- Rebuild to fix permissions on doc dir
1699- Don't exclude ia64 anymore
1700
1701* Fri Nov 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1702- Fix up uic (Patch from trolltech)
1703
1704* Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1705- Build qt-embedded
1706  changes to base: fix build, fix ISO C99 compliance, fix 64bit support
1707
1708* Mon Nov 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1709- 2.2.2
1710
1711* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1712- call ldconfig for updating (Bug #19687)
1713- added patch from Trolltech, thanks to Rainer <rms@trolltech.com>
1714
1715* Wed Oct 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1716- Add missing msg2qm, msgmerge, qconfig tools (Bug #18997), introduced
1717  by broken Makefiles in base
1718- fix up %%install so it works both with old-style and new-style fileutils
1719  (fileutils <= 4.0z don't know about -L)
1720
1721* Fri Oct 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1722- Disable exception handling; this speeds up KDE 2.x and reduces its
1723  memory footprint by 20 MB.
1724
1725* Tue Oct 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1726- dereference symlinks in include
1727
1728* Sun Oct  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1729- fix -devel
1730- update to the new version of 2.2.1 on trolltech.com; the initial tarball
1731  contained broken docs
1732
1733* Thu Oct  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1734- 2.2.1
1735
1736* Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1737- Add missing uic
1738
1739* Thu Sep 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1740- Move Qt designer to a different source RPM to get rid of a
1741  circular dependency (kdelibs2->qt, qt->kdelibs2)
1742- Enable MNG support
1743- Don't compile (just include) examples and tutorials
1744- move the static libraries to a separate package (qt-static).
1745  They're HUGE, and most people won't ever need them.
1746- clean up spec file
1747- fix up dependencies (-devel requires base, -static requires devel,
1748  Xt requires base)
1749- add BuildRequires line
1750
1751* Tue Sep 12 2000 Than Ngo <than@redhat.com>
1752- update release 2.2.0
1753- changed copyright to GPL
1754- added missing static libraries
1755- made symbolic link for designer to load the help files correct
1756- made designer and designer-kde2 as sub packages
1757- added missing templates for designer
1758- remove jakub patch, since the release 2.2.0 already
1759  contains this patch.
1760- fixed qt again to compile with gcc-2.96
1761- use make -j for building
1762
1763* Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1764- Work around compiler bugs (Patch from Jakub)
1765- Use relative symlinks (Bug #16750)
1766
1767* Mon Aug 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1768- beta2
1769
1770* Mon Aug 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1771- new qt-copy from KDE2 CVS
1772
1773* Wed Aug 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1774- official beta 1
1775
1776* Thu Aug 3 2000 Than Ngo <than@redhat.de>
1777- rebuilt against the libpng-1.0.8
1778
1779* Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1780- rebuild (so we have it on all arches)
1781
1782* Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1783- move man pages to a more reasonable place (this fixes Bug #14126)
1784- exclude ia64 for now (compiler problems!!!)
1785
1786* Mon Jul 24 2000 Harald Hoyer <harald@redhat.de>
1787- modified connect patch to fit qt 2.2.0 beta.
1788
1789* Thu Jul 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1790- update to current qt-copy; this is now a qt 2.2.0 beta.
1791
1792* Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1793- update to current qt-copy in kde CVS, required
1794
1795* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1796- automatic rebuild
1797
1798* Sun Jul 11 2000 Harald Hoyer <harald@redhat.de>
1799- made patch smaller and binary compatible when recompiled with 6.2
1800- modified connect and moc to cope with the new g++ class layout
1801
1802* Sun Jul 09 2000 Than Ngo <than@redhat.de>
1803- rebuilt qt with gcc-2.96-34
1804
1805* Fri Jul 07 2000 Than Ngo <than@redhat.de>
1806- rebuilt qt with c++ 2.96
1807
1808* Mon Jul  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1809- Fix dependancies
1810
1811* Sun Jul  2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1812- Use egcs++ for now ** FIXME
1813
1814* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
1815- fix up qt.sh
1816
1817* Sun Jun 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1818- Build in jpeg and threading support
1819- Fix a bug in clipboard pasting code
1820
1821* Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
1822- fix qt.{sh,csh}
1823- use new rpm macro paths
1824- package man pages
1825
1826* Fri Jun  2 2000 Bill Nottingham <notting@redhat.com>
1827- build without optimization on ia64
1828
1829* Mon May 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1830- 2.1.1
1831
1832* Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
1833- recompile with correct libstdc++
1834
1835* Thu Apr 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1836- 2.1.0 final
1837
1838* Wed Apr  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1839- beta4
1840- depend on libGL.so.1 rather than Mesa - XFree86 4.0 provides that
1841  lib, too
1842
1843* Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1844- beta3
1845
1846* Tue Mar  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1847- beta2
1848- fix compilation of the NSPlugin add-on
1849
1850* Fri Mar  3 2000 Bill Nottingham <notting@redhat.com>
1851- fix %postun script
1852
1853* Fri Feb 18 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
1854- beta1
1855- get rid of qt-ImageIO, the functionality is now in the main Qt library
1856- remove qt-Network, the functionality is now in the main Qt library
1857- add changes-2.1.0 to %doc
1858
1859* Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
1860- no refcount check on postun script, we want it to happen even on upgrades
1861
1862* Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1863- new snapshot, should fix QWhatsThisButton
1864- remove executable permissions from *.pro files
1865
1866* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
1867- strip binaries in examples, tutorial
1868
1869* Mon Jan 31 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1870- new snapshot - should fix the hotkey bug
1871- Fix up the Makefiles so it compiles
1872
1873* Tue Jan 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1874- new snapshot - we need those QVariant fixes
1875
1876* Thu Jan 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1877- switch from glxMesa to Mesa for the GL addon
1878
1879* Wed Jan 5 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
1880- Fix up dependencies
1881- new snapshot
1882
1883* Mon Jan 3 2000 Ngo Than <than@redhat.de>
1884- new snapshot for Red Hat Linux 6.2
1885- increase version number
1886
1887* Mon Dec 20 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1888- new snapshot
1889- handle RPM_OPT_FLAGS
1890
1891* Mon Dec 13 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1892- new snapshot
1893- -GL requires libGL.so.1 instead of Mesa (might as well be glxMesa
1894  or some commercial OpenGL)
1895- -GL BuildPrereqs /usr/X11R6/include/GL/gl.h instead of Mesa-devel
1896  (might as well be glxMesa or some commercial OpenGL)
1897
1898* Sun Dec 05 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1899- update to current RSYNC version
1900- remove compilation patch - it finally works out of the box
1901
1902* Wed Oct 27 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1903- update to current CVS snapshot
1904- build extensions
1905- add patch to fix QNetwork compilation
1906
1907* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.de>
1908- current CVS snapshot
1909- fix compilation with gcc 2.95.x
1910- use install -c rather than just install to make BSD install happy
1911
1912* Mon Oct 11 1999 Bernhard Rosenkraenzer <bero@redhat.de>
1913- 2.1.0 snapshot (for KDE2)
1914- Fix typo in spec
1915
1916* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
1917- don't ship tutorial or example binaries
1918
1919* Tue Sep 21 1999 Preston Brown <pbrown@redhat.com>
1920- substitution in tutorial and examples so that dependencies are correct and
1921  they can be successfully rebuilt.
1922- switched to completely using QTDIR.  trying to coexist with links into
1923  /usr/{include,lib} and still compile with qt 1.x is very hard for
1924  configure scripts to cope with.
1925
1926* Thu Aug 19 1999 Preston Brown <pbrown@redhat.com>
1927- implemented QTDIR compatibility.
1928
1929* Tue Jul 20 1999 Preston Brown <pbrown@redhat.com>
1930- qt 2.0.1 packaged.
1931
1932* Wed Jul 14 1999 Preston Brown <pbrown@redhat.com>
1933- Qt 2.00 packaged.
1934- examples, html documentation, tutorial moved to /usr/doc
1935
1936* Sat Apr 17 1999 Preston Brown <pbrown@redhat.com>
1937- static library supplied in dev package.
1938
1939* Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
1940- turn on internal GIF reading support
1941
1942* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
1943- strip binaries
1944
1945* Mon Mar 15 1999 Preston Brown <pbrown@redhat.com>
1946- upgrade to qt 1.44.
1947
1948* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
1949- Injected new description and group.
1950
1951* Tue Jan 19 1999 Preston Brown <pbrown@redhat.com>
1952- moved includes to /usr/include/qt
1953
1954* Mon Jan 04 1999 Preston Brown <pbrown@redhat.com>
1955- made setup phase silent.
1956
1957* Fri Dec 04 1998 Preston Brown <pbrown@redhat.com>
1958- upgraded to qt 1.42, released today.
1959
1960* Tue Dec 01 1998 Preston Brown <pbrown@redhat.com>
1961- took Arnts RPM and made some minor changes for Red Hat.
Note: See TracBrowser for help on using the repository browser.