out-of-tree build, use %qmake_qt5
This commit is contained in:
parent
c47c01540b
commit
6856e88467
@ -10,7 +10,7 @@
|
|||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Summary: Qt5 - module with set of QtQuick controls
|
Summary: Qt5 - module with set of QtQuick controls
|
||||||
Version: 5.4.0
|
Version: 5.4.0
|
||||||
Release: 0.1.%{pre}%{?dist}
|
Release: 0.2.%{pre}%{?dist}
|
||||||
|
|
||||||
License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
|
License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
|
||||||
Url: http://qt-project.org/
|
Url: http://qt-project.org/
|
||||||
@ -58,7 +58,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{_qt5_qmake}
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
|
%{qmake_qt5} ..
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%if 0%{?docs}
|
%if 0%{?docs}
|
||||||
@ -67,13 +70,14 @@ make %{?_smp_mflags}
|
|||||||
QT_HASH_SEED=0; export QT_HASH_SEED
|
QT_HASH_SEED=0; export QT_HASH_SEED
|
||||||
make %{?_smp_mflags} docs
|
make %{?_smp_mflags} docs
|
||||||
%endif
|
%endif
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
%if 0%{?docs}
|
%if 0%{?docs}
|
||||||
make install_docs INSTALL_ROOT=%{buildroot}
|
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -104,6 +108,9 @@ make install_docs INSTALL_ROOT=%{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
|
||||||
|
- out-of-tree build, use %%qmake_qt5
|
||||||
|
|
||||||
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
|
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
|
||||||
- 5.4.0-beta
|
- 5.4.0-beta
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user