qt5-qtcanvas3d-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. %global qt_module qtcanvas3d
  2. #define docs 1
  3. #define prerelease
  4. %global qt5_minorver 5.12
  5. %global qt5_version 5.12.8
  6. #global qt5_patchlevel 1
  7. Summary: Qt5 - Canvas3d component
  8. Name: qt5-%{qt_module}
  9. Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
  10. Release: 1%{?_dist_release}
  11. License: LGPLv2 with exceptions or GPLv3 with exceptions
  12. Url: https://www.qt.io/
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Source0: http://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz
  16. BuildRequires: qt5-rpm-macros >= %{version}
  17. BuildRequires: qt5-qtbase-devel >= %{version}
  18. BuildRequires: qt5-qtbase-static
  19. BuildRequires: qt5-qtbase-private-devel
  20. # libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit)
  21. %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
  22. BuildRequires: qt5-qtdeclarative-devel
  23. %description
  24. Qt5 Canvas3D component
  25. %if 0%{?docs}
  26. %package doc
  27. Summary: API documentation for %{name}
  28. License: GFDL
  29. Requires: %{name} = %{version}-%{release}
  30. BuildRequires: qt5-qdoc
  31. BuildRequires: qt5-qhelpgenerator
  32. BuildArch: noarch
  33. %description doc
  34. %{summary}.
  35. %endif
  36. %package examples
  37. Summary: Programming examples for %{name}
  38. Requires: %{name}%{?_isa} = %{version}-%{release}
  39. %description examples
  40. %{summary}.
  41. %prep
  42. %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
  43. %build
  44. mkdir %{_target_platform}
  45. pushd %{_target_platform}
  46. %{qmake_qt5} ..
  47. make %{?_smp_mflags}
  48. %if 0%{?docs}
  49. # HACK to avoid multilib conflicts in noarch content
  50. # see also https://bugreports.qt-project.org/browse/QTBUG-42071
  51. QT_HASH_SEED=0; export QT_HASH_SEED
  52. make %{?_smp_mflags} docs
  53. %endif
  54. popd
  55. %install
  56. make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  57. %if 0%{?docs}
  58. make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
  59. %endif
  60. %files
  61. %license LICENSE.*
  62. %{_qt5_archdatadir}/qml/QtCanvas3D/
  63. %if 0%{?docs}
  64. %files doc
  65. %{_qt5_docdir}/%{qt_module}.qch
  66. %{_qt5_docdir}/%{qt_module}/
  67. %endif
  68. %if 0%{?_qt5_examplesdir:1}
  69. %files examples
  70. %{_qt5_examplesdir}/canvas3d/
  71. %endif
  72. %changelog
  73. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  74. - new upstream release.
  75. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  76. - new upstream release.
  77. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  78. - new upstream release.
  79. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  80. - update to 5.6.3
  81. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  82. - new upstream release.
  83. - initial build for Vine Linux.
  84. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  85. - Update to 5.6.1
  86. * Wed Jun 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
  87. - restore -doc pkg (#1341457)
  88. * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
  89. - rebuild
  90. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  91. - rebuild
  92. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  93. - 5.6.0 final release
  94. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6.rc
  95. - Update to final RC
  96. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
  97. - Update RC release
  98. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.4.beta
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  100. * Wed Jan 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.3.beta
  101. - respin sources, use %%license, update URLs, fix -doc BR's, drop unneeded scriptlets
  102. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  103. - Official beta release
  104. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  105. - Start to implement 5.6.0 beta
  106. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  107. - Start to implement 5.6.0 beta
  108. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  109. - Update to final release 5.5.1
  110. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  111. - Update to Qt 5.5.1 RC1
  112. * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
  113. - New final upstream release Qt 5.5.0
  114. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  115. - Update for official RC1 released packages
  116. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.1.rc
  117. - Initial release