|
|
@ -49,6 +49,15 @@ BuildRequires: cups-devel
|
|
|
|
BuildRequires: tar
|
|
|
|
BuildRequires: tar
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# NAS support
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
|
|
|
|
|
|
|
%define with_nas 1
|
|
|
|
|
|
|
|
BuildRequires: nas-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Xrender support
|
|
|
|
# Xrender support
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
@ -219,8 +228,8 @@ applications, as well as the README files for TQt 3.
|
|
|
|
%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so
|
|
|
|
%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so
|
|
|
|
%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so
|
|
|
|
%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so
|
|
|
|
%{tde_libdir}/libtqt-mt.so.3
|
|
|
|
%{tde_libdir}/libtqt-mt.so.3
|
|
|
|
%{tde_libdir}/libtqt-mt.so.3.3
|
|
|
|
%{tde_libdir}/libtqt-mt.so.3.5
|
|
|
|
%{tde_libdir}/libtqt-mt.so.3.3.8
|
|
|
|
%{tde_libdir}/libtqt-mt.so.3.5.0
|
|
|
|
%{tde_libdir}/libtqt-mt.la
|
|
|
|
%{tde_libdir}/libtqt-mt.la
|
|
|
|
%{tde_libdir}/libtqui.so.1
|
|
|
|
%{tde_libdir}/libtqui.so.1
|
|
|
|
%{tde_libdir}/libtqui.so.1.0
|
|
|
|
%{tde_libdir}/libtqui.so.1.0
|
|
|
@ -238,7 +247,7 @@ applications, as well as the README files for TQt 3.
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%package config
|
|
|
|
%package config
|
|
|
|
Summary: Graphical configuration tool for programs using Qt 3
|
|
|
|
Summary: Graphical configuration tool for programs using TQt 3
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -258,7 +267,7 @@ This package contains a graphical configuration tool for programs using TQt 3.
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Qt 3 GUI toolkit
|
|
|
|
Summary: Development files for the TQt 3 GUI toolkit
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -387,7 +396,7 @@ sqlite driver for TQt 3's SQL classes (QSQL)
|
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%if %{?with_ibase}
|
|
|
|
%if 0%{?with_ibase}
|
|
|
|
%package ibase
|
|
|
|
%package ibase
|
|
|
|
Summary: ibase drivers for TQt 3's SQL classes
|
|
|
|
Summary: ibase drivers for TQt 3's SQL classes
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -404,7 +413,7 @@ ibase driver for TQt 3's SQL classes (QSQL)
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%package designer
|
|
|
|
%package designer
|
|
|
|
Summary: In3erface designer (IDE) for the Qt 3 toolkit
|
|
|
|
Summary: In3erface designer (IDE) for the TQt 3 toolkit
|
|
|
|
Group: Development/Tools
|
|
|
|
Group: Development/Tools
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -435,13 +444,13 @@ export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH
|
|
|
|
# Checks for supplementary include dir
|
|
|
|
# Checks for supplementary include dir
|
|
|
|
INCDIRS=""
|
|
|
|
INCDIRS=""
|
|
|
|
for d in \
|
|
|
|
for d in \
|
|
|
|
/usr/include/fontconfig \
|
|
|
|
%{_includedir}/fontconfig \
|
|
|
|
/usr/include/pgsql/server \
|
|
|
|
%{_includedir}/pgsql/server \
|
|
|
|
/usr/include/postgresql/server \
|
|
|
|
%{_includedir}/postgresql/server \
|
|
|
|
/usr/include/Xft2 \
|
|
|
|
%{_includedir}/Xft2 \
|
|
|
|
/usr/include/Xft2/X11/Xft \
|
|
|
|
%{_includedir}/Xft2/X11/Xft \
|
|
|
|
/usr/include/mysql \
|
|
|
|
%{_includedir}/mysql \
|
|
|
|
/usr/include/libpng15 \
|
|
|
|
%{_includedir}/libpng15 \
|
|
|
|
; do
|
|
|
|
; do
|
|
|
|
if [ -d "${d}" ]; then
|
|
|
|
if [ -d "${d}" ]; then
|
|
|
|
INCDIRS="${INCDIRS} -I${d}"
|
|
|
|
INCDIRS="${INCDIRS} -I${d}"
|
|
|
@ -503,7 +512,7 @@ echo yes | ./configure \
|
|
|
|
-system-libpng \
|
|
|
|
-system-libpng \
|
|
|
|
-system-libmng \
|
|
|
|
-system-libmng \
|
|
|
|
-system-libjpeg \
|
|
|
|
-system-libjpeg \
|
|
|
|
-system-nas-sound \
|
|
|
|
%{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \
|
|
|
|
\
|
|
|
|
\
|
|
|
|
-enable-opengl \
|
|
|
|
-enable-opengl \
|
|
|
|
-dlopen-opengl \
|
|
|
|
-dlopen-opengl \
|
|
|
@ -544,7 +553,7 @@ ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h
|
|
|
|
|
|
|
|
|
|
|
|
# fix QTDIR in 'qmake.conf'
|
|
|
|
# fix QTDIR in 'qmake.conf'
|
|
|
|
%__sed -i mkspecs/*/qmake.conf \
|
|
|
|
%__sed -i mkspecs/*/qmake.conf \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = /usr/include/tqt3|" \
|
|
|
|
-e "s|\$(QTDIR)|/usr|g" \
|
|
|
|
-e "s|\$(QTDIR)|/usr|g" \
|
|
|
|
-e "s|-lqt|-ltqt|g"
|
|
|
|
-e "s|-lqt|-ltqt|g"
|
|
|
|
|
|
|
|
|
|
|
@ -574,5 +583,5 @@ export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Feb 13 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.0-1
|
|
|
|
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.0-1
|
|
|
|
- Initial build for TDE R14.0.0
|
|
|
|
- Initial build for TDE R14.0.0
|
|
|
|