This commit is contained in:
Helio Chissini de Castro 2017-05-09 17:08:56 +02:00
parent 3680139bcc
commit c9156b23fc
3 changed files with 9 additions and 42 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/qtquickcontrols2-opensource-src-5.7.1.tar.xz /qtquickcontrols2-opensource-src-5.7.1.tar.xz
/qtquickcontrols2-opensource-src-5.8.0.tar.xz /qtquickcontrols2-opensource-src-5.8.0.tar.xz
/qtquickcontrols2-opensource-src-5.9.0-beta3.tar.xz

View File

@ -1,15 +1,12 @@
%global qt_module qtquickcontrols2 %global qt_module qtquickcontrols2
# To build without qttools doctools package, just undefine docs
%global docs 1
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.8.0 Version: 5.9.0
Release: 1%{?dist} Release: 0.beta.3%{?dist}
License: GPLv2+ or LGPLv3 and GFDL License: GPLv2+ or LGPLv3 and GFDL
Url: http://www.qt.io Url: http://www.qt.io
Source0: http://download.qt.io/official_releases/qt/5.8/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz Source0: https://download.qt.io/development_releases/qt/5.9/%{version}-beta3/submodules/%{qt_module}-opensource-src-%{version}-beta3.tar.xz
# filter qml provides # filter qml provides
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$ %global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
@ -28,17 +25,6 @@ build complete interfaces in Qt Quick.
Unlike Qt Quick Controls, these controls are optimized for embedded systems Unlike Qt Quick Controls, these controls are optimized for embedded systems
and so are preferred for hardware with limited resources. and so are preferred for hardware with limited resources.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
License: GFDL
Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-doctools
BuildRequires: qt5-qtbase-doc
%description doc
%{summary}.
%endif
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -55,7 +41,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep %prep
%setup -q -n %{qt_module}-opensource-src-%{version} %setup -q -n %{qt_module}-opensource-src-%{version}-beta3
%build %build
mkdir %{_target_platform} mkdir %{_target_platform}
@ -64,19 +50,10 @@ pushd %{_target_platform}
make %{?_smp_mflags} make %{?_smp_mflags}
%if 0%{?docs}
make %{?_smp_mflags} docs
%endif
popd
%install %install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%if 0%{?docs}
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%endif
## .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
pushd %{buildroot}%{_qt5_libdir} pushd %{buildroot}%{_qt5_libdir}
@ -108,20 +85,6 @@ rm -f %{buildroot}%{_qt5_libdir}/libQt5*.la
%dir %{_qt5_archdatadir}/qml/QtQuick/Templates.2 %dir %{_qt5_archdatadir}/qml/QtQuick/Templates.2
%{_qt5_archdatadir}/qml/QtQuick/Templates.2/* %{_qt5_archdatadir}/qml/QtQuick/Templates.2/*
%if 0%{?docs}
%files doc
%license LICENSE.FDL
%dir %{_qt5_docdir}/qtquickcontrols2
%{_qt5_docdir}/qtquickcontrols2/*
%{_qt5_docdir}/qtquickcontrols2.qch
%dir %{_qt5_docdir}/qtlabscalendar
%{_qt5_docdir}/qtlabscalendar/*
%{_qt5_docdir}/qtlabscalendar.qch
%dir %{_qt5_docdir}/qtlabsplatform
%{_qt5_docdir}/qtlabsplatform/*
%{_qt5_docdir}/qtlabsplatform.qch
%endif
%files examples %files examples
%{_qt5_examplesdir}/quickcontrols2/ %{_qt5_examplesdir}/quickcontrols2/
@ -137,6 +100,9 @@ rm -f %{buildroot}%{_qt5_libdir}/libQt5*.la
%{_libdir}/cmake/Qt5QuickControls2/* %{_libdir}/cmake/Qt5QuickControls2/*
%changelog %changelog
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- Upstream beta 3
* Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1 * Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
- New upstream version - New upstream version

View File

@ -1 +1 @@
SHA512 (qtquickcontrols2-opensource-src-5.8.0.tar.xz) = e6ab84c046350ed58dfac49dd4460d8dc9efc28959ad24b4278ec83172713c4230dd72602a12fbd5c2f391d8140a766d79232285ead78057e43ec4d41b1b4e1b SHA512 (qtquickcontrols2-opensource-src-5.9.0-beta3.tar.xz) = 66d0752827b42b21ec41c149f63b8685f8ee7c76e5d0f92de9f80728749f0fb3abd19cfae04f2bd9526d460ad3c71f692d95e44b7e6e8547388ed3202e9a6043