- Update Qt 5.7.0
This commit is contained in:
parent
efb0d92fe9
commit
b62fdee9f5
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/qtquickcontrols2-opensource-src-5.6.0-rc.tar.xz
|
||||
/qtquickcontrols2-opensource-src-5.6.0.tar.xz
|
||||
/qtquickcontrols2-opensource-src-5.6.1.tar.xz
|
||||
/qtquickcontrols2-opensource-src-5.7.0.tar.xz
|
||||
|
@ -3,22 +3,19 @@
|
||||
|
||||
%define docs 1
|
||||
|
||||
#define prerelease
|
||||
#define prerelease rc
|
||||
|
||||
Name: qt5-%{qt_module}
|
||||
Summary: Qt5 - module with set of QtQuick controls for embedded
|
||||
Version: 5.6.1
|
||||
Release: 2%{?prerelease:.%{prerelease}}%{?dist}
|
||||
|
||||
Version: 5.7.0
|
||||
Release: 1%{?prerelease:.%{prerelease}}%{?dist}
|
||||
License: GPLv2+ or LGPLv3 and GFDL
|
||||
Url: http://www.qt.io
|
||||
Source0: http://download.qt.io/snapshots/qt/5.6/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz
|
||||
Source0: http://download.qt.io/official_releases/qt/5.7/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz
|
||||
|
||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||
BuildRequires: qt5-qtbase-static >= %{version}
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||
BuildRequires: qt5-qtdeclarative-private-devel
|
||||
%{?_qt5:Requires: qt5-qtdeclarative%{?_isa} = %{_qt5_version}}
|
||||
%{?_qt5:Requires: qt5-qtgraphicaleffects%{?_isa} = %{_qt5_version}}
|
||||
|
||||
@ -52,13 +49,6 @@ Requires: qt5-qtdeclarative-devel%{?_isa}
|
||||
%{summary}.
|
||||
|
||||
|
||||
%package static
|
||||
Summary: Static library files for %{name}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
%description static
|
||||
%{summary}.
|
||||
|
||||
|
||||
%package examples
|
||||
Summary: Examples for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
@ -69,11 +59,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%prep
|
||||
%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}
|
||||
|
||||
%if 0%{?prerelease}
|
||||
syncqt.pl -version %{version}
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
@ -111,42 +96,49 @@ rm -f %{buildroot}%{_qt5_libdir}/libQt5*.la
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.FDL LICENSE.LGPLv3 LICENSE.GPLv3
|
||||
%license LICENSE.LGPLv3 LICENSE.GPLv3
|
||||
%{_qt5_libdir}/libQt5QuickTemplates2.so.5*
|
||||
%{_qt5_libdir}/libQt5QuickControls2.so.5*
|
||||
%{_qt5_archdatadir}/qml/Qt/labs/calendar/
|
||||
%{_qt5_archdatadir}/qml/Qt/labs/controls/
|
||||
%{_qt5_archdatadir}/qml/Qt/labs/templates/
|
||||
%{_qt5_libdir}/libQt5LabsTemplates.so.5*
|
||||
%dir %{_qt5_archdatadir}/qml/QtQuick/Controls.2
|
||||
%{_qt5_archdatadir}/qml/QtQuick/Controls.2/*
|
||||
%dir %{_qt5_archdatadir}/qml/QtQuick/Templates.2
|
||||
%{_qt5_archdatadir}/qml/QtQuick/Templates.2/*
|
||||
|
||||
%if 0%{?docs}
|
||||
%files doc
|
||||
%license LICENSE.FDL LICENSE.LGPLv3 LICENSE.GPLv3
|
||||
%dir %{_qt5_docdir}/qtlabscontrols/
|
||||
%{_qt5_docdir}/qtlabscontrols/*
|
||||
%{_qt5_docdir}/qtlabscontrols.qch
|
||||
%license LICENSE.FDL
|
||||
%dir %{_qt5_docdir}/qtquickcontrols2/
|
||||
%{_qt5_docdir}/qtquickcontrols2/*
|
||||
%{_qt5_docdir}/qtquickcontrols2.qch
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%{_qt5_headerdir}/QtLabsControls/
|
||||
%{_qt5_headerdir}/QtLabsTemplates/
|
||||
%{_qt5_libdir}/libQt5LabsControls.prl
|
||||
%{_qt5_libdir}/libQt5LabsTemplates.prl
|
||||
%{_qt5_libdir}/libQt5LabsTemplates.so
|
||||
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_labs*_private.pri
|
||||
|
||||
%files static
|
||||
%{_qt5_libdir}/libQt5LabsControls.a
|
||||
%{_qt5_headerdir}/
|
||||
%{_qt5_libdir}/pkgconfig/*.pc
|
||||
%{_qt5_libdir}/libQt5QuickTemplates2.so
|
||||
%{_qt5_libdir}/libQt5QuickControls2.so
|
||||
%{_qt5_libdir}/libQt5QuickTemplates2.prl
|
||||
%{_qt5_libdir}/libQt5QuickControls2.prl
|
||||
%{_qt5_libdir}/qt5/mkspecs/modules/*
|
||||
%dir %{_libdir}/cmake/Qt5QuickControls2
|
||||
%{_libdir}/cmake/Qt5QuickControls2/*
|
||||
|
||||
%files examples
|
||||
%{_qt5_examplesdir}/quickcontrols2/
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
|
||||
- Qt 5.7.0 release
|
||||
|
||||
* Mon Jun 13 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-0.1
|
||||
- Prepare 5.7.0
|
||||
|
||||
* Sat Jun 11 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 5.6.1-2
|
||||
- Add qt5-qtgraphicaleffects dependency
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user