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

Revision 8793, 49.2 KB checked in by Takemikaduchi, 10 years ago (diff)

libXi, libcdio, libusb1, qt4: new upstream release
others: rebuild

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