From 265f53858e065376ed2ec137e560f94d857d7198 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 14 Aug 2003 08:48:19 +0000 Subject: [PATCH] - pass optflags to make, switched to wxGTK2 Changed files: LinWSJT.spec -> 1.4 --- LinWSJT.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LinWSJT.spec b/LinWSJT.spec index 7a4e7da..86ffb21 100644 --- a/LinWSJT.spec +++ b/LinWSJT.spec @@ -9,7 +9,7 @@ Source0: http://www.qsl.net/g4klx/%{name}-%{version}.tar.gz # Source0-md5: dd9cf86f4bd260eea759abde8c2ae28c Patch0: %{name}-Makefile.patch URL: http://aldo.sourceforge.net/ -BuildRequires: wxGTK-devel +BuildRequires: wxGTK2-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -33,7 +33,10 @@ ksi %build %{__make} \ - CC="%{__cc}" + CC="%{__cxx}" \ + CFLAGS="%{rpmcflags} -Wall -I.. `wxgtk2-2.4-config --cxxflags`" \ + LDFLAGS="`wxgtk2-2.4-config --ldflags`" \ + LIBS="-lfftw -lsndfile `wxgtk2-2.4-config --libs`" %install rm -rf $RPM_BUILD_ROOT -- 2.43.0