]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - qt4.spec
rename go template to golang prefix
[projects/template-specs.git] / qt4.spec
index 9859c57d1da42feed0f163f7013a214b238a4477..2749033325fc8ab6064326666ff1ca2f7431a9f5 100644 (file)
--- a/qt4.spec
+++ b/qt4.spec
@@ -16,8 +16,9 @@ BuildRequires:        QtCore-devel
 #BuildRequires:        QtSvg-devel
 #BuildRequires:        QtTest-devel
 #BuildRequires:        QtXml-devel
-BuildRequires: qt4-build
-BuildRequires: qt4-qmake
+# require ">= 4.3.3-3" if some tool is invoked by *-qt4 name
+BuildRequires: qt4-build >= 4.3.3-3
+BuildRequires: qt4-qmake >= 4.3.3-3
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,9 +30,17 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %setup -q
 
 %build
-qt4-qmake
+qmake-qt4
 %{__make}
 
+%{__make} \
+       CXX="%{__cxx}" \
+       CXXFLAGS="%{rpmcxxflags}"
+%{__make} gui \
+       QMAKE=qmake-qt4 \
+       CXX="%{__cxx}" \
+       CXXFLAGS="%{rpmcxxflags} "'$(DEFINES)'
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
This page took 0.041984 seconds and 4 git commands to generate.