123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- %bcond_with deps
- Name: qt5
- Version: 5.12.8
- Release: 1%{?_dist_release}
- Summary: Qt5 meta package
- License: GPLv3
- URL: https://getfedora.org/
- Source0: macros.qt5
- Source1: macros.qt5-srpm
- Source2: qmake-qt5.sh
- BuildArch: noarch
- Requires: qt5-qdbusviewer
- Requires: qt5-qt3d
- Requires: qt5-qtbase
- Requires: qt5-qtbase-gui
- Requires: qt5-qtbase-mysql
- Requires: qt5-qtbase-postgresql
- Requires: qt5-qtconnectivity
- #Requires: qt5-qtdeclarative
- Requires: qt5-qtdoc
- Requires: qt5-qtgraphicaleffects
- Requires: qt5-qtimageformats
- Requires: qt5-qtlocation
- Requires: qt5-qtmultimedia
- Requires: qt5-qtquickcontrols
- Requires: qt5-qtquickcontrols2
- #Requires: qt5-qtscript
- Requires: qt5-qtsensors
- Requires: qt5-qtserialport
- Requires: qt5-qtsvg
- Requires: qt5-qttools
- #Requires: qt5-qtwayland
- Requires: qt5-qtwebchannel
- Requires: qt5-qtwebengine
- #Requires: qt5-qtwebkit
- Requires: qt5-qtwebsockets
- Requires: qt5-qtx11extras
- Requires: qt5-qtxmlpatterns
- %description
- %{summary}.
- %package devel
- Summary: Qt5 meta devel package
- Requires: qt5-rpm-macros
- Requires: qt5-qttools-static
- #Requires: qt5-qtdeclarative-static
- Requires: qt5-qtbase-static
- Requires: qt5-designer
- Requires: qt5-qdoc
- Requires: qt5-qhelpgenerator
- Requires: qt5-linguist
- Requires: qt5-qt3d-devel
- Requires: qt5-qtbase-devel
- Requires: qt5-qtconnectivity-devel
- #Requires: qt5-qtdeclarative-devel
- #Requires: qt5-qtenginio-devel
- Requires: qt5-qtlocation-devel
- Requires: qt5-qtmultimedia-devel
- #Requires: qt5-qtscript-devel
- Requires: qt5-qtsensors-devel
- Requires: qt5-qtserialport-devel
- Requires: qt5-qtsvg-devel
- Requires: qt5-qttools-devel
- #Requires: qt5-qtwayland-devel
- Requires: qt5-qtwebchannel-devel
- Requires: qt5-qtwebengine-devel
- #Requires: qt5-qtwebkit-devel
- Requires: qt5-qtwebsockets-devel
- Requires: qt5-qtx11extras-devel
- Requires: qt5-qtxmlpatterns-devel
- %description devel
- %{summary}.
- %package rpm-macros
- Summary: RPM macros for building Qt5 packages
- Conflicts: qt5-qtbase-devel < 5.12.0
- Requires: cmake >= 3
- Requires: gcc-c++
- %description rpm-macros
- %{summary}.
- %package srpm-macros
- Summary: RPM macros for source Qt5 packages
- %description srpm-macros
- %{summary}.
- %install
- install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
- install -Dpm644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5-srpm
- install -Dpm755 %{SOURCE2} %{buildroot}%{_bindir}/qmake-qt5.sh
- mkdir -p %{buildroot}%{_datadir}/qt5/wrappers
- ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake-qt5
- ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake
- # substitute custom flags, and the path to binaries: binaries referenced from
- # macros should not change if an application is built with a different prefix.
- # %_libdir is left as /usr/%{_lib} (e.g.) so that the resulting macros are
- # architecture independent, and don't hardcode /usr/lib or /usr/lib64.
- sed -i \
- -e "s|@@QT5_CFLAGS@@|%{?qt5_cflags}|g" \
- -e "s|@@QT5_CXXFLAGS@@|%{?qt5_cxxflags}|g" \
- -e "s|@@QT5_RPM_LD_FLAGS@@|%{?qt5_rpm_ld_flags}|g" \
- -e "s|@@QT5_RPM_OPT_FLAGS@@|%{?qt5_rpm_opt_flags}|g" \
- -e "s|@@QMAKE@@|%{_prefix}/%%{_lib}/qt5/bin/qmake|g" \
- -e "s|@@QMAKE_QT5_WRAPPER@@|%{_bindir}/qmake-qt5.sh|g" \
- %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
- %if %{with deps}
- mkdir -p %{buildroot}%{_docdir}/qt5
- mkdir -p %{buildroot}%{_docdir}/qt5-devel
- echo "- Qt5 meta package" > %{buildroot}%{_docdir}/qt5/README
- echo "- Qt5 devel meta package" > %{buildroot}%{_docdir}/qt5-devel/README
- %endif
- %if %{with deps}
- %files
- %{_docdir}/qt5/README
- %files devel
- %{_docdir}/qt5-devel/README
- %endif
- %files rpm-macros
- %{_rpmconfigdir}/macros.d/macros.qt5
- %{_bindir}/qmake-qt5.sh
- %{_datadir}/qt5/wrappers/
- %files srpm-macros
- %{_rpmconfigdir}/macros.d/macros.qt5-srpm
- %changelog
- * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
- - built for Qt 5.12.8.
- * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
- - built for Qt 5.12.7.
- * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-2
- - initial build for Vine Linux.
- * Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
- - 5.12.5
- * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- * Tue Jun 11 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
- - 5.12.4
- * Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
- - 5.12.3
- * Thu Feb 14 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
- - 5.12.1
- * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- * Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
- - 5.11.3
- * Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
- - 5.11.2
- * Tue Aug 21 2018 Owen Taylor <otaylor@redhat.com> - 5.11.1-4
- - rpm-macros: always refer to binaries in their installed location, even if %%_libdir
- and %%_bindir are redefined.
- * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- * Fri Jun 29 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-2
- - %%_qt5_prefix=%%_prefix (was %%_libdir/qt5}
- * Tue Jun 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
- - 5.11.1
- * Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-2
- - rpm-macros: do not define _qt5_archdatadir, _qt5_bindir in terms of _qt5_prefix anymore
- * Sat May 26 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
- - 5.11.0
- * Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.1-1
- - 5.10.1
- - rpm-macros: Requires: gcc-c++
- * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-5
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- * Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-4
- - macros.qt5: fix path to qmake-qt5.sh wrapper
- * Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-3
- - use noarch-friendly paths for qmake-qt5.sh wrapper
- * Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-2
- - provide qmake-qt5.sh wrapper and new macro: %%qmake_qt5_wrapper
- * Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-1
- - 5.10.0
- * Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.9.3-1
- - 5.9.3
- * Tue Oct 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-1
- - 5.9.2
- * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- * Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
- - 5.9.1
- * Thu Jun 01 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
- - drop -fno-delete-null-pointer-checks hack/workaround
- * Sat Apr 15 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
- - Up to match upcoming 5.9.0
- * Fri Mar 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
- - rebuild
- * Fri Jan 27 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
- - Tie to new upstream release
- * Mon Jan 02 2017 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-2
- - drop Requires: qt5-gstreamer qt5-qtacountsservice qt5-qtconfiguration (not from qtproject.org)
- * Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
- - Prepare for new release
- * Tue Sep 27 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-10
- - s/%%rhel/%%epel/ , cmake3 is only available in epel
- * Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-9
- - install the right macros.qt5-srpm file
- * Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-8
- - introduce -srpm-macros (initially defines %%qt5_qtwebengine_arches)
- - -devel: drop Requires: qt5-qtwebengine-devel (since not all archs are supported)
- * Sat Jul 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-7
- - drop Requires: qt5-qtwebengine (not available on all archs)
- * Tue Jul 12 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-6
- - Fix macros with invalid substitutions.
- * Wed Jul 06 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-5
- - Fix typo. Thanks to Diego Herrera.
- - Add macro qt5_includedir as more logical than headerdir. Old one still available
- * Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-4
- - Clang is not default anymore. End of experimentation phase
- * Wed Jun 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-3
- - Move package to be qt5 and create meta packages
- - Add new macro for qml dir
- * Mon Jun 13 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
- - Test repositories using clang by default
- * Thu Jun 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
- - Decouple macros from main qtbase package
|