out-of-tree build, use %qmake_qt5
This commit is contained in:
parent
4f876cd849
commit
241f3eca73
@ -6,7 +6,7 @@
|
||||
Summary: Qt5 - X11 support library
|
||||
Name: qt5-%{qt_module}
|
||||
Version: 5.4.0
|
||||
Release: 0.1.%{pre}%{?dist}
|
||||
Release: 0.2.%{pre}%{?dist}
|
||||
|
||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||
@ -25,12 +25,10 @@ The X11 Extras module provides features specific to platforms using X11, e.g.
|
||||
Linux and UNIX-like systems including embedded Linux systems that use the X
|
||||
Window System.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt5-qtbase-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
@ -38,15 +36,17 @@ Requires: qt5-qtbase-devel%{?_isa}
|
||||
%prep
|
||||
%setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
|
||||
|
||||
|
||||
%build
|
||||
%{_qt5_qmake}
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{qmake_qt5} ..
|
||||
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
make install INSTALL_ROOT=%{buildroot}
|
||||
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
||||
|
||||
## .prl/.la file love
|
||||
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
||||
@ -79,6 +79,9 @@ popd
|
||||
|
||||
|
||||
%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
|
||||
- 5.4.0-beta
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user