summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-11-16 12:54:01 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2013-11-16 12:54:01 +0100
commitf0a3fcec33407b8f58343d0b63ce85c375e65917 (patch)
tree9584311affd495d76f5fbbd815de3cfea804b3e5 /redhat/dependencies/tqt3
parente72b5e345ea0f786ec9e0bb358c68cc736cdeccf (diff)
downloadtde-packaging-f0a3fcec33407b8f58343d0b63ce85c375e65917.tar.gz
tde-packaging-f0a3fcec33407b8f58343d0b63ce85c375e65917.zip
RPM Packaging: update other packages
Diffstat (limited to 'redhat/dependencies/tqt3')
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec87
1 files changed, 47 insertions, 40 deletions
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index 4abafed20..ce2890a07 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -305,24 +305,24 @@ toolkit.
%files devel
%defattr(-,root,root,-)
-%{tde_bindir}/conv2ui
-%{tde_bindir}/qvfb
+%{tde_bindir}/tqtconv2ui
+%{tde_bindir}/tqvfb
%{tde_bindir}/tqmoc
%{tde_bindir}/tquic
-%{tde_bindir}/findtr
-%{tde_bindir}/qt20fix
-%{tde_bindir}/qtrename140
+%{tde_bindir}/tqtfindtr
+%{tde_bindir}/tqt20fix
+%{tde_bindir}/tqtrename140
%{tde_bindir}/tqassistant
-%{tde_bindir}/qm2ts
+%{tde_bindir}/tqm2ts
%{tde_bindir}/tqmake
%{tde_bindir}/tqembed
%{tde_bindir}/tqlinguist
%{tde_bindir}/tqlupdate
%{tde_bindir}/tqlrelease
-%{tde_bindir}/createcw
-%{tde_bindir}/makeqpf
-%{tde_bindir}/mergetr
-%{tde_bindir}/msg2qm
+%{tde_bindir}/tqtcreatecw
+%{tde_bindir}/maketqpf
+%{tde_bindir}/tqtmergetr
+%{tde_bindir}/msg2tqm
%{tde_datadir}/tqt3/mkspecs/
%{tde_datadir}/tqt3/phrasebooks/
%{tde_includedir}/tqt3/
@@ -452,6 +452,12 @@ for the TQt 3 toolkit.
##########
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
@@ -473,6 +479,7 @@ for the TQt 3 toolkit.
-e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
-e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \
+
%build
unset QTDIR QTINC QTLIB
export QTDIR=$(pwd)
@@ -513,31 +520,31 @@ echo yes | ./configure \
${INCDIRS} \
${LIBDIRS} \
-L%{_libdir} \
- -prefix "%{tde_prefix}" \
+ -prefix "%{tde_prefix}" \
-libdir "%{tde_libdir}" \
- -sysconfdir "%{_sysconfdir}/tqt3" \
- -datadir "%{tde_datadir}/tqt3" \
- -headerdir "%{tde_includedir}/tqt3" \
- -docdir "%{tde_datadir}/tqt3/doc" \
- -plugindir "%{tde_libdir}/tqt3/plugins" \
- -translationdir "%{tde_datadir}/tqt3/translations" \
- \
- -thread \
- -shared \
- -fast \
- -no-exceptions \
+ -sysconfdir "%{_sysconfdir}/tqt3" \
+ -datadir "%{tde_datadir}/tqt3" \
+ -headerdir "%{tde_includedir}/tqt3" \
+ -docdir "%{tde_datadir}/tqt3/doc" \
+ -plugindir "%{tde_libdir}/tqt3/plugins" \
+ -translationdir "%{tde_datadir}/tqt3/translations" \
+ \
+ -thread \
+ -shared \
+ -fast \
+ -no-exceptions \
%if "%{_lib}" == "lib64"
-platform linux-g++-64 \
%else
-platform linux-g++ \
%endif
- \
+ \
-nis \
-no-pch \
-cups \
-stl \
-ipv6 \
- \
+ \
-sm \
-xshape \
-xinerama \
@@ -547,27 +554,27 @@ echo yes | ./configure \
-xft \
-tablet \
-xkb \
- \
+ \
-system-zlib \
-system-libpng \
-system-libmng \
-system-libjpeg \
%{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \
- \
+ \
-enable-opengl \
-dlopen-opengl \
- \
+ \
-qt-gif \
-qt-imgfmt-png \
-qt-imgfmt-jpeg \
-plugin-imgfmt-mng \
- \
+ \
-plugin-sql-odbc \
-plugin-sql-psql \
-plugin-sql-mysql \
%{?with_ibase:-plugin-sql-ibase} \
-plugin-sql-sqlite \
- \
+ \
-lfontconfig \
-inputmethod \
%{?with_glibmainloop:-glibmainloop} \
@@ -577,11 +584,11 @@ echo yes | ./configure \
# proceed
%__make %{?_smp_mflags} sub-src sub-plugins sub-tools
-# build conv2ui
-%__make -C tools/designer/tools/conv2ui
+# build tqtconv2ui
+%__make -C tools/designer/tools/tqtconv2ui
-# build qvfb
-%__make -C tools/qvfb
+# build tqvfb
+%__make -C tools/tqvfb
# fix .prl files
%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g"
@@ -599,15 +606,15 @@ export PATH=${QTDIR}/bin:$PATH
%__make INSTALL_ROOT=%{?buildroot} install
%__make INSTALL_ROOT=%{?buildroot} plugins-install
-%__install -m755 bin/qtrename140 %{?buildroot}%{_bindir}
-%__install -m755 bin/qt20fix %{?buildroot}%{_bindir}
-%__install -m755 bin/findtr %{?buildroot}%{_bindir}
+%__install -m755 bin/tqtrename140 %{?buildroot}%{_bindir}
+%__install -m755 bin/tqt20fix %{?buildroot}%{_bindir}
+%__install -m755 bin/tqtfindtr %{?buildroot}%{_bindir}
-# install conv2ui
-%__install -m755 bin/conv2ui %{?buildroot}%{_bindir}/conv2ui
+# install tqtconv2ui
+%__install -m755 bin/tqtconv2ui %{?buildroot}%{_bindir}/tqtconv2ui
-# install qvfb
-%__install -m755 tools/qvfb/qvfb %{?buildroot}%{_bindir}/qvfb
+# install tqvfb
+%__install -m755 tools/tqvfb/tqvfb %{?buildroot}%{_bindir}/tqvfb
%clean