diff -u'Nrpk~' libqca-1.0~/libqca.spec libqca-1.0/libqca.spec --- libqca-1.0~/libqca.spec 2005-12-18 04:37:32 +0300 +++ libqca-1.0/libqca.spec 2006-01-27 15:33:18 +0300 @@ -3,7 +3,7 @@ Copyright: GPL Group: Networking/Instant messaging Summary: QCA - Qt Cryptographic Architecture Version: 1.0 -Release: alt2 +Release: alt2.1 Source: qca-%version.tar.bz2 # Automatically added by buildreq on Mon Dec 13 2004 @@ -54,17 +54,19 @@ SASL, RSA, Hashing (SHA1, MD5), Ciphers приложений, использующих QCA. %prep -%setup -n qca-%version +%setup -q -n qca-%version +%ifarch x86_64 +sed -i 's|\s*target.path\s*=.*|target.path=$PREFIX/%_lib|' qcextra +%endif + %build -#QTDIR=%_libdir/qt3 -#QMAKESPEC="linux-g++" -#export QTDIR QMAKESPEC +export QTDIR=%_qt3dir QMAKESPEC="default" ./configure --prefix=%buildroot%prefix %make %install -make install +%make install INSTALL_ROOT=%buildroot %files %_libdir/* @@ -74,6 +76,9 @@ make install %_includedir/* %changelog +* Fri Jan 27 2006 Sergey V Turchin 1.0-alt2.1 +- fix to build on x86_64 + * Sun Dec 18 2005 Mikhail Yakshin 1.0-alt2 - Fixed x86_64 build problem