请版主看下这个修改后qt3.6.spec有没有不妥的地方
我修改的qt.spec文件,已经成功打包进odbc、pgsql、mysql及style插件。如果生成的这些包在其它人的机子上安装,只要把相应的数据库安装到/usr/local就能直接使用,对么?需要的朋友可以索要。
qt.spec:
%define qt_dirname qt-3.3
%define qtdir %{_libdir}/%{qt_dirname}
# define to enable immodule -- Rex
%define immodule 0
# 64bit arch
%define arch64 x86_64 s390x ppc64
# build Motif extention
%define motif_extention 0
# buildstatic: Build libs for static linking
# TODO: static build broken, don't enable until fixed. -- Rex
%define buildstatic 0
# Build SQL plugins
%define buildSQL 1
# define to use the dlopen-opengl optimization-- Rex
%define dlopen_opengl -dlopen-opengl
# Build QT styles into -styles subpkg
%define styleplugins 1
# visibility
%define enable_hidden_visibility 0
%define debug 0
%define ver 3.3.6
%define cvs 0
%define desktop_file 1
%define cvsdate 20050419
Summary: The shared library for the Qt GUI toolkit.
Name: qt
Version: %{ver}
Release: 7mgc
%if %{cvs}
Source: ftp://ftp.troll.no/qt/source/qt-copy-%{cvsdate}.tar.gz
%else
Source: ftp://ftp.troll.no/qt/source/qt-x11-free-%{version}-snapshot-20060110.tar.bz2
%endif
Prefix:%{qtdir}
URL: http://www.troll.no/
License: GPL/QPL
Group: System Environment/Libraries
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch1: qt-3.3.4-print-CJK.patch
Patch2: qt-3.0.5-nodebug.patch
Patch3: qt-3.1.0-makefile.patch
Patch5: qt-x11-free-3.3.0-strip.patch
Patch7: qt-x11-free-3.3.2-quiet.patch
Patch8: qt-x11-free-3.3.3-qembed.patch
Patch12: qt-uic-nostdlib.patch
Patch13: qt-x11-free-3.3.4-qfontdatabase_x11.patch
Patch14: qt-x11-free-3.3.3-gl.patch
Patch16: qt-x11-free-3.3.4-fullscreen.patch
Patch17: qt-x11-free-3.3.4-gcc4.patch
Patch18: qt-x11-free-3.3.4-gcc4-buildkey.patch
Patch19: qt-visibility.patch
Patch20: qt-x11-free-3.3.5-uic.patch
# immodule patches
Patch50: qt-x11-immodule-unified-qt3.3.5-20051018.diff.bz2
Patch51: qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch
Patch52: qt-x11-free-3.3.4-imm-key.patch
# qt-copy patches
Patch100: 0038-dragobject-dont-prefer-unknown.patch
Patch101: 0047-fix-kmenu-width.diff
Patch102: 0048-qclipboard_hack_80072.patch
Patch103: 0051-qtoolbar_77047.patch
#ML patches
Patch10001: xim1.patch
Patch10002: xim2.patch
Patch10003:qt-x11-free-3.3.5-qpsprinter-useFreeType2.patch
Patch10004:qapplication_x11_for_kaffeine.patch
Patch10005:qt-x11-free-3.3.5-scripts-char.patch
Patch10006: xim2-no_immodule.patch
Patch10007: qt-x11-free-3.3.6-xim_fix.patch
%define theme %{name}
Prereq: /sbin/ldconfig
Prereq: fileutils
# Wierd, but true. (-: -- Rex
#BuildConflicts: qt < %{version}
BuildRequires: libmng-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: perl
BuildRequires: sed
BuildRequires: findutils
BuildRequires: cups-devel
BuildRequires: pkgconfig
## gcc version in use?
BuildRequires: gcc-c++
%define gcc_ver %(rpm -q --qf '%%{version}' gcc-c++ )
# turn off, for now -- Rex
#if "%{gcc_ver}" == "2.96"
#define cxa -fuse-cxa-atexit
#endif
## XFree86/Xft support
BuildRequires: xorg-x11-devel >= 6.8.2
%define fc_ver 2.0
BuildRequires: fontconfig-devel >= %{fc_ver}
%define xfree86_ver %(rpm -q --qf '%%{version}' XFree86-devel )
%if "%{xfree86_ver}" >= "4.3.0"
%define xfree86_opts -xrandr
#-xcursor
%else
# Pre xfree86-4.3.0 builded Xft(2) separately
BuildRequires: libXft-devel >= %{fc_ver}
#Requires: Xft >= %{fc_ver}
%endif
%define xft_flags %(pkg-config xft >& /dev/null && pkg-config --cflags --libs xft)
# Let rpm auto-detect these -- Rex
#Requires: cups-libs
#Requires: freetype
#Requires: libjpeg
#Requires: libpng
# Requires: libmng
%if %{motif_extention}
BuildRequires: openmotif-devel >= 2.2.2
%else
Obsoletes: qt-Xt < %{version}-%{release}
%endif
%if "%{buildstatic}" == "1"
BuildRequires: libmng-static
%endif
Conflicts: qt2 <= 2.3.1-3
Provides:libqt.so.3
%if ! %{styleplugins}
Obsoletes: qt-styles < %{version}-%{release}
Provides:qt-styles = %{version}-%{release}
%endif
%description
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.
Qt is written in C++ and is fully object-oriented.
This package contains the shared library needed to run qt
applications, as well as the README files for qt.
%package config
Summary: Grapical configuration tool for programs using Qt
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
%description config
A grapical configuration tool for programs using Qt.
%package devel
Summary: Development files and documentation for the Qt GUI toolkit.
Group: Development/Libraries
Conflicts: qt2-devel <= 2.3.1-3
Requires: %{name} = %{version}-%{release}
%if ! %{buildstatic}
Obsoletes: qt-static< %{version}-%{release}
%endif
Requires: XFree86-devel
Requires: libstdc++-devel
Requires: libpng-devel
Requires: libjpeg-devel
Requires: libmng-devel
%description devel
The qt-devel package contains the files necessary to develop
applications using the Qt GUI toolkit: the header files, the Qt meta
object compiler, the man pages, the HTML documentation and example
programs. See http://www.trolltech.com/products/qt.html for more
information about Qt, or look at
%{qtdir}/html/index.html,
which provides Qt documentation in HTML format.
Install qt-devel if you want to develop GUI applications using the Qt
toolkit.
%package Xt
Summary: An Xt (X Toolkit) compatibility add-on for the Qt GUI toolkit.
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description Xt
An Xt (X Toolkit) compatibility add-on for the Qt GUI toolkit.
%if %{styleplugins}
%define plugins_style -qt-style-cde -qt-style-motif -qt-style-motifplus -qt-style-platinum -qt-style-sgi -qt-style-windows -qt-style-compact
%endif
%if %{buildSQL}
%define plugins_sql -plugin-sql-mysql -plugin-sql-psql -plugin-sql-odbc
%endif
%package static
Summary: Version of the Qt GUI toolkit for static linking
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Version of the Qt library for static linking
%package designer
Summary: Interface designer (IDE) for the Qt toolkit
Group: Development/Tools
Requires: %{name}-devel = %{version}-%{release}
%description designer
Contains a User Interface designer tool for the Qt toolkit.
%prep
%if %{cvs}
%setup -q -n qt-copy-%{cvsdate}
%else
%setup -q -n qt-x11-free-%{version}-snapshot-20060110
%endif
%if %{cvs}
# clean up source tree
find . -type d -name CVS | xargs rm -rf
# for qt-copy in KDE CVS
[ -x apply_patches ] && ./apply_patches
%endif
##redhat patches
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch5 -p1
%patch7 -p1
%patch8 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch16 -p1 -b .fullscreen
%if %{enable_hidden_visibility}
%patch19 -p1 -b .hidden_visibility
%endif
%patch20 -p1 -b .uic
%if %{immodule}
%patch50 -p1
%patch51 -p1 -b .quiet
%patch52 -p1 -b .key
%endif
## qt-copy patches
%patch100 -p0 -b .0038-dragobject-dont-prefer-unknown
%patch101 -p0 -b .0047-fix-kmenu-width
%patch102 -p0 -b .0048-qclipboard_hack_80072
%patch103 -p0 -b .0051-qtoolbar_77047
## ML patches
%patch10001 -p1
%if %{immodule}
%patch10002 -p1 -b .xim2
%else
%patch10006 -p1 -b .xim2
%endif
%patch10003 -p1
%patch10004 -p1
%patch10005 -p1
%patch10007 -p1 -b .xim_fix
# for qt-copy in KDE CVS
%if %{cvs}
[ -f Makefile.cvs ] && make -f Makefile.cvs
%endif
%build
export QTDIR=$(pwd)
export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
export PATH="$QTDIR/bin:$PATH"
export QTDEST=%{qtdir}
%if %{immodule}
sh ./make-symlinks.sh
%endif
# set some default FLAGS
%ifarch ia64
OPTFLAGS="-O0"
%else
OPTFLAGS="$RPM_OPT_FLAGS"
%endif
# don't use rpath
perl -pi -e "s|-Wl,-rpath,| |" mkspecs/*/qmake.conf
# set correct FLAGS
perl -pi -e "s|-O2|$INCLUDES $OPTFLAGS|g" mkspecs/*/qmake.conf
# set correct lib path
if [ "%{_lib}" == "lib64" ] ; then
perl -pi -e "s,/lib, /%{_lib},g" config.tests/unix/{checkavail,cups.test,nis.test}
fi
# build shared, threaded (default) libraries
echo yes | ./configure \
-prefix $QTDEST \
-docdir %{_docdir}/qt-devel-%{version}/ \
%if %{_lib} == lib64
-platform linux-g++-64 \
%else
-platform linux-g++ \
%endif
%if %{debug}
-debug \
%else
-release \
%endif
-shared \
%{dlopen_opengl} \
-largefile \
-qt-gif \
-system-zlib \
-system-libpng \
-system-libmng \
-system-libjpeg \
-no-exceptions \
-enable-tools \
-enable-kernel \
-enable-widgets \
-enable-dialogs \
-enable-iconview \
-enable-workspace \
-enable-network \
-enable-canvas \
-enable-table \
-enable-xml \
-qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng \
-stl \
-thread \
-cups \
-sm \
-xkb \
-ipv6 \
-xinerama \
-xrender -xft %{xft_flags} %{xfree86_opts}
%if %{buildSQL}
# build psql plugin
pushd plugins/src/sqldrivers/psql
qmake -o Makefile "INCLUDEPATH+=/usr/local/pgsql/include /usr/local/pgsql/include/server /usr/local/pgsql/include/internal" "LIBS+=-L/usr/local/pgsql/lib -lpq" psql.pro
popd
# build mysql plugin
pushd plugins/src/sqldrivers/mysql
qmake -o Makefile "INCLUDEPATH+= /usr/local/mysql/include/mysql" "LIBS+=-L/usr/local/mysql/lib/mysql -lmysqlclient" mysql.pro
popd
pushd plugins/src/sqldrivers/odbc
qmake -o Makefile "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lodbc" odbc.pro
popd
%endif
make %{_smp_mflags}
# build Xt/Motif Extention
%if %{motif_extention}
make %{_smp_mflags} -C extensions/motif/src
%endif
# build static libraries, if requested.
%if %{buildstatic}
cp -aR lib lib-bld
cp -aR bin bin-bld
make clean
rm -rf lib bin
mv lib-bld lib
mv bin-bld bin
echo yes | ./configure \
-prefix $QTDEST \
%if %{debug}
-debug \
%else
-release \
%endif
-largefile \
%{dlopen_opengl} \
-static \
-qt-gif \
-system-zlib \
-system-libpng \
-system-libmng \
-system-libjpeg \
-no-exceptions \
-enable-tools \
-enable-kernel \
-enable-widgets \
-enable-dialogs \
-enable-iconview \
-enable-workspace \
-enable-network \
-enable-canvas \
-enable-table \
-enable-xml \
%{plugins_sql} \
%{plugins_style} \
-stl \
-thread \
-cups \
-sm \
-xinerama \
-xft %{xft_flags} \
-xrender \
%{xfree86_opts} \
-xkb
make %{_smp_mflags}
%endif
%install
rm -rf $RPM_BUILD_ROOT
export QTDIR=$(pwd)
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/doc/man:$MANPATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDEST=%{qtdir}
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_docdir}/qt{,-devel}-%{version},%{_mandir}/{man1,man3}}
mkdir -p $RPM_BUILD_ROOT%{qtdir}/{bin,include,lib,plugins}
mkdir -p $RPM_BUILD_ROOT%{qtdir}/plugins/{sqldrivers,styles}
make install INSTALL_ROOT=$RPM_BUILD_ROOT/
%if %{buildSQL}
pushd plugins/src/sqldrivers/psql
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/sqldrivers/mysql
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/sqldrivers/odbc
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
%endif
%if %{styleplugins}
pushd plugins/src/styles/cde
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/styles/compact
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/styles/motif
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/styles/motifplus
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/styles/platinum
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/styles/sgi
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
pushd plugins/src/styles/windows
make
make install INSTALL_ROOT=$RPM_BUILD_ROOT
popd
%endif
for i in findtr qt20fix qtrename140 lrelease lupdate ; do
install bin/$i %{buildroot}%{qtdir}/bin/
done
# create/fix symlinks, lib64 fixes
/sbin/ldconfig -n $RPM_BUILD_ROOT%{qtdir}/%{_lib}
for link in qt.so qt.so.3 ; do
ln -sf libqt-mt.so.%{version} $RPM_BUILD_ROOT%{qtdir}/%{_lib}/lib${link}
done
pushd mkspecs
rm -rf default
if [ "%_lib" == "lib64" ]; then
ln -sf linux-g++-64 default
else
ln -sf linux-g++ default
fi
popd
cp -aR mkspecs %{buildroot}%{qtdir}
# Handle pkgconfig file
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
cp -lf $RPM_BUILD_ROOT%{qtdir}/lib/pkgconfig/*.pc \
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/
# install man pages
mkdir -p %{buildroot}%{_mandir}
cp -af doc/man/* %{buildroot}%{_mandir}/
rm -rf doc/man
## Fixup examples/tutorials
# don't include Makefiles of qt examples/tutorials
make -C examples clean
make -C tutorial clean
# Make sure the examples can be built outside the source tree.
# Our binaries fulfill all requirements, so...
perl -pi -e "s,^DEPENDPATH.*,,g;s,^REQUIRES.*,,g" `find examples -name "*.pro"`
# don't include Makefiles of qt examples/tutorials
find examples -name "Makefile" | xargs rm -f
find examples -name "*.obj" | xargs rm -rf
find examples -name "*.moc" | xargs rm -rf
find tutorial -name "Makefile" | xargs rm -f
for a in */*/Makefile ; do
sed 's|^SYSCONF_MOC.*|SYSCONF_MOC = %{qtdir}/bin/moc|' < $a > ${a}.2
mv -v ${a}.2 $a
done
## qt.sh, qt.csh
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
cat > $RPM_BUILD_ROOT/etc/profile.d/qt.sh <<EOF
# Qt initialization script (sh)
if [ -z "\$QTDIR" ] ; then
QTDIR="%{qtdir}"
export QTDIR
fi
EOF
cat > $RPM_BUILD_ROOT/etc/profile.d/qt.csh <<EOF
# Qt initialization script (csh)
if ( ! \$?QTDIR ) then
setenv QTDIR %{qtdir}
endif
EOF
chmod 755 $RPM_BUILD_ROOT/etc/profile.d/*
mkdir -p %{buildroot}%{_bindir}
for i in bin/*; do
ln -s ../%{_lib}/%{qt_dirname}/bin/`basename $i` $RPM_BUILD_ROOT%{_bindir}/
done
# make symbolic link to qt docdir
rm -rf $RPM_BUILD_ROOT%{qtdir}/doc
ln -sf%{_prefix}/share/doc/%{name}-devel-%{version} $RPM_BUILD_ROOT%{qtdir}/doc
# Add desktop file
%if %{desktop_file}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat >$RPM_BUILD_ROOT%{_datadir}/applications/qt-designer.desktop <<EOF
%else
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applnk/Development
cat >$RPM_BUILD_ROOT%{_datadir}/applnk/Development/designer.desktop <<EOF
%endif
BinaryPattern=designer;
Name=Qt Designer
GenericName=Interface Designer
Exec=designer
Icon=designer
InitialPreference=5
MapNotify=true
MimeType=application/x-designer;
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Qt;Application;Development;X-Red-Hat-Extra;
X-Desktop-File-Install-Version=0.3
EOF
# move into redhat-artwork?No -- Rex
# Sane default settings
mkdir -p $RPM_BUILD_ROOT%{qtdir}/etc/settings
cat >$RPM_BUILD_ROOT%{qtdir}/etc/settings/qtrc <<"EOF"
libraryPath=/usr/lib/qt-3.3/plugins:/usr/lib/kde3/plugins
XIMInputStyle=Over The Spot
cursorFlashTime=1000
doubleClickInterval=400
embedFonts=true
enableXft=true
font=Tahoma,10,-1,5,48,0,0,0,0,0
fontPath=\0
globalStrut=0^e0^e
resolveSymlinks=true
style=Keramik
useRtlExtensions=false
useXft=true
wheelScrollLines=3
contrast=7
kdeAddedLibraryPaths=~/.kde/lib/kde3/plugins/^e/usr/lib/kde3/plugins/^e
activeBackground=#6b91b8
activeBlend=#6b91b8
activeForeground=#ffffff
activeTitleBtnBg=#7f9ec8
frame=#efefef
inactiveBackground=#9daaba
inactiveBlend=#9daaba
inactiveForeground=#dddddd
inactiveFrame=#efefef
inactiveTitleBtnBg=#a7b5c7
active=#000000^e#e1e3e8^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0a5f89^e#890a89^e
disabled=#808080^e#e1e3e8^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#c7c7c7^e#ffffff^e#808080^e#ffffff^e#efefef^e#000000^e#567594^e#ffffff^e#0a5f89^e#890a89^e
inactive=#000000^e#e1e3e8^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0a5f89^e#890a89^e
EOF
# qt-theme
mv $RPM_BUILD_ROOT%{qtdir}/etc/settings/qtrc \
$RPM_BUILD_ROOT%{qtdir}/etc/settings/qtrc.%{theme}
touch $RPM_BUILD_ROOT%{qtdir}/etc/settings/qtrc
# remove some crud
rm -rf $RPM_BUILD_ROOT%{qtdir}/plugins/src \
$RPM_BUILD_ROOT%{qtdir}/lib/README
# $RPM_BUILD_ROOT%{qtdir}/lib/*.prl \
# $RPM_BUILD_ROOT%{qtdir}/plugins/*.prl
# $RPM_BUILD_ROOT%{qtdir}/lib/*.la
# prepare to own possibly-generated config
touch $RPM_BUILD_ROOT%{qtdir}/etc/settings/qt_plugins_3.3rc
pushd mkspecs
rm -fr default
if [ "%_lib" == "lib64" ]; then
ln -sf linux-g++-64 default
else
ln -sf linux-g++ default
fi
popd
cp -aR mkspecs %{buildroot}%{qtdir}
# Patch qmake to use qt-mt unconditionally
perl -pi -e "s,-lqt ,-lqt-mt ,g;s,-lqt$,-lqt-mt,g" %{buildroot}%{qtdir}/mkspecs/*/qmake.conf
# remove broken links
rm -f %{buildroot}%{qtdir}/mkspecs/default/linux-g++*
#rm -f %{buildroot}%{qtdir}/lib/*.la
# for newer ld.so's
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{qtdir}/lib" > %{buildroot}/etc/ld.so.conf.d/qt.conf
%clean
rm -rf $RPM_BUILD_ROOT
%pre devel
# This *should* be a symlink, otherwise nuke
DIR1=%{qtdir}/doc
[ ! -L "${DIR1}" ] && /bin/rm -rf "${DIR1}"
exit 0
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc FAQ LICENSE.QPL README* changes*
/etc/ld.so.conf.d/*
%attr(0755,root,root) %config /etc/profile.d/*
%dir %{qtdir}
%dir %{qtdir}/bin
%dir %{qtdir}/lib
%{qtdir}/lib/lib*.so.*
%dir %{qtdir}/etc
%dir %{qtdir}/etc/settings
# qt-theme
%config(noreplace) %{qtdir}/etc/settings/*rc.%{theme}
%ghost%{qtdir}/etc/settings/*rc
%ghost %verify(not md5 size mtime) %{qtdir}/etc/settings/qt_plugins_3.3rc
%dir %{qtdir}/plugins
%if %{immodule}
%{qtdir}/plugins/inputmethods
%endif
%files config
%defattr(-,root,root,-)
%{qtdir}/bin/qtconfig
%{_bindir}/qtconfig*
%files devel
%defattr(-,root,root,-)
%{qtdir}/bin/moc
%{qtdir}/bin/uic
%{qtdir}/bin/findtr
%{qtdir}/bin/qt20fix
%{qtdir}/bin/qtrename140
%{qtdir}/bin/assistant
%{qtdir}/bin/qm2ts
%{qtdir}/bin/qmake
%{qtdir}/bin/qembed
%{qtdir}/bin/linguist
%{qtdir}/bin/lupdate
%{qtdir}/bin/lrelease
%{qtdir}/include
%{qtdir}/mkspecs
%{qtdir}/lib/libqt*.so
%{qtdir}/lib/libqui.so
%{qtdir}/lib/libqt-mt.la
%{qtdir}/lib/libeditor.a
%{qtdir}/lib/libdesigner*.a
%{qtdir}/lib/libqassistantclient.a
%{qtdir}/lib/*.prl
#%{_mandir}/*/*
%{qtdir}/translations
%{qtdir}/phrasebooks
%{_bindir}/assistant*
%{_bindir}/moc*
%{_bindir}/uic*
%{_bindir}/findtr*
%{_bindir}/qt20fix*
%{_bindir}/qtrename140*
%{_bindir}/qmake*
%{_bindir}/qm2ts*
%{_bindir}/qembed
%{_bindir}/linguist
%{_bindir}/lrelease
%{_bindir}/lupdate
%{_libdir}/pkgconfig/*
%{qtdir}/lib/pkgconfig
%{qtdir}/doc
%doc doc/html
%doc examples
%doc tutorial
%if %{motif_extention}
%post Xt -p /sbin/ldconfig
%postun Xt -p /sbin/ldconfig
%files Xt
%defattr(-,root,root,-)
%{qtdir}/lib/libqmotif.so*
%endif
%if %{styleplugins}
%defattr(-,root,root,-)
%dir %{qtdir}/plugins/styles
%{qtdir}/plugins/styles/*
%endif
%if %{buildSQL}
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlodbc*
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlpsql*
%defattr(-,root,root,-)
%{qtdir}/plugins/sqldrivers/libqsqlmysql*
%endif
%if %{buildstatic}
%files static
%defattr(-,root,root,-)
%{qtdir}/lib/*.a
%endif
%files designer
%defattr(-,root,root,-)
%{_bindir}/designer*
%dir %{qtdir}/plugins/designer
%{qtdir}/templates
%{qtdir}/plugins/designer/*
%{qtdir}/bin/designer
%if %{desktop_file}
%{_datadir}/applications/*.desktop
%else
%{_datadir}/applnk/Development/*
%endif
%changelog
* Sun Jan 15 2006 KanKer <[email protected]>
- update xim_fix_patch
* Thu Jan 10 2006 KanKer <[email protected]>
- fix xim_fix.patch bug
* Fri Jan 6 2006 KanKer <[email protected]>
- fix xim_fix.patch bug
- disable popup input mode
* Tue Dec 29 2005 KanKer <[email protected]>
- remove immodule patches
* Thu Dec 27 2005 KanKer <[email protected]>
- update 3.3.6-snapshot
* Tue Dec 13 2005 KanKer <[email protected]>
- fix a qlistview bug
* Sun Nov 27 2005 KanKer <[email protected]>
- fix a spec bug
- add a patch "qapplication_x11_for_kaffeine.patch" from cjacker
* Tue Nov 10 2005 KanKer <[email protected]>
- update update qt-x11-immodule-unified-qt3.3.5-20051018.diff
- update qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch
* Wed Sep 28 2005 KanKer <[email protected]>
- add uic workaround
* Tue Sep 15 2005 KanKer <[email protected]>
- update to 3.3.5
* Wed May 18 2005 KanKer <[email protected]>
- update immodules patch.
* Thu Apr 19 2005 KanKer <[email protected]>
- update to cvs20050419.
* Tue Mar 31 2005 KanKer <[email protected]>
- remove immodules patch.
* Sat Mar 19 2005 KanKer <[email protected]>
- remove qt-3.1.1-xcursors.patch
- build 3.3.4
* Tue Feb 22 2005 Than Ngo <[email protected]> 1:3.3.4-5
- fix application crash when input methode not available (bug #140658)
- remove .moc/.obj
- add qt-copy patch to fix KDE #80072
* Fri Feb 11 2005 Than Ngo <[email protected]> 1:3.3.4-4
- update qt-x11-immodule-unified patch
* Thu Feb 10 2005 Than Ngo <[email protected]> 1:3.3.4-3
- fix rpm file conflict
* Wed Feb 02 2005 Than Ngo <[email protected]> 1:3.3.4-2
- remove useless doc files #143949
- fix build problem if installman is disable #146311
- add missing html/examples/tutorial symlinks
* Fri Jan 28 2005 Than Ngo <[email protected]> 1:3.3.4-1
- update to 3.3.4
- adapt many patches to qt-3.3.4
- drop qt-x11-free-3.3.0-freetype, qt-x11-free-3.3.3-qmake, qt-x11-free-3.3.1-lib64
qt-x11-free-3.3.3-qimage, which are included in new upstream
* Thu Nov 25 2004 KanKer <[email protected]>
- remove fakebold patch.
* Wed Oct 27 2004 KanKer <[email protected]>
- update fakebold patch from firefly.
* Mon Aug 23 2004 KanKer <[email protected]>
- 3.3.3 :neutral:
好长……………………
页:
[1]