drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
This commit is contained in:
parent
d155ec8aa0
commit
cdd2575fc4
@ -3,17 +3,16 @@
|
|||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Summary: Qt5 - module with set of QtQuick controls for embedded
|
Summary: Qt5 - module with set of QtQuick controls for embedded
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ or LGPLv3 and GFDL
|
License: GPLv2+ or LGPLv3 and GFDL
|
||||||
Url: http://www.qt.io
|
Url: http://www.qt.io
|
||||||
Source0: https://download.qt.io/official_releases/qt/5.9/5.9.0/submodules/qtquickcontrols2-opensource-src-5.9.0.tar.xz
|
Source0: https://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
||||||
|
|
||||||
# filter qml provides
|
# filter qml provides
|
||||||
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
|
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
|
||||||
|
|
||||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||||
BuildRequires: qt5-qtdeclarative-devel
|
BuildRequires: qt5-qtdeclarative-devel
|
||||||
BuildRequires: pkgconfig(Qt5Quick)
|
|
||||||
|
|
||||||
Requires: qt5-qtdeclarative%{?_isa} >= %{version}
|
Requires: qt5-qtdeclarative%{?_isa} >= %{version}
|
||||||
Requires: qt5-qtgraphicaleffects%{_isa} >= %{version}
|
Requires: qt5-qtgraphicaleffects%{_isa} >= %{version}
|
||||||
@ -43,16 +42,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{qt_module}-opensource-src-%{version}
|
%setup -q -n %{qt_module}-opensource-src-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{qmake_qt5}
|
||||||
pushd %{_target_platform}
|
|
||||||
%{qmake_qt5} ..
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
## .prl/.la file love
|
## .prl/.la file love
|
||||||
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
||||||
@ -73,7 +71,6 @@ rm -f %{buildroot}%{_qt5_libdir}/libQt5*.la
|
|||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.LGPLv3 LICENSE.GPLv3
|
%license LICENSE.LGPLv3 LICENSE.GPLv3
|
||||||
%{_qt5_libdir}/libQt5QuickTemplates2.so.5*
|
%{_qt5_libdir}/libQt5QuickTemplates2.so.5*
|
||||||
@ -99,7 +96,11 @@ rm -f %{buildroot}%{_qt5_libdir}/libQt5*.la
|
|||||||
%dir %{_libdir}/cmake/Qt5QuickControls2
|
%dir %{_libdir}/cmake/Qt5QuickControls2
|
||||||
%{_libdir}/cmake/Qt5QuickControls2/*
|
%{_libdir}/cmake/Qt5QuickControls2/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
|
||||||
|
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
|
||||||
|
|
||||||
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
|
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
|
||||||
- Upstream official release
|
- Upstream official release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user