Package qt5-gamepad: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | %define qdoc_found %{expand:%%(if [ -e %_qt5_bindir/qdoc ]; then echo 1; else echo 0; fi)} %global qt_module qtgamepad Name: qt5-gamepad Version: 5.12.12 Release: alt1 Group: System/Libraries Summary: A Qt 5 module that adds support for getting events from gamepad devices on multiple platforms. Url: http://qt.io/ License: LGPLv2 / GPLv3 Source: %qt_module-everywhere-src-%version.tar BuildRequires(pre): rpm-build-ubt rpm-macros-qt5 qt5-tools BuildRequires: qt5-base-devel qt5-base-devel-static qt5-declarative-devel BuildRequires: glibc-devel BuildRequires: libudev-devel libSDL2-devel %description %summary %package common Summary: Common package for %name Group: System/Configuration/Other Requires: qt5-base-common %description common Common package for %name %package devel Group: Development/KDE and QT Summary: Development files for %name Requires: %name-common = %EVR Requires: qt5-base-devel rpm-build-qml %description devel %summary. %package doc Summary: Document for developing apps which will use Qt5 %qt_module Group: Development/KDE and QT Requires: %name-common = %EVR %description doc This package contains documentation for Qt5 %qt_module %package -n libqt5-gamepad Group: System/Libraries Summary: Qt5 - library Requires: %name-common = %EVR Requires: libqt5-core = %_qt5_version %description -n libqt5-gamepad %summary %prep %setup -n %qt_module-everywhere-src-%version %build %qmake_qt5 %make_build %if %qdoc_found %make docs %endif %install %install_qt5 %if %qdoc_found %make INSTALL_ROOT=%buildroot install_docs ||: %endif %files common %dir %_qt5_plugindir/gamepads/ %files -n libqt5-gamepad %_qt5_libdir/libQt5Gamepad.so.* %_qt5_plugindir/gamepads/* %_qt5_qmldir/QtGamepad/ %files devel %_qt5_libdir/libQt*.so %_qt5_libdatadir/libQt*.so %_qt5_libdir/libQt*.prl %_qt5_libdatadir/libQt*.prl %_qt5_headerdir/Qt*/ %_qt5_archdatadir/mkspecs/modules/*.pr* %_libdir/cmake/Qt*/ %_pkgconfigdir/Qt?Gamepad.pc %files doc %if %qdoc_found %_qt5_docdir/* %endif %_qt5_examplesdir/* %changelog * Fri Jan 14 2022 Sergey V Turchin <zerg@altlinux.org> 5.12.12-alt1 - new version * Tue Jul 27 2021 Sergey V Turchin <zerg@altlinux.org> 5.12.11-alt1 - new version * Mon Jun 22 2020 Sergey V Turchin <zerg@altlinux.org> 5.12.9-alt1 - new version * Thu Apr 09 2020 Sergey V Turchin <zerg@altlinux.org> 5.12.8-alt1 - new version * Thu Feb 13 2020 Sergey V Turchin <zerg@altlinux.org> 5.12.7-alt1 - new version * Mon Dec 16 2019 Sergey V Turchin <zerg@altlinux.org> 5.12.6-alt1 - new version * Mon Oct 07 2019 Sergey V Turchin <zerg@altlinux.org> 5.12.5-alt1 - new version * Mon Jun 24 2019 Sergey V Turchin <zerg@altlinux.org> 5.12.4-alt1 - new version * Thu Apr 25 2019 Sergey V Turchin <zerg@altlinux.org> 5.12.3-alt1 - new version * Thu Mar 14 2019 Sergey V Turchin <zerg@altlinux.org> 5.12.2-alt1 - new version * Thu Dec 13 2018 Sergey V Turchin <zerg@altlinux.org> 5.11.3-alt1 - new version * Mon Sep 24 2018 Sergey V Turchin <zerg@altlinux.org> 5.11.2-alt1%ubt - new version * Tue Aug 28 2018 Sergey V Turchin <zerg@altlinux.org> 5.11.1-alt2%ubt - build docs * Fri Aug 03 2018 Sergey V Turchin <zerg@altlinux.org> 5.11.1-alt1%ubt - new version * Wed Jun 13 2018 Sergey V Turchin <zerg@altlinux.org> 5.9.6-alt1%ubt - new version * Tue Apr 17 2018 Sergey V Turchin <zerg@altlinux.org> 5.9.5-alt1%ubt - new version * Thu Feb 15 2018 Oleg Solovyov <mcpain@altlinux.org> 5.9.4-alt3%ubt - restore dir * Thu Feb 15 2018 Oleg Solovyov <mcpain@altlinux.org> 5.9.4-alt2%ubt - remove unnecessary dir from common pkg * Wed Feb 14 2018 Oleg Solovyov <mcpain@altlinux.org> 5.9.4-alt1%ubt - initial build |