This commit is contained in:
Helio Chissini de Castro 2017-05-09 17:45:58 +02:00
parent 643660d600
commit 8c3d8bfd15
3 changed files with 10 additions and 46 deletions

1
.gitignore vendored
View File

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

View File

@ -1,16 +1,13 @@
%global qt_module qtquickcontrols %global qt_module qtquickcontrols
%define docs 1
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.8.0 Version: 5.9.0
Release: 1%{?dist} Release: 0.beta.3%{?dist}
License: LGPLv2 or LGPLv3 and GFDL License: LGPLv2 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$
@ -23,18 +20,6 @@ BuildRequires: qt5-qtdeclarative-devel
The Qt Quick Controls module provides a set of controls that can be used to The Qt Quick Controls module provides a set of controls that can be used to
build complete interfaces in Qt Quick. build complete interfaces in Qt Quick.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
License: GFDL
Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-qdoc
BuildRequires: qt5-qhelpgenerator
BuildArch: noarch
%description doc
%{summary}.
%endif
%package examples %package examples
Summary: Programming examples for %{name} Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -43,7 +28,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
@ -53,38 +38,13 @@ pushd %{_target_platform}
make %{?_smp_mflags} make %{?_smp_mflags}
%if 0%{?docs}
# HACK to avoid multilib conflicts in noarch content
# see also https://bugreports.qt-project.org/browse/QTBUG-42071
QT_HASH_SEED=0; export QT_HASH_SEED
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
%files %files
%{_qt5_archdatadir}/qml/QtQuick/ %{_qt5_archdatadir}/qml/QtQuick/
%doc LICENSE.* %doc LICENSE.*
%if 0%{?docs}
%files doc
%doc LICENSE.FDL
%{_qt5_docdir}/qtquickcontrols.qch
%{_qt5_docdir}/qtquickcontrols/
%{_qt5_docdir}/qtquickdialogs.qch
%{_qt5_docdir}/qtquickdialogs/
%{_qt5_docdir}/qtquickextras.qch
%{_qt5_docdir}/qtquickextras/
%endif
%if 0%{?_qt5_examplesdir:1} %if 0%{?_qt5_examplesdir:1}
%files examples %files examples
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
@ -92,6 +52,9 @@ make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- Upstream beta 3
* Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-1 * Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-1
- 5.8.0 - 5.8.0
@ -138,7 +101,7 @@ make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Dec 21 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4 * Mon Dec 21 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
- fix source URL, fresh (real?) beta sources, fix Release:, move qdoc dep to -doc - fix source URL, fresh (real?) beta sources, fix Release: 0.beta.3%{?dist}
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3 * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
- Official beta release - Official beta release

View File

@ -1 +1 @@
SHA512 (qtquickcontrols-opensource-src-5.8.0.tar.xz) = fc55e5cc2d4e1b38ad13e52ee773458bc78b219625c13dea1b4c7ec2265d13a7d491ae15bb8f5d85ea62a1c75b206c65cae25428ddaf1a29d6b0b6f0e613cc24 SHA512 (qtquickcontrols-opensource-src-5.9.0-beta3.tar.xz) = d317aab2f63af09927d433982123fa6570df4ffa69008691ef1e4eb15d4e8f098240671b4cec6e58f6ed1d6d270c955491d393e6dac48b97a5313d9d5f89f9b9