qt5-qtcanvas3d-vl.spec 3.9 KB

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