|
|
@ -1,16 +1,13 @@
|
|
|
|
%global qt_module qtcharts
|
|
|
|
%global qt_module qtcharts
|
|
|
|
|
|
|
|
|
|
|
|
# To build without qttools doctools package, just undefine docs
|
|
|
|
|
|
|
|
%global docs 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Qt5 - Charts component
|
|
|
|
Summary: Qt5 - Charts component
|
|
|
|
Name: qt5-%{qt_module}
|
|
|
|
Name: qt5-%{qt_module}
|
|
|
|
Version: 5.8.0
|
|
|
|
Version: 5.9.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 0.beta.3%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
License: GPLv3
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml) >= %{version}
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml) >= %{version}
|
|
|
@ -26,21 +23,6 @@ Requires: qt5-qtbase-devel%{?_isa}
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?docs}
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
|
|
|
License: GFDL
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
BuildRequires: qt5-doctools
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-doc
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtdeclarative-doc
|
|
|
|
|
|
|
|
Requires: qt5-qtbase-doc
|
|
|
|
|
|
|
|
Requires: qt5-qtdeclarative-doc
|
|
|
|
|
|
|
|
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}
|
|
|
@ -49,7 +31,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}
|
|
|
|
%setup -q -n %{qt_module}-opensource-src-%{version}-beta3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -60,23 +42,9 @@ 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
@ -95,17 +63,14 @@ make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
|
|
|
%{_qt5_prefix}/mkspecs/modules/*
|
|
|
|
%{_qt5_prefix}/mkspecs/modules/*
|
|
|
|
%exclude %{_qt5_libdir}/libQt5Charts.la
|
|
|
|
%exclude %{_qt5_libdir}/libQt5Charts.la
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?docs}
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
|
|
|
%{_qt5_docdir}/qtcharts.qch
|
|
|
|
|
|
|
|
%{_qt5_docdir}/qtcharts/
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files examples
|
|
|
|
%files examples
|
|
|
|
%{_qt5_examplesdir}/
|
|
|
|
%{_qt5_examplesdir}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
|
|
|
|
|
|
|
|
- Upstream beta 3
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 01 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
|
|
|
|
* Wed Feb 01 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
|
|
|
|
- New upstream version
|
|
|
|
- New upstream version
|
|
|
|
|
|
|
|
|
|
|
|