summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca/tqca-3.5.13.2.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-09-17 22:44:00 +0200
committerFrançois Andriot <[email protected]>2014-09-17 22:44:00 +0200
commit24d35ee37d93db552feb8f02b66643cb82747005 (patch)
treeb42099dc8028ead3fa243e41d7365ed15da981a7 /redhat/dependencies/tqca/tqca-3.5.13.2.spec
parent3d08f62f19d1af154f400db612ab48f29670ff00 (diff)
downloadtde-packaging-24d35ee37d93db552feb8f02b66643cb82747005.tar.gz
tde-packaging-24d35ee37d93db552feb8f02b66643cb82747005.zip
update tqca
Diffstat (limited to 'redhat/dependencies/tqca/tqca-3.5.13.2.spec')
-rw-r--r--redhat/dependencies/tqca/tqca-3.5.13.2.spec15
1 files changed, 4 insertions, 11 deletions
diff --git a/redhat/dependencies/tqca/tqca-3.5.13.2.spec b/redhat/dependencies/tqca/tqca-3.5.13.2.spec
index ac4b88cca..ba8acba8a 100644
--- a/redhat/dependencies/tqca/tqca-3.5.13.2.spec
+++ b/redhat/dependencies/tqca/tqca-3.5.13.2.spec
@@ -32,10 +32,7 @@ Packager: Francois Andriot <[email protected]>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: tqca-master.tar.gz
-
-Patch0: qca-1.0-mach.patch
-Patch1: tqca-1.0-fix_qt3_detection.patch
+Source0: tqca-3.5.13.2.tar.gz
BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
@@ -91,19 +88,15 @@ This packages contains the development files for TQCA
##########
%prep
-%setup -q -n tqca-master
-%patch0 -p0 -b .mach
-%patch1 -p1 -b .qt
+%setup -q -n tqca-3.5.13.2
# Fix 'lib64' library directory
perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra
-# Revert TQCA to QCA
-%__sed -i examples/*/*.cpp src/*.h src/*.cpp -e "s|TQCA|QCA|g"
-
%build
-unset QTDIR || : ; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"