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

Revision 9326, 49.2 KB checked in by inagaki, 9 years ago (diff)

2015-02-03 Ryoichi INAGAKI <ryo1@…>

  • qt, qt4: fixed spec


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