--- libglan.spec~ 2007-07-17 15:58:11 +0400 +++ libglan.spec 2007-07-17 16:18:22 +0400 @@ -4,7 +4,7 @@ Name: libglan Version: 0.3 -Release: alt0.1.1 +Release: alt0.2 Summary: Toolkit for developing network GUI applications @@ -14,12 +14,15 @@ Url: http://glan.sourceforge.net/ Packager: Vitaly Lipatov +Requires: libqt4-core >= %{get_version libqt4-core} + #Source: http://dl.sf.net/kalpa/Glan-%version.tar.bz2 Source: http://kalpa.ru/downloads/Glan-%version.tar.bz2 Patch: %name-as-needed.patch +Patch1: Glan-0.3-alt-fix-compile-with-qt43.patch # Automatically added by buildreq on Mon May 22 2006 -BuildRequires: fontconfig gcc-c++ libqt4-devel libqt4-gui libqt4-network libqt4-sql libqt4-xml qt4-settings +BuildRequires: gcc-c++ libqt4-devel %description Glan is a toolkit for developing network GUI applications. It consists of @@ -52,9 +55,11 @@ Glan Server Library %prep %setup -q -n Glan-%version %patch +%patch1 -p1 +find Source -type f -name '*.pro' | while read f; do echo 'QMAKE_CXXFLAGS += $(RPM_OPT_FLAGS)' >> $f; done %build -export QTDIR=/%_libdir/qt4 +export QTDIR=/%_qt4dir export PATH=$QTDIR/bin:$PATH # build with debug library @@ -101,6 +106,11 @@ rm -rf %buildroot/opt %_libdir/libGlanServer*.so %changelog +* Tue Jul 17 2007 Sergey V Turchin 0.3-alt0.2 +- fix compile with Qt-4.3 +- fix compilation flags +- fix requires + * Sun May 21 2006 Vitaly Lipatov 0.3-alt0.1 - new version 0.3 - fix as-needed problem