RPM: fix kxmleditor, qalculate-tde, tde-style-baghira, tqscintilla on r14.0.x

pull/92/head
François Andriot 6 years ago
parent 655ebdf18d
commit 2423883a54

@ -98,6 +98,9 @@ contents.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Fix build on r14.0.x
%__sed -i *"/Makefile.am" -e "s|\$(LIB_TQT)|-ltqt-mt|"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"

@ -106,6 +106,9 @@ This package contains the TDE user interface of qalculate.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Fix build on r14.0.x
%__sed -i *"/Makefile.am" -e "s|\$(LIB_TQT)|-ltqt-mt|"
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"

@ -88,6 +88,10 @@ Panther and Jaguar looks, and also includes its own 'Baghira' look
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Fix build on r14.0.x
%__sed -i *"/Makefile.am" -e "s|\$(LIB_TQT)|-ltqt-mt|"
%__sed -i "configure.in.in" -e "/^KDE_USE_TQT/d"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"

@ -161,8 +161,8 @@ chmod -x example/*
-e "s|^header.path = .*|header.path = %{_includedir}/tqt3|" \
-e "s|^trans.path = .*|trans.path = %{_datadir}/tqt3/translations|"
# -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \
%__sed -i "designer/designer.pro" \
-e "s|\$(QTDIR)|%{_libdir}/tqt3|" \
-e "s|# DESTDIR|DESTDIR|"
export QTDIR=%{_libdir}/tqt3

Loading…
Cancel
Save