source: projects/specs/trunk/q/qt/qt-vl.spec @ 8084

Revision 8084, 48.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define type x11
2%define qtdir %{_libdir}/qt-%{version}
3%define rel 16
4%define buildstatic 1
5%define buildnonthread 0
6%define styleplugins 0
7# Set this to "1" if you want to build Xt
8%define buildXt 0
9# Set this to "0" if you do not want to build immodule
10%define immodule 1
11
12%if %{styleplugins}
13%define plugins -plugin-sql-mysql -plugin-sql-psql -plugin-sql-odbc -plugin-style-cde -plugin-style-motifplus -plugin-style-platinum -plugin-style-sgi -plugin-style-windows -plugin-style-compact -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng
14%else
15%define plugins -plugin-sql-mysql -plugin-sql-psql -plugin-sql-odbc -qt-style-cde -qt-style-motifplus -qt-style-platinum -qt-style-sgi -qt-style-windows -qt-style-compact -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng
16%endif
17
18%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
19
20Summary: The shared library for the Qt GUI toolkit.
21Summary(ja): Qt ツールキット
22Name: qt
23Version: 3.3.8
24Release: %{rel}%{?_dist_release}
25
26License: GPL/QPL
27Group: System Environment/Libraries
28URL: http://www.qtsoftware.com/
29
30Source: ftp://ftp.qtsoftware.com/qt/source/qt-%{type}-free-%{version}.tar.bz2
31# Patches -99 are from kde.org
32Patch0: uic-patch.diff
33
34# Patches 100-199 are for Qt-x11 only
35Patch100: Qt-3.3.8-UTF-8-fix.diff
36Patch101: qt3-CVE-2007-3388.diff
37Patch102: qt3-CVE-2007-4137.diff
38# Patches 200-299 are from fedora core
39Patch200: qt-uic-nostdlib.patch
40Patch201: qt-x11-free-3.3.5-gcc4-buildkey.patch
41Patch238: qt-x11-free-3.3.8-odbc.patch
42# Patches 300-399 are from kde.gr.jp
43# Patches for immodule for Qt
44Patch500: qt-x11-free-3.3.8-qt-x11-immodule-unified-qt3.3.7-20061229-pre.patch
45Patch501: qt-x11-immodule-unified-qt3.3.7-20061229.diff.bz2
46Patch502: qt-x11-free-3.3.8-qt-x11-immodule-unified-qt3.3.7-20061229-post.patch
47Patch503: qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch
48Patch504: qt-x11-free-3.3.6-fix-key-release-event-with-imm.diff
49Patch505: qt-x11-free-3.3.6-qt-x11-immodule-unified-qt3.3.5-20060318-resetinputcontext.patch
50
51# Patches 800-899 are for VineLinux
52Patch800: qt-x11-free-3.3.8-gcc43.patch
53Patch801: qt-x11-free-3.3.8-gcc46.patch
54Patch802: qt-x11-free-3.3.8-freetype-2.5.x.patch
55
56Buildroot: %{_tmppath}/%{name}-%{version}-root
57Prefix: %{qtdir}
58#BuildRequires: openMotif-devel >= 2.2.2
59BuildRequires: libmng-devel
60BuildRequires: glibc-devel
61BuildRequires: libjpeg-devel
62BuildRequires: libpng-devel >= 1.2.5
63BuildRequires: zlib-devel
64BuildRequires: giflib-devel
65BuildRequires: perl
66BuildRequires: sed
67BuildRequires: findutils
68BuildRequires: cups-devel
69BuildRequires: tar
70BuildRequires: freetype2-devel
71BuildRequires: fontconfig-devel
72BuildRequires: libXrender-devel
73BuildRequires: libXrandr-devel
74BuildRequires: libXcursor-devel
75BuildRequires: libXinerama-devel
76BuildRequires: libXft-devel
77BuildRequires: libXext-devel
78BuildRequires: libX11-devel
79BuildRequires: libSM-devel
80BuildRequires: libICE-devel
81BuildRequires: libXt-devel
82BuildRequires: libXmu-devel
83BuildRequires: libXi-devel
84BuildRequires: xorg-x11-proto-devel
85BuildRequires: mesa-libGL-devel
86BuildRequires: mesa-libGLU-devel
87BuildRequires: desktop-file-utils
88BuildRequires: MySQL-devel
89BuildRequires: postgresql-devel
90BuildRequires: unixODBC-devel
91
92#BuildPrereq: libstdc++34-devel
93#Requires: libexpat libstdc++34
94#Requires: libpng >= 1.2.5
95#Requires: freetype2 libjpeg libmng zlib
96
97Vendor: Project Vine
98Distribution: Vine Linux
99
100%package devel
101Summary: Development files and documentation for the Qt GUI toolkit.
102Summary(ja): Qt ツールキットの開発用ファイル
103Group: Development/Libraries
104Requires: %{name} = %{version}-%{release}
105Requires: freetype2-devel
106Requires: fontconfig-devel
107Requires: libXrender-devel
108Requires: libXrandr-devel
109Requires: libXcursor-devel
110Requires: libXinerama-devel
111Requires: libXft-devel
112Requires: libXext-devel
113Requires: libX11-devel
114Requires: libSM-devel
115Requires: libICE-devel
116Requires: libXt-devel
117Requires: xorg-x11-proto-devel
118Requires: libpng-devel
119Requires: libjpeg-devel
120Requires: libmng-devel
121Requires: mesa-libGL-devel
122Requires: mesa-libGLU-devel
123Requires: zlib-devel
124Requires(post):   alternatives
125Requires(postun): alternatives
126
127%package Xt
128Summary: An Xt (X Toolkit) compatibility add-on for the Qt GUI toolkit.
129Group: System Environment/Libraries
130Requires: %{name} = %{version}-%{release}
131
132%package styles
133Summary: Extra styles for the Qt GUI toolkit.
134Group: User Interface/Desktops
135Requires: %{name} = %{version}-%{release}
136
137%package ODBC
138Summary: ODBC drivers for Qt's SQL classes.
139Group: System Environment/Libraries
140Requires: %{name} = %{version}-%{release}
141
142%package MySQL
143Summary: MySQL drivers for Qt's SQL classes.
144Group: System Environment/Libraries
145Requires: %{name} = %{version}-%{release}
146
147%package PostgreSQL
148Summary: PostgreSQL drivers for Qt's SQL classes.
149Group: System Environment/Libraries
150Requires: %{name} = %{version}-%{release}
151
152%if %{buildstatic}
153%package static
154Summary: Version of the Qt GUI toolkit for static linking
155Group: Development/Libraries
156Requires: %{name}-devel = %{version}-%{release}
157%endif
158
159%package designer
160Summary: Interface designer (IDE) for the Qt toolkit
161Summary(ja): Qt ツールキットのインターフェースデザイナ
162Group: Applications/Development
163Requires: %{name}-devel = %{version}-%{release}
164Requires(post):   alternatives
165Requires(postun): alternatives
166
167%description
168Qt is a GUI software toolkit which simplifies the task of writing and
169maintaining GUI (Graphical User Interface) applications
170for the X Window System.
171
172Qt is written in C++ and is fully object-oriented.
173
174This package contains the shared library needed to run qt
175applications, as well as the README files for qt.
176
177%description devel
178The qt-devel package contains the files necessary to develop
179applications using the Qt GUI toolkit: the header files, the Qt meta
180object compiler, the man pages, the HTML documentation and example
181programs. See http://www.trolltech.com/products/qt.html for more
182information about Qt, or look at
183/usr/share/doc/qt-devel-%{version}/html/index.html, which provides Qt
184documentation in HTML format.
185
186Install qt-devel if you want to develop GUI applications using the Qt
187toolkit.
188
189%description Xt
190An Xt (X Toolkit) compatibility add-on for the Qt GUI toolkit.
191
192%if %{buildstatic}
193%description static
194%endif
195
196%description styles
197Extra styles (themes) for the Qt GUI toolkit.
198
199%description ODBC
200ODBC driver for Qt's SQL classes (QSQL)
201
202%description MySQL
203MySQL driver for Qt's SQL classes (QSQL)
204
205%description PostgreSQL
206PostgreSQL driver for Qt's SQL classes (QSQL)
207
208%description designer
209The qt-designer package contains an User Interface designer tool
210for the Qt toolkit.
211
212# compat32
213%package -n compat32-%{name}
214Summary: The shared library for the Qt GUI toolkit.
215Group: System Environment/Libraries
216Requires: %{name} = %{version}-%{release}
217
218%description -n compat32-%{name}
219Qt is a GUI software toolkit which simplifies the task of writing and
220maintaining GUI (Graphical User Interface) applications
221for the X Window System.
222
223Qt is written in C++ and is fully object-oriented.
224
225This package contains the shared library needed to run qt
226applications, as well as the README files for qt.
227
228%package -n compat32-%{name}-devel
229Summary: Development files and documentation for the Qt GUI toolkit.
230Group: Development/Libraries
231Requires: %{name}-devel = %{version}-%{release}
232Requires: compat32-%{name} = %{version}-%{release}
233Requires: compat32-libmng-devel compat32-libjpeg-devel
234Requires: compat32-libpng-devel compat32-zlib-devel
235
236%description -n compat32-%{name}-devel
237The qt-devel package contains the files necessary to develop
238applications using the Qt GUI toolkit: the header files, the Qt meta
239object compiler, the man pages, the HTML documentation and example
240programs. See http://www.trolltech.com/products/qt.html for more
241information about Qt, or look at
242/usr/share/doc/qt-devel-%{version}/html/index.html, which provides Qt
243documentation in HTML format.
244
245Install qt-devel if you want to develop GUI applications using the Qt
246toolkit.
247
248%prep
249%setup -q -n qt-%{type}-free-%{version}
250%patch0 -p1 -b .uic
251%patch100 -p0 -b .utf8
252%patch101 -p3 -b .CVE-2007-3388
253%patch102 -p0 -b .CVE-2007-4137
254%patch200 -p1 -b .nostdlib
255%patch201 -p1 -b .gcc4-buildkey
256%patch238 -p1 -b .odbc
257
258%if %{immodule}
259%patch500 -p1 -b .pre
260%patch501 -p1
261%patch502 -p1 -b .post
262%patch503 -p1 -b .quiet
263%patch504 -p1 -b .fix-key-release-event-with-imm
264%patch505 -p1 -b .resetinputcontext
265%endif
266
267%patch800 -p1 -b .gcc43
268%patch801 -p1 -b .gcc46
269%patch802 -p1 -b .ft2
270
271%build
272find . -type d -name CVS | xargs rm -rf
273export QTDIR=`/bin/pwd`
274export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
275export PATH="$QTDIR/bin:$PATH"
276export LANG=C
277OPTFLAGS=`echo $RPM_OPT_FLAGS |sed -e s/-fno-rtti/-frtti/`
278
279%if %{immodule}
280sh ./make-symlinks.sh
281%endif
282
283perl -pi -e "s,-O2,-I/usr/include/freetype2 $OPTFLAGS,g" mkspecs/*/qmake.conf
284
285## don't use rpath
286perl -pi -e "s|-Wl,-rpath,| |" mkspecs/*/qmake.conf
287
288%if %{buildstatic}
289# don't build examples, tools and tutorials with static libraries here
290echo yes |./configure \
291  %if %{_lib} == lib64
292  -prefix /usr/lib64/qt3 \
293  -platform linux-g++-64 -L/usr/lib64 \
294  %else
295  -prefix /usr/lib/qt3 \
296  -platform linux-g++ \
297  %endif
298  -release -static -qt-gif \
299  -system-zlib -system-libpng -system-libmng -system-libjpeg \
300  -no-g++-exceptions -enable-tools -enable-kernel -enable-widgets \
301  -enable-dialogs -enable-iconview -enable-workspace -enable-network \
302  -enable-canvas -enable-table -enable-xml -enable-sql -qt-style-motif \
303  %{plugins} \
304  -stl -thread -cups \
305  -enable-opengl -sm -xinerama -xrender -xft -xkb -v
306
307make %{?_smp_mflags} src-qmake
308make %{?_smp_mflags} src-moc
309make %{?_smp_mflags} sub-src
310
311cp -aR lib lib-bld
312cp -aR bin bin-bld
313make clean
314rm -rf lib bin
315mv lib-bld lib
316mv bin-bld bin
317%endif
318
319%if %{buildnonthread}
320# build shared, nonthreaded libraries
321echo yes |./configure \
322  %if %{_lib} == lib64
323  -prefix /usr/lib64/qt3 \
324  -platform linux-g++-64 -L/usr/lib64 \
325  %else
326  -prefix /usr/lib/qt3 \
327  -platform linux-g++ \
328  %endif
329  -release -shared -qt-gif \
330  -system-zlib -system-libpng -system-libmng -system-libjpeg \
331  -no-g++-exceptions -enable-tools -enable-kernel -enable-widgets \
332  -enable-dialogs -enable-iconview -enable-workspace -enable-network \
333  -enable-canvas -enable-table -enable-xml -enable-sql -qt-style-motif \
334  %{plugins} \
335  -stl -no-thread -cups \
336  -enable-opengl -sm -xinerama -xrender -xft -xkb -v
337
338make %{?_smp_mflags} src-qmake
339make %{?_smp_mflags} src-moc
340make %{?_smp_mflags} sub-src
341
342cp -aR lib lib-bld
343cp -aR bin bin-bld
344make clean
345rm -rf lib bin
346mv lib-bld lib
347mv bin-bld bin
348%endif
349
350# build shared, threaded (default) libraries
351echo yes |./configure \
352  %if %{_lib} == lib64
353  -prefix /usr/lib64/qt3 \
354  -platform linux-g++-64 -L/usr/lib64 \
355  %else
356  -prefix /usr/lib/qt3 \
357  -platform linux-g++ \
358  %endif
359  -release -shared -qt-gif \
360  -system-zlib -system-libpng -system-libmng -system-libjpeg \
361  -no-g++-exceptions -enable-tools -enable-kernel -enable-widgets \
362  -enable-dialogs -enable-iconview -enable-workspace -enable-network \
363  -enable-canvas -enable-table -enable-xml -enable-sql -qt-style-motif \
364  %{plugins} \
365  -stl -thread -cups \
366  -enable-opengl -sm -xinerama -xrender -xft -xkb -v
367
368make %{?_smp_mflags} src-qmake
369
370cd plugins/src/sqldrivers/psql
371qmake -o Makefile "INCLUDEPATH+=/usr/include/pgsql /usr/include/pgsql/server /usr/include/pgsql/internal" "LIBS+=-lpq" psql.pro
372cd ../mysql
373qmake -o Makefile "INCLUDEPATH+=/usr/include/mysql" "LIBS+=-L%{_libdir}/mysql -lmysqlclient" mysql.pro
374cd ../odbc
375qmake -o Makefile "LIBS+=-lodbc" odbc.pro
376cd ../../../..
377
378make %{?_smp_mflags} src-moc
379make %{?_smp_mflags} sub-src
380make %{?_smp_mflags} sub-tools UIC="$QTDIR/bin/uic -nostdlib -L $QTDIR/plugins"
381
382%if %{buildXt}
383# build Xt/Motif Extention
384make -C extensions/nsplugin/src -j $CPUS
385%endif
386
387%install
388rm -rf $RPM_BUILD_ROOT
389export QTDIR=`/bin/pwd`
390export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
391export PATH="$QTDIR/bin:$PATH"
392
393mkdir -p $RPM_BUILD_ROOT%{qtdir}/{bin,include,lib}
394mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,man3}
395
396# strip binaries
397rm -f bin/*.bat
398for i in bin/*; do
399  strip -R .comment $i || :
400done
401
402# install tools and libraries
403rm bin/qmake
404cp -fL qmake/qmake bin
405for i in bin/*; do
406        cp -fL $i $RPM_BUILD_ROOT/%{qtdir}/bin
407        chmod 0755 $RPM_BUILD_ROOT/%{qtdir}/$i
408done
409cp -aR lib/* $RPM_BUILD_ROOT/%{qtdir}/lib
410cp -aR plugins $RPM_BUILD_ROOT/%{qtdir}
411
412# install man pages
413cp -fR doc/man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
414cp -fR doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
415rm -rf doc/man
416
417# clean up
418make -C tutorial clean
419make -C examples clean
420find examples -name Makefile | xargs perl -pi -e 's|\.\./\.\.|\$\(QTDIR\)|'
421find examples -type f -perm 755 | xargs strip -R .comment || :
422find tutorial -name Makefile | xargs perl -pi -e 's|\.\./\.\.|\$\(QTDIR\)|'
423find tutorial -type f -perm 755 | xargs strip -R .comment || :
424
425for a in */*/Makefile ; do
426  sed 's|^SYSCONF_MOC.*|SYSCONF_MOC             = %{qtdir}/bin/moc|' < $a > ${a}.2
427  mv -v ${a}.2 $a
428done
429
430# Get rid of windows or mac specific links
431for i in include/* include/*/*; do [ -e $i ] || rm $i; done
432
433cp -frL include/* $RPM_BUILD_ROOT%{qtdir}/include
434#chmod a+r $RPM_BUILD_ROOT%{qtdir}/lib/libqt.so*
435
436ln -s qt-%{version} $RPM_BUILD_ROOT%{_libdir}/qt3
437
438mkdir -p $RPM_BUILD_ROOT/etc/profile.d
439cat > $RPM_BUILD_ROOT/etc/profile.d/qt.sh <<EOF
440# Qt initialization script (sh)
441if [ -z "\$QTDIR" ] ; then
442        QTDIR="%{_libdir}/qt3"
443fi
444export QTDIR
445EOF
446
447chmod 755 $RPM_BUILD_ROOT/etc/profile.d/qt.sh
448
449cat > $RPM_BUILD_ROOT/etc/profile.d/qt.csh <<EOF
450# Qt initialization script (csh)
451if ( \$?QTDIR ) then
452         exit
453endif
454setenv QTDIR %{_libdir}/qt3
455EOF
456
457chmod 755 $RPM_BUILD_ROOT/etc/profile.d/qt.csh
458
459mkdir -p $RPM_BUILD_ROOT/usr/bin
460for i in bin/*; do
461        ln -s ../%{_lib}/qt3/bin/`basename $i` $RPM_BUILD_ROOT/%{_bindir}
462        ln -s `basename $i` $RPM_BUILD_ROOT/usr/bin/`basename $i`3
463done
464
465# make symbolic link to qt docdir
466if echo %{_docdir} | grep  share >& /dev/null ; then
467  ln -s  ../../share/doc/%{name}-devel-%{version} $RPM_BUILD_ROOT%{qtdir}/doc
468else
469  ln -s  ../../doc/%{name}-devel-%{version} $RPM_BUILD_ROOT%{qtdir}/doc
470fi
471
472# Add desktop file
473mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Development
474cat >$RPM_BUILD_ROOT/etc/X11/applnk/Development/designer.desktop <<EOF
475[Desktop Entry]
476BinaryPattern=designer;
477Comment=Qt 3.3 Interface Designer
478Exec=designer
479Icon=designer
480InitialPreference=5
481MapNotify=true
482MimeType=application/x-designer
483Name=Qt 3.3 Designer
484Terminal=false
485Type=Application
486EOF
487
488# Sane default settings
489mkdir -p $RPM_BUILD_ROOT%{qtdir}/etc/settings
490cat >$RPM_BUILD_ROOT%{qtdir}/etc/settings/qtrc <<EOF
491[General]
492libraryPath=/usr/lib/kde3/plugins
493style=HighColor
494EOF
495
496# Ship qmake stuff
497cp -aR mkspecs $RPM_BUILD_ROOT%{qtdir}
498
499# pkg-config files
500mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
501cp $RPM_BUILD_ROOT%{qtdir}/lib/*.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
502rm -f $RPM_BUILD_ROOT%{qtdir}/lib/*.pc
503
504# add ld.so.conf.d and qt3.conf
505mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
506echo "%{qtdir}/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt3.conf
507%if %{build_compat32}
508echo "%{qtdir}/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt3-i386.conf
509%endif
510
511# delete files do not need
512rm -f $RPM_BUILD_ROOT%{qtdir}/lib/README
513rm -f $RPM_BUILD_ROOT%{qtdir}/lib/*.prl
514rm -f $RPM_BUILD_ROOT%{qtdir}/lib/*.la
515rm -rf $RPM_BUILD_ROOT%{qtdir}/plugins/src
516
517# delete files to use alternatives
518rm -f $RPM_BUILD_ROOT%{_bindir}/assistant
519rm -f $RPM_BUILD_ROOT%{_bindir}/moc
520rm -f $RPM_BUILD_ROOT%{_bindir}/qmake
521rm -f $RPM_BUILD_ROOT%{_bindir}/qtconfig
522rm -f $RPM_BUILD_ROOT%{_bindir}/uic
523rm -f $RPM_BUILD_ROOT%{_bindir}/uic3
524rm -f $RPM_BUILD_ROOT%{_bindir}/designer
525rm -f $RPM_BUILD_ROOT%{_bindir}/linguist
526rm -f $RPM_BUILD_ROOT%{_bindir}/lrelease
527rm -f $RPM_BUILD_ROOT%{_bindir}/lupdate
528
529%clean
530rm -rf $RPM_BUILD_ROOT
531
532%post -p /sbin/ldconfig
533
534%postun -p /sbin/ldconfig
535
536%post devel
537/sbin/update-alternatives --install \
538    %{_bindir}/assistant assistant %{qtdir}/bin/assistant 10
539/sbin/update-alternatives --install \
540    %{_bindir}/qtconfig qtconfig %{qtdir}/bin/qtconfig 10
541/sbin/update-alternatives --install \
542    %{_bindir}/qmake qmake %{qtdir}/bin/qmake 10 \
543    --slave %{_bindir}/moc \
544        moc \
545        %{qtdir}/bin/moc \
546    --slave %{_bindir}/uic \
547        uic \
548        %{qtdir}/bin/uic \
549    --slave %{_bindir}/lrelease \
550        lrelease \
551        %{qtdir}/bin/lrelease \
552    --slave %{_bindir}/lupdate \
553        lupdate \
554        %{qtdir}/bin/lupdate
555
556%posttrans devel
557# fix broken symlink if it's there
558if [ ! -f %{_bindir}/assistant ] ; then
559    /sbin/update-alternatives --auto assistant
560fi
561if [ ! -f %{_bindir}/qtconfig ] ; then
562    /sbin/update-alternatives --auto qtconfig
563fi
564if [ ! -f %{_bindir}/qmake ] ; then
565    /sbin/update-alternatives --auto qmake
566fi
567
568%postun devel
569if [ $1 -eq 0 ] ; then
570    /sbin/update-alternatives --remove assistant %{qtdir}/bin/assistant
571    /sbin/update-alternatives --remove qtconfig %{_qtdir}/bin/qtconfig
572    /sbin/update-alternatives --remove qmake %{_qtdir}/bin/qmake
573    /sbin/update-alternatives --auto assistant
574    /sbin/update-alternatives --auto qtconfig
575    /sbin/update-alternatives --auto qmake
576fi
577
578%post designer
579/sbin/update-alternatives --install \
580    %{_bindir}/designer designer %{qtdir}/bin/designer 10
581/sbin/update-alternatives --install \
582    %{_bindir}/linguist linguist %{qtdir}/bin/linguist 10
583
584%posttrans designer
585# fix broken symlink if it's there
586if [ ! -f %{_bindir}/designer ] ; then
587    /sbin/update-alternatives --auto designer
588fi
589if [ ! -f %{_bindir}/linguist ] ; then
590    /sbin/update-alternatives --auto linguist
591fi
592
593%postun designer
594if [ $1 -eq 0 ] ; then
595    /sbin/update-alternatives --remove designer %{qtdir}/bin/designer
596    /sbin/update-alternatives --remove linguist %{_qtdir}/bin/linguist
597    /sbin/update-alternatives --auto designer
598    /sbin/update-alternatives --auto linguist
599fi
600
601%post -n compat32-%{name} -p /sbin/ldconfig
602
603%postun -n compat32-%{name} -p /sbin/ldconfig
604
605%files
606%defattr(-,root,root,-)
607%doc FAQ LICENSE.* PLATFORMS README* changes*
608%config /etc/ld.so.conf.d/qt3.conf
609%{_libdir}/qt3
610%dir %{qtdir}
611%dir %{qtdir}/lib
612%if %{buildnonthread}
613%{qtdir}/lib/libqt.so.*
614%endif
615%{qtdir}/lib/libqt-mt.so.*
616%{qtdir}/etc/settings/qtrc
617%dir %{qtdir}/plugins
618%if %{immodule}
619%{qtdir}/plugins/inputmethods
620%endif
621%{qtdir}/lib/libqui.so.*
622%{qtdir}/lib/libeditor.a
623%{qtdir}/lib/libdesignercore.a
624%{qtdir}/lib/libqassistantclient.a
625
626%files devel
627%defattr(-,root,root,-)
628%attr(0755,root,root) %config /etc/profile.d/*
629%{qtdir}/bin/assistant
630%{qtdir}/bin/findtr
631%{qtdir}/bin/lrelease
632%{qtdir}/bin/lupdate
633%{qtdir}/bin/moc
634%{qtdir}/bin/qm2ts
635%{qtdir}/bin/qmake
636%{qtdir}/bin/qt20fix
637%{qtdir}/bin/qtconfig
638%{qtdir}/bin/qtrename140
639%{qtdir}/bin/uic
640%{qtdir}/include
641%{qtdir}/doc
642%{qtdir}/mkspecs
643%if %{buildnonthread}
644%{qtdir}/lib/libqt.so
645%endif
646%{qtdir}/lib/libqt-mt.so
647%{qtdir}/lib/libqui.so
648%{_mandir}/*/*
649%{_bindir}/assistant*
650%{_bindir}/findtr*
651%{_bindir}/lrelease*
652%{_bindir}/lupdate*
653%{_bindir}/moc*
654%{_bindir}/qm2ts*
655%{_bindir}/qmake*
656%{_bindir}/qt20fix*
657%{_bindir}/qtconfig*
658%{_bindir}/qtrename140*
659%doc doc/*
660%doc examples
661%doc tutorial
662%{_libdir}/pkgconfig/*.pc
663
664%if %{buildXt}
665%post Xt -p /sbin/ldconfig
666%postun Xt -p /sbin/ldconfig
667
668%files Xt
669%defattr(-,root,root,-)
670%{qtdir}/lib/libqmotif.so*
671%endif
672
673%if %{styleplugins}
674%files styles
675%defattr(-,root,root,-)
676%dir %{qtdir}/plugins/styles
677%{qtdir}/plugins/styles/*
678%endif
679
680%files ODBC
681%defattr(-,root,root,-)
682%{qtdir}/plugins/sqldrivers/libqsqlodbc*
683
684%files PostgreSQL
685%defattr(-,root,root,-)
686%{qtdir}/plugins/sqldrivers/libqsqlpsql*
687
688%files MySQL
689%defattr(-,root,root,-)
690%{qtdir}/plugins/sqldrivers/libqsqlmysql*
691
692%if %{buildstatic}
693%files static
694%defattr(-,root,root,-)
695%{qtdir}/lib/*.a
696%exclude %{qtdir}/lib/libeditor.a
697%exclude %{qtdir}/lib/libdesignercore.a
698%exclude %{qtdir}/lib/libqassistantclient.a
699%endif
700
701%files designer
702%defattr(-,root,root,-)
703%{_bindir}/designer*
704%{_bindir}/linguist*
705%dir %{qtdir}/plugins/designer
706%{qtdir}/plugins/designer/*
707%{qtdir}/bin/designer
708%{qtdir}/bin/linguist
709%config /etc/X11/applnk/Development/designer.desktop
710
711# compat32
712%if %{build_compat32}
713%files -n compat32-%{name}
714%defattr(-,root,root,-)
715%config /etc/ld.so.conf.d/qt3-i386.conf
716%{_libdir}/qt3
717%dir %{qtdir}
718%dir %{qtdir}/lib
719%if %{buildnonthread}
720%{qtdir}/lib/libqt.so.*
721%endif
722%{qtdir}/lib/libqt-mt.so.*
723%{qtdir}/etc/settings/qtrc
724%dir %{qtdir}/plugins
725%if %{immodule}
726%{qtdir}/plugins/inputmethods
727%endif
728%{qtdir}/lib/libqui.so.*
729%{qtdir}/lib/libeditor.a
730%{qtdir}/lib/libdesignercore.a
731%{qtdir}/lib/libqassistantclient.a
732
733%files -n compat32-%{name}-devel
734%defattr(-,root,root,-)
735%{qtdir}/bin/assistant
736%{qtdir}/bin/findtr
737%{qtdir}/bin/moc
738%{qtdir}/bin/qm2ts
739%{qtdir}/bin/qmake
740%{qtdir}/bin/qt20fix
741%{qtdir}/bin/qtconfig
742%{qtdir}/bin/qtrename140
743%{qtdir}/bin/uic
744%{qtdir}/include
745%{qtdir}/doc
746%{qtdir}/mkspecs
747%if %{buildnonthread}
748%{qtdir}/lib/libqt.so
749%endif
750%{qtdir}/lib/libqt-mt.so
751%{qtdir}/lib/libqui.so
752%{_libdir}/pkgconfig/*.pc
753%endif
754
755%changelog
756* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.8-16
757- rebuild with VineSeed environment
758- add Patch802 (qt-x11-free-3.3.8-freetype-2.5.x.patch)
759
760* Mon Jan 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.8-15
761- add Patch801 (qt-x11-free-3.3.8-gcc46.patch)
762
763* Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.8-14
764- rebuilt with MySQL-5.5.15
765
766* Tue May 24 2011 IWAI, Masaharu <iwai@alib.jp> 3.3.8-13
767- rebuild with unixODBC-2.2.14: broken by 3.3.8-12
768- add Vendor and Distribution tags
769
770* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 3.3.8-12
771- rebuilt with postgresql-9.0.3
772
773* Tue Apr 12 2011 IWAI, Masaharu <iwai@alib.jp> 3.3.8-11
774- add new unixODBC patch (Patch238) from Fedora qt3-3.3.8b-35
775
776* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.8-10
777- rebuilt with unixODBC-2.2.14 and cups-1.4.6
778
779* Tue Mar  8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.8-9
780- updated %%post. %%posttrans and %%postun section
781
782* Mon Sep 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.8-8
783- rebuilt with rpm-4.8.1 for pkg-config
784
785* Fri May 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.8-7
786- updated Requires of devel package
787
788* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.3.8-6
789- rebuilt with new toolchain
790- s/BuildPrereq/BuildRequires/
791- add Patch800 to build w/ gcc >= 4.3
792
793* Sat Jul 25 2009 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.8-5
794- added compat32 package for x86_64 arch support
795
796* Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.8-4
797- rebuilt with MySQL-5.1.34.
798
799* Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.8-3
800- changed qt-designer Group to Applications/Development
801- updated URL
802
803* Wed May 28 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-2
804- build with xorg-x11-7.3
805- update BuildPrereq and Requires
806
807* Mon Mar 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-1
808- fix release ([VineSeed:1527])
809- add Requires(post,postun): alternatives to -devel and -designer package
810
811* Sun Jan 20 2008 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.8-0vl6
812- replaced "LIBS+=-L/usr/lib/mysql" with "LIBS+=-L%%{_libdir}/mysql"
813
814* Thu Jan 17 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-0vl5
815- add Requires to devel package
816
817* Tue Dec  4 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-0vl4
818- drop Patch300 (OverTheSpot)
819
820* Thu Sep 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-0vl3
821- add Patch102 (CVE-2007-4137)
822
823* Thu Aug  2 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-0vl2
824- add Patch101 (CVE-2007-3388)
825
826* Tue Jun  5 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.8-0vl1
827- new upstream release
828- add Patch100 (CVE-2007-0242)
829- add Patch201
830- update Patch300, 500, 501 and 502
831- drop Patch1 (CVE-2006-4811), 301 (ATOK X) and 400 (AA)
832
833* Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3.5-0vl10
834- rebuild with libstdc++34
835
836* Sat Feb 10 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl9
837- import patches from FC
838  - patch504: fix-key-release-event-with-imm.diff
839  - patch505: immodule-unified-qt3.3.5-20060318-resetinputcontext.patch
840
841  * Thu Jun 29 2006 Than Ngo <than@redhat.com> 1:3.3.6-0.3.fc5
842  - fix #183302, IM preedit issue in kbabel
843
844  * Mon Jun 26 2006 Than Ngo <than@redhat.com> 1:3.3.6-0.2.fc5
845  - fix #156572, keyReleaseEvent issue
846
847* Tue Dec 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl8
848- use %%{_lib} instead of lib not to create broken symlinks on x86_64
849
850* Mon Nov 13 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl7
851- add Patch200 from fedora core
852- build with MySQL-5.0.27-0vl3
853
854* Tue Oct 24 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl6
855- add ld.so.conf.d and qt3.conf
856- update Patch1 (https://bugs.gentoo.org/attachment.cgi?id=100045)
857
858* Thu Oct 19 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl5
859- add Patch1 (CVE-2006-4811)
860
861* Tue Sep 19 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl4
862- move %%{_libdir}/qt3 from develop to main
863- fix typo
864- add patch503
865 -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm.1
866  - import qt-x11-immodule-unified-quiet.patch (patch503) from FC
867- add patch500-502
868 -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm
869  - add immodule for Qt support (patch500-502)
870    - patch500: revert some part of patch300,301 (conflict with patch501)
871    - patch501: immodule for Qt patch
872    - patch502: apply some part of patch300,301 again
873    cf. http://immodule-qt.freedesktop.org/
874        http://people.freedesktop.org/~daisuke/
875
876* Sun Sep 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.5-0vl3
877- added configure options for builing on 64-bit archs
878
879* Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl2
880- rebuild for VineSeed
881
882* Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl1
883- new upstream release
884- stop building nonthreaded libs
885- delete Obsoletes
886- add Patch0
887
888* Tue Jul  5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl6
889- rebuild for VineSeed
890
891* Tue Jul  5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl5
892- build for Vine3.1
893- add -v to configure option
894- move three static libs to main package
895
896* Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl4
897- rebuild for VineSeed
898
899* Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl3
900- (security) stop using rpath
901- cleanup this file
902
903* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl2
904- rebuild for VineSeed
905
906* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl1
907- new upstream release
908- update Patch400
909
910* Sat Dec 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl3
911- rebuld
912
913* Wed Nov 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl2
914- add Obsoletes: qt32-*
915
916* Sun Sep  5 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl1
917- source upgrade
918- remove patch100
919- update patch300 and remove patch302-303
920- update patch400
921- update BuildPrereq and Requires
922
923* Wed Jul 28 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
924- add patch302-303 from KuserML
925- delete lines about vine26
926
927* Sun Jun  6 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
928- add patch100 from webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/patches/
929
930* Fri Apr 30 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
931- source upgrade
932- remove patch100 (it is needed only for 3.3.1)
933
934* Sun Apr 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl3
935- rebuild with XOrg
936
937* Mon Mar 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl2
938- rebuild
939
940* Mon Mar  8 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
941- source upgrade
942- remove patch800
943- add patch100 (only for qt-x11-free-3.3.1)
944
945* Sun Feb  1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl3
946- enable cups support
947
948* Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
949- build for VineSeed with new toolchain
950- disable cup support
951
952* Wed Dec  3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
953- source upgrade
954- revised Patch402 and 403
955- remove Patch100
956- add patch800 to build against freetype2-2.1.7
957- (VinePlus/2.6) BuildPrereq: autoconf258
958
959* Sun Nov  9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
960- source upgrade
961- revised Patch400
962- remove Patch15
963
964* Sun Nov  2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl4
965- enable cups support
966
967* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl3
968- rebuild for Vine2.6
969
970* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl3
971- revised Patch400 and Patch402
972- clean up spec
973
974* Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl2
975- rebuild for Vine2.6
976
977* Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl2
978- revised Patch400-
979- clean up spec
980
981* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl1
982- rebuild for Vine2.6
983
984* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
985- source upgrade
986- add Patch100
987- remove Patch302 (it is included in this source)
988- stop using Patch400-
989- build with gcc-3.2.3
990- add export LANG=C
991- add *.pc (pkg-config files) to qt-devel package
992
993* Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl5
994- rebuild for Vine2.6
995
996* Wed Aug 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl5
997- add Patch302 to fix performance of jmode
998- change make option for SMP and add script
999
1000* Thu Jun 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl4
1001- update Patch400 and 401
1002
1003* Wed Jun 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl3
1004- change spec to build with g++-2.95.3
1005
1006* Mon Apr 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl2
1007- rebuild for Vine2.6
1008
1009* Wed Apr 16 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.1.2-0vl2
1010- rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
1011
1012* Fri Mar 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
1013- source upgrade
1014- remove all patches except patch15
1015- revised patch 300-
1016- stop building Xt package
1017
1018* Mon Feb 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl3
1019- revised patch 301 and 302
1020- enable patch 301 and 302 to Vine2.5/2.6
1021
1022* Sun Feb  9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl2
1023- change spec to build both VineSeed and Vine2.5/2.6
1024- re-number patch300-
1025- delete patch4 (qt-3.1.1 does not need it)
1026- add patch13 and 14
1027 -- Thu Dec 19 2002 Than Ngo <than@redhat.com> 3.1.1-3
1028  - add monospace patch file from Leon Ho (bug #79949)
1029  - add small patch file from Sysoltsev Slawa (bug #79731)
1030- add patch15
1031 -- Mon Dec 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>
1032  - Change qmlined.h to not include an attic header that is also not shipped
1033    with Red Hat Linux. This also fixes building unixODBC, that includes this
1034    header (apparently also without needing it).
1035
1036
1037* Sat Jan  4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
1038- source upgrade
1039- cleanup spec
1040- revised Patch7, 301
1041- add Patch306, 307, 308 from kde.gr.jp
1042
1043* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.0-0vl1
1044- source upgrade
1045- stop using objprelink2, it does not work with gcc3
1046- add Patch304 and Patch305 from www.kde.gr.jp/~akito/xft/patch_xft.html
1047- add Patch1 - Patch12 from rawhide 3.1.0-1.3
1048- add BuildPrereq: openMotif-devel >= 2.2.2 for build qt-Xt
1049- cleanup spec for build x11 package only
1050
1051* Mon Nov 11 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl3
1052- add export PATH=`pwd`:$PATH to %%build section
1053
1054* Tue Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl2
1055- objprelink2 support only i386 (add %%ifarch i386 ... again)
1056- delete BuildPrereq: libmng-static (it merged to libmng-devel)
1057- delete %%doc ANNOUNCE
1058- Requires: XFree86-gl instead of Mesa
1059
1060* Fri Oct  4 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl1
1061- add BuildPrereq: objprelink2 instead of BuildPrereq: objprelink
1062- add BuildPrereq: autoconf253 automake15
1063- delete Patch199 (objprelink2 do not need this patch)
1064- source upgrade
1065- revised all patches [Kdeveloper:02404]
1066- add man files to qt-devel sub-package
1067
1068* Tue Jul 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl5
1069- add patch304 from kde.gr.jp [Kdeveloper:02368]
1070
1071* Thu Jul  4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl4
1072- add patch303 from kde.gr.jp [Kdeveloper:02378]
1073
1074* Wed Apr 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl3
1075- add patch302 from kde.gr.jp
1076
1077* Thu Apr  4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl2
1078- revised patch300 from kde.gr.jp and XIMInputStyle=Over The Spot in qtrc
1079- add patch301 from kde.gr.jp
1080- make unixODBC plugin (delete define odbcplugins 0 and if %%{odbcplugins})
1081
1082* Sat Mar 30 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl1
1083- merged with rawhide 3.0.3-0.cvs20020314.1
1084- source update to 3.0.3
1085- add patch199 (objprelink)
1086- add patch300 and add defaultInputStyle=OverTheSpot in qtrc
1087- define cups 0 (Vine does not have cups)
1088- define odbcplugins 0 (unixODBC requires libqt-mt.so.2 of qt-2)
1089- cleanup spec
1090- There is Vine's previous changes, hacked for Vine
1091 -- Sat Jan  5 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-6vl4
1092  - rebuild with -xft support (XFree86-4.1.99.4)
1093 -- Mon Dec 31 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl3
1094  - rebuild with glibc-2.2.4
1095 -- Sun Nov 25 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl2
1096  - add Source2 and Patch4 (use objprelink, i386 only)
1097 -- Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl1
1098  - Build for VineSeed
1099  - Add qt.using_new_library.patch from Kondara
1100 -- Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
1101  - First build for Vine2.1.5
1102 -- Thu Apr 12 2001 Rex Dieter <rdieter@unl.edu> 2.3.0-0.6x.3
1103  - redhat 6.x backport based on rawhide's qt-2.3.0-3
1104  - remove -xft support (because we're using XFree-3)   
1105
1106* Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.3-0.cvs20020314.1
1107- Update to 3.0.3-pre, required for KDE3
1108- force -fPIC usage
1109- Remove conflict with qt2 < 2.3.2-1, the new qt2 2.3.1 is fixed and qt 2.3.2
1110  is broken
1111- Ship the qmake config files (so qmake works for building any 3rd party stuff,
1112  e.g. aethera)
1113
1114* Wed Mar  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-2
1115- Add some fixes from KDE's qt-copy CVS
1116- Pluginize image formats
1117
1118* Mon Feb 25 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-1
1119- 3.0.2 final
1120
1121* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.3
1122- Add GB18030 codec patch, #60034
1123- Force-build jpeg support, fixing #59775 and #59795
1124
1125* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.2
1126- Build with CUPS support
1127
1128* Fri Jan 18 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.1
1129- Fix up /usr/bin/moc links, they should point to qt3
1130
1131* Mon Jan 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020114.1
1132- Build styles directly into the main library for now, there's too much broken
1133  code out there depending on this ATM.
1134
1135* Wed Jan  9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020109.1
1136- Stop excluding alpha, gcc has been fixed
1137
1138* Tue Jan  8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020108.1
1139- Add fixes from CVS; this fixes the "Alt + F1, arrow up, arrow up doesn't work
1140  in KDE" bug
1141
1142* Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-2
1143- Fix up settings search path
1144- Add default qtrc allowing to use KDE 3.x Qt plugins
1145- Make sure QLibrary uses RTLD_GLOBAL when dlopen()ing libraries
1146
1147* Thu Dec 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.0-1
1148- Work around gcc bug #57467
1149
1150* Wed Dec 12 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1151- 3.0.1 final
1152
1153* Mon Dec 10 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-0.cvs20011210.1
1154- Update to current (needed by KDE 3.x)
1155- Rebuild with current libstdc++
1156- Temporarily disable building on alpha
1157- Fix build with PostgreSQL 7.2
1158
1159* Mon Nov 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
1160- Fix up glweak
1161
1162* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
1163- Give designer, uic, moc, etc. their real names - the qt2 versions
1164  have been renamed in qt2-2.3.2-1.
1165  Conflict with qt2 < 2.3.2-1.
1166
1167* Thu Oct 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-3
1168- Add symlink /usr/lib/qt-3.0.0 -> /usr/lib/qt3 and set QTDIR to the
1169  symlink, allowing to update to 3.0.1 without breaking rpath'ed binaries
1170
1171* Tue Oct 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-1
1172- 3.0.0 final
1173- fix some minor specfile bugs
1174- Modularize some more (image format plugins)
1175- Build codecs
1176
1177* Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta5.1
1178- beta5
1179- Share more code between qt-x11 and qt-embedded builds
1180
1181* Wed Aug 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta4.1
1182- beta4
1183- build the Motif style directly into Qt rather than as a plugin - Qt should
1184  always have at least one style...
1185- replace the designer3 symlink with a shell script that sets QTDIR correctly
1186  before launching designer
1187- Add desktop file for designer
1188
1189* Mon Aug  6 2001 Tim Powers <timp@redhat.com> 3.0.0-0.beta3.4
1190- explicitly include qm2ts, qmake, qtconfig in the devel package file list to avoid dangling symlinks
1191
1192* Thu Aug  2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.3
1193- Try yet another workaround for buildsystem breakages
1194
1195* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1196- Add another ugly workaround for build system problems, this should finally
1197  get rid of the dangling symlinks
1198
1199* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.2
1200- Rephrase parts of the spec file, hopefully pleasing the build system
1201
1202* Sun Jul 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.1
1203- beta3
1204- Fix dangling symlinks
1205
1206* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.2
1207- Fix up QSQL Postgres classes for Postgres 7.1.x
1208- Fix various bugs:
1209  - QtMultilineEdit and QtTableView should actually compile
1210  - Link libqsqlpsql with libpq
1211  - Don't link the base library with libmysqlclient, linking the MySQL
1212    module with it is sufficient
1213- Add missing const qualifier
1214- move the SQL drivers to separate packages to avoid dependencies
1215- build and install designer plugins - converting glade files to Qt is fun. ;)
1216- handle RPM_OPT_FLAGS
1217
1218* Tue May 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.1
1219- 3.0 beta 1
1220
1221* Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010516.1
1222- Update, remove conflicts with Qt 2.x
1223
1224* Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010514.1
1225- Initial build of 3.0 branch
1226
1227* Fri Apr 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-6
1228- Fix crashes on ia64, Patch from Bill Nottingham <notting@redhat.com>
1229- Allow building qt-nox
1230
1231* Fri Apr 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-5
1232- Make sure uic and designer use the libqui from the source tree, not
1233  a previously installed one.
1234  Linking uic-x11 against libqui-embedded is definitely not a feature. ;)
1235- The qclipboard fix is needed for qt-x11 only, don't apply it if we're
1236  building qt-embedded
1237
1238* Sat Apr 14 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1239- Handle LPRng specific constructs in printcap, Bug #35937
1240
1241* Sun Mar 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
1242- add qfont patch from Trolltech
1243
1244* Tue Mar 13 2001 Harald Hoyer <harald@redhat.de>
1245- added patch for '@euro' language settings
1246
1247* Tue Mar  6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1248- 2.3.0 final
1249- BuildRequires XFree86-devel >= 4.0.2 (#30486)
1250
1251* Mon Feb 26 2001 Than Ngo <than@redhat.com>
1252- fix check_env function, so that qt does not crash if QT_XFT is not set
1253- fix symlinks
1254
1255* Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1256- 2.3.0b1
1257- Add a patch to qpsprinter that handles TrueType fonts even if they come from xfs
1258
1259* Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
1260- japanese input and clipboard fixes applied.  Changes have been sent upstream by patch authors.
1261
1262* Fri Feb  9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1263- Rebuild with new Mesa to get rid of pthreads linkage
1264- Add Xft fix from KDE CVS
1265
1266* Wed Feb  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1267- Add printing bugfix patch from Trolltech
1268
1269* Sat Feb  3 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1270- 2.2.4
1271- Qt Embedded: Add QVfb and VNC support
1272
1273* Tue Jan 16 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1274- Don't segfault when running Qt/Embedded applications as root
1275- Improve the Qt/Embedded sparc patch so we don't need the specfile hacks
1276  anymore
1277- Fix a bug in QPrintDialog (causing KDE Bug #18608)
1278
1279* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1280- bzip2 source to save space
1281- Qt/Embedded 2.2.3
1282- Fix qte build on sparc
1283
1284* Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1285- Run ldconfig in %%post and %%postun for qt-Xt
1286
1287* Sun Dec 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1288- Build with the Xrender extension
1289  (Patch from Keith Packard <keithp@keithp.com>)
1290
1291* Wed Dec 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1292- 2.2.3
1293
1294* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1295- Rebuild to fix permissions on doc dir
1296- Don't exclude ia64 anymore
1297
1298* Fri Nov 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1299- Fix up uic (Patch from trolltech)
1300
1301* Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1302- Build qt-embedded
1303  changes to base: fix build, fix ISO C99 compliance, fix 64bit support
1304
1305* Mon Nov 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1306- 2.2.2
1307
1308* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1309- call ldconfig for updating (Bug #19687)
1310- added patch from Trolltech, thanks to Rainer <rms@trolltech.com>
1311
1312* Wed Oct 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1313- Add missing msg2qm, msgmerge, qconfig tools (Bug #18997), introduced
1314  by broken Makefiles in base
1315- fix up %%install so it works both with old-style and new-style fileutils
1316  (fileutils <= 4.0z don't know about -L)
1317
1318* Fri Oct 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1319- Disable exception handling; this speeds up KDE 2.x and reduces its
1320  memory footprint by 20 MB.
1321
1322* Tue Oct 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1323- dereference symlinks in include
1324
1325* Sun Oct  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1326- fix -devel
1327- update to the new version of 2.2.1 on trolltech.com; the initial tarball
1328  contained broken docs
1329
1330* Thu Oct  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1331- 2.2.1
1332
1333* Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1334- Add missing uic
1335
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
1348* Tue Sep 12 2000 Than Ngo <than@redhat.com>
1349- update release 2.2.0
1350- changed copyright to GPL
1351- added missing static libraries
1352- made symbolic link for designer to load the help files correct
1353- made designer and designer-kde2 as sub packages
1354- added missing templates for designer
1355- remove jakub patch, since the release 2.2.0 already
1356  contains this patch.
1357- fixed qt again to compile with gcc-2.96
1358- use make -j for building
1359
1360* Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1361- Work around compiler bugs (Patch from Jakub)
1362- Use relative symlinks (Bug #16750)
1363
1364* Mon Aug 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1365- beta2
1366
1367* Mon Aug 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1368- new qt-copy from KDE2 CVS
1369
1370* Wed Aug 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1371- official beta 1
1372
1373* Thu Aug 3 2000 Than Ngo <than@redhat.de>
1374- rebuilt against the libpng-1.0.8
1375
1376* Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1377- rebuild (so we have it on all arches)
1378
1379* Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1380- move man pages to a more reasonable place (this fixes Bug #14126)
1381- exclude ia64 for now (compiler problems!!!)
1382
1383* Mon Jul 24 2000 Harald Hoyer <harald@redhat.de>
1384- modified connect patch to fit qt 2.2.0 beta.
1385
1386* Thu Jul 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1387- update to current qt-copy; this is now a qt 2.2.0 beta.
1388
1389* Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1390- update to current qt-copy in kde CVS, required
1391
1392* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1393- automatic rebuild
1394
1395* Tue Jul 11 2000 Harald Hoyer <harald@redhat.de>
1396- made patch smaller and binary compatible when recompiled with 6.2
1397- modified connect and moc to cope with the new g++ class layout
1398
1399* Sun Jul 09 2000 Than Ngo <than@redhat.de>
1400- rebuilt qt with gcc-2.96-34
1401
1402* Fri Jul 07 2000 Than Ngo <than@redhat.de>
1403- rebuilt qt with c++ 2.96
1404
1405* Mon Jul  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1406- Fix dependancies
1407
1408* Sun Jul  2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1409- Use egcs++ for now ** FIXME
1410
1411* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
1412- fix up qt.sh
1413
1414* Sun Jun 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1415- Build in jpeg and threading support
1416- Fix a bug in clipboard pasting code
1417
1418* Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
1419- fix qt.{sh,csh}
1420- use new rpm macro paths
1421- package man pages
1422
1423* Fri Jun  2 2000 Bill Nottingham <notting@redhat.com>
1424- build without optimization on ia64
1425
1426* Mon May 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1427- 2.1.1
1428
1429* Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
1430- recompile with correct libstdc++
1431
1432* Thu Apr 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1433- 2.1.0 final
1434
1435* Wed Apr  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1436- beta4
1437- depend on libGL.so.1 rather than Mesa - XFree86 4.0 provides that
1438  lib, too
1439
1440* Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1441- beta3
1442
1443* Tue Mar  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1444- beta2
1445- fix compilation of the NSPlugin add-on
1446
1447* Fri Mar  3 2000 Bill Nottingham <notting@redhat.com>
1448- fix %postun script
1449
1450* Fri Feb 18 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
1451- beta1
1452- get rid of qt-ImageIO, the functionality is now in the main Qt library
1453- remove qt-Network, the functionality is now in the main Qt library
1454- add changes-2.1.0 to %doc
1455
1456* Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
1457- no refcount check on postun script, we want it to happen even on upgrades
1458
1459* Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1460- new snapshot, should fix QWhatsThisButton
1461- remove executable permissions from *.pro files
1462
1463* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
1464- strip binaries in examples, tutorial
1465
1466* Mon Jan 31 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1467- new snapshot - should fix the hotkey bug
1468- Fix up the Makefiles so it compiles
1469
1470* Tue Jan 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1471- new snapshot - we need those QVariant fixes
1472
1473* Thu Jan 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1474- switch from glxMesa to Mesa for the GL addon
1475
1476* Wed Jan 5 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
1477- Fix up dependencies
1478- new snapshot
1479
1480* Mon Jan 3 2000 Ngo Than <than@redhat.de>
1481- new snapshot for Red Hat Linux 6.2
1482- increase version number
1483
1484* Mon Dec 20 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1485- new snapshot
1486- handle RPM_OPT_FLAGS
1487
1488* Mon Dec 13 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1489- new snapshot
1490- -GL requires libGL.so.1 instead of Mesa (might as well be glxMesa
1491  or some commercial OpenGL)
1492- -GL BuildPrereqs /usr/X11R6/include/GL/gl.h instead of Mesa-devel
1493  (might as well be glxMesa or some commercial OpenGL)
1494
1495* Sun Dec 05 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1496- update to current RSYNC version
1497- remove compilation patch - it finally works out of the box
1498
1499* Wed Oct 27 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1500- update to current CVS snapshot
1501- build extensions
1502- add patch to fix QNetwork compilation
1503
1504* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.de>
1505- current CVS snapshot
1506- fix compilation with gcc 2.95.x
1507- use install -c rather than just install to make BSD install happy
1508
1509* Mon Oct 11 1999 Bernhard Rosenkraenzer <bero@redhat.de>
1510- 2.1.0 snapshot (for KDE2)
1511- Fix typo in spec
1512
1513* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
1514- don't ship tutorial or example binaries
1515
1516* Tue Sep 21 1999 Preston Brown <pbrown@redhat.com>
1517- substitution in tutorial and examples so that dependencies are correct and
1518  they can be successfully rebuilt.
1519- switched to completely using QTDIR.  trying to coexist with links into
1520  /usr/{include,lib} and still compile with qt 1.x is very hard for
1521  configure scripts to cope with.
1522
1523* Thu Aug 19 1999 Preston Brown <pbrown@redhat.com>
1524- implemented QTDIR compatibility.
1525
1526* Tue Jul 20 1999 Preston Brown <pbrown@redhat.com>
1527- qt 2.0.1 packaged.
1528
1529* Wed Jul 14 1999 Preston Brown <pbrown@redhat.com>
1530- Qt 2.00 packaged.
1531- examples, html documentation, tutorial moved to /usr/doc
1532
1533* Sat Apr 17 1999 Preston Brown <pbrown@redhat.com>
1534- static library supplied in dev package.
1535
1536* Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
1537- turn on internal GIF reading support
1538
1539* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
1540- strip binaries
1541
1542* Mon Mar 15 1999 Preston Brown <pbrown@redhat.com>
1543- upgrade to qt 1.44.
1544
1545* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
1546- Injected new description and group.
1547
1548* Tue Jan 19 1999 Preston Brown <pbrown@redhat.com>
1549- moved includes to /usr/include/qt
1550
1551* Mon Jan 04 1999 Preston Brown <pbrown@redhat.com>
1552- made setup phase silent.
1553
1554* Fri Dec 04 1998 Preston Brown <pbrown@redhat.com>
1555- upgraded to qt 1.42, released today.
1556
1557* Tue Dec 01 1998 Preston Brown <pbrown@redhat.com>
1558- took Arnts RPM and made some minor changes for Red Hat.
Note: See TracBrowser for help on using the repository browser.