Blame SPECS/qt5-qtcanvas3d.spec

2edde2
%global qt_module qtcanvas3d
2edde2
fe0d8c
%global build_tests 1
fe0d8c
2edde2
Summary: Qt5 - Canvas3d component
2edde2
Name:    qt5-%{qt_module}
fe0d8c
Version: 5.12.5
031060
Release: 3%{?dist}
2edde2
2edde2
License: LGPLv2 with exceptions or GPLv3 with exceptions
2edde2
Url:     http://www.qt.io
2edde2
%global majmin %(echo %{version} | cut -d. -f1-2)
2edde2
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
2edde2
fe0d8c
BuildRequires: qt5-rpm-macros >= %{version}
2edde2
BuildRequires: qt5-qtbase-devel >= %{version}
2edde2
BuildRequires: qt5-qtbase-static
2edde2
BuildRequires: qt5-qtbase-private-devel
2edde2
# libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit)
2edde2
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
2edde2
BuildRequires: qt5-qtdeclarative-devel
2edde2
2edde2
%description
2edde2
Qt5 Canvas3D component
2edde2
2edde2
%package examples
2edde2
Summary: Programming examples for %{name}
2edde2
Requires: %{name}%{?_isa} = %{version}-%{release}
2edde2
%description examples
2edde2
%{summary}.
2edde2
fe0d8c
%if 0%{?build_tests}
fe0d8c
%package tests
fe0d8c
Summary: Unit tests for %{name}
fe0d8c
Requires: %{name}%{?_isa} = %{version}-%{release}
fe0d8c
fe0d8c
%description tests
fe0d8c
%{summary}.
fe0d8c
%endif
fe0d8c
2edde2
2edde2
%prep
2edde2
%setup -q -n %{qt_module}-everywhere-src-%{version}
2edde2
2edde2
2edde2
%build
2edde2
%{qmake_qt5}
2edde2
2edde2
%make_build
2edde2
fe0d8c
%if 0%{?build_tests}
fe0d8c
make sub-tests %{?_smp_mflags} -k ||:
fe0d8c
%endif
fe0d8c
2edde2
2edde2
%install
2edde2
make install INSTALL_ROOT=%{buildroot}
2edde2
fe0d8c
%if 0%{?build_tests}
fe0d8c
# Install tests for gating
fe0d8c
mkdir -p %{buildroot}%{_qt5_libdir}/qt5
fe0d8c
find ./tests -not -path '*/\.*' -type d | while read LINE
fe0d8c
do
fe0d8c
    mkdir -p "%{buildroot}%{_qt5_libdir}/qt5/$LINE"
fe0d8c
done
fe0d8c
find ./tests -not -path '*/\.*' -not -name '*.h' -not -name '*.cpp' -not -name '*.pro' -not -name 'uic_wrapper.sh' -not -name 'Makefile' -not -name 'target_wrapper.sh' -type f | while read LINE
fe0d8c
do
fe0d8c
    cp -r --parents "$LINE" %{buildroot}%{_qt5_libdir}/qt5/
fe0d8c
done
fe0d8c
%endif
fe0d8c
2edde2
2edde2
%files
2edde2
%license LICENSE.*
2edde2
%{_qt5_qmldir}/QtCanvas3D/
2edde2
2edde2
%if 0%{?_qt5_examplesdir:1}
2edde2
%files examples
2edde2
%{_qt5_examplesdir}/canvas3d/
2edde2
%endif
2edde2
fe0d8c
%if 0%{?build_tests}
fe0d8c
%files tests
fe0d8c
%{_qt5_libdir}/qt5/tests
fe0d8c
%endif
fe0d8c
2edde2
2edde2
%changelog
031060
* Wed Apr 28 2021 Jan Grulich <jgrulich@redhat.com> - 5.12.5-3
031060
- Rebuild (binutils)
031060
  Resolves: bz#1930041
031060
031060
* Sun Apr 04 2021 Jan Grulich <jgrulich@redhat.com> - 5.12.5-2
031060
- Rebuild for Qt 5.15.2
031060
  Resolves: bz#1930041
031060
fe0d8c
* Thu Nov 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
fe0d8c
- 5.12.5
fe0d8c
  Resolves: bz#1733136
fe0d8c
2edde2
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
2edde2
- Rebuild to fix CET notes
2edde2
  Resolves: bz#1657233
2edde2
2edde2
* Mon Jul 02 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-1
2edde2
- 5.11.1
2edde2
2edde2
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
2edde2
- 5.10.1
2edde2
2edde2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
2edde2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2edde2
2edde2
* Tue Dec 19 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
2edde2
- 5.10.0
2edde2
2edde2
* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
2edde2
- 5.9.3
2edde2
2edde2
* Tue Oct 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
2edde2
- BR: qt5-qtbase-private-devel
2edde2
2edde2
* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
2edde2
- 5.9.2
2edde2
2edde2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-3
2edde2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2edde2
2edde2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
2edde2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2edde2
2edde2
* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
2edde2
- 5.9.1
2edde2
2edde2
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
2edde2
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
2edde2
2edde2
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
2edde2
- Upstream official release
2edde2
2edde2
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
2edde2
- Upstream Release Candidate retagged
2edde2
2edde2
* Wed May 24 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.rc.1
2edde2
- Upstream Release Candidate 1
2edde2
2edde2
* Mon May 08 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
2edde2
- Upstream beta 3
2edde2
2edde2
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.0
2edde2
- New upstream beta3 version
2edde2
2edde2
* Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
2edde2
- New upstream version
2edde2
2edde2
* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
2edde2
- 5.7.1 dec5 snapshot, drop cmake/pkgconfig style BR
2edde2
2edde2
* Thu Nov 10 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
2edde2
- New upstream version
2edde2
2edde2
* Wed Jun 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
2edde2
- Qt 5.7.0 release
2edde2
2edde2
* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
2edde2
- Update to 5.6.1
2edde2
2edde2
* Wed Jun 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
2edde2
- restore -doc pkg (#1341457)
2edde2
2edde2
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
2edde2
- rebuild
2edde2
2edde2
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
2edde2
- rebuild
2edde2
2edde2
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
2edde2
- 5.6.0 final release
2edde2
2edde2
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6.rc
2edde2
- Update to final RC
2edde2
2edde2
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
2edde2
- Update RC release
2edde2
2edde2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.4.beta3
2edde2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2edde2
2edde2
* Wed Jan 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.3.beta3
2edde2
- respin sources, use %%license, update URLs, fix -doc BR's, drop unneeded scriptlets
2edde2
2edde2
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
2edde2
- Official beta3 release
2edde2
2edde2
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
2edde2
- Start to implement 5.6.0 beta3
2edde2
2edde2
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
2edde2
- Start to implement 5.6.0 beta3
2edde2
2edde2
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
2edde2
- Update to final release 5.5.1
2edde2
2edde2
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
2edde2
- Update to Qt 5.5.1 RC1
2edde2
2edde2
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
2edde2
- New final upstream release Qt 5.5.0
2edde2
2edde2
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
2edde2
- Update for official RC1 released packages
2edde2
2edde2
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.1.rc
2edde2
- Initial release