Package telepathy-qt5: 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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | %define farstream farstream0.2 %define farstream_dev pkgconfig(farstream-0.2) libtelepathy-farstream-devel %define sover 0 %define sover_service 1 %define lib_main libtelepathy-qt5%sover %define lib_farstream libtelepathy-qt5-farstream%sover %define lib_service libtelepathy-qt5-service%sover_service %define dev_main libtelepathy-qt5%name-devel Name: telepathy-qt5 Version: 0.9.8 Release: alt1 Summary: Telepathy framework - Qt5 connection manager library License: GPLv2 Group: System/Libraries URL: https://telepathy.freedesktop.org/components/telepathy-qt/ # https://telepathy.freedesktop.org/releases/telepathy-qt/ Source: telepathy-qt-%version.tar BuildRequires(pre): qt5-base-devel qt5-tools BuildRequires: python < 3 python >= 2.7 BuildRequires: cmake doxygen gcc-c++ git-core graphviz phonon-devel BuildRequires: libxml2-devel glib2-devel libdbus-devel libdbus-glib-devel BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: %farstream_dev BuildRequires: python-module-dbus python-module-distribute BuildRequires: kde-common-devel %description Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5. %package common Summary: %name common package Group: System/Configuration/Other BuildArch: noarch %description common %name common package %package -n %lib_main Group: System/Libraries Summary: %name library Requires: %name-common = %version-%release Requires: %farstream %description -n %lib_main Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5. %package -n %lib_farstream Group: System/Libraries Summary: %name library Requires: %name-common = %version-%release %description -n %lib_farstream %name library. %package -n %lib_service Group: System/Libraries Summary: %name library Requires: %name-common = %version-%release %description -n %lib_service %name library. %package -n lib%name Summary: Telepathy framework - Qt5 connection manager library Group: System/Libraries Requires: %lib_main %lib_farstream %lib_service %description -n lib%name Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5. %package devel Summary: Development libraries and header files for %name Group: Development/KDE and QT Provides: lib%name-devel = %EVR Obsoletes: lib%name-devel < %EVR Requires: libtelepathy-glib-devel %description devel Development libraries and header files for %name. %package devel-static Summary: Static libraries for %name Group: Development/KDE and QT Provides: lib%name-devel-static = %EVR Obsoletes: lib%name-devel-static < %EVR Requires: %name-devel %description devel-static Static libraries for %name. %prep %setup -qn telepathy-qt-%version %build %ifarch %e2k %add_optflags -std=c++11 %endif export PATH=%_qt5_bindir:$PATH export QT_DOC_DIR=%_qt5_docdir %cmake \ -DCMAKE_BUILD_TYPE:STRING=release \ -DDESIRED_QT_VERSION=5 \ -DENABLE_FARSTREAM:BOOL=ON \ -DENABLE_FARSIGHT:BOOL=OFF \ -DQT_DOC_DIR=%_qt5_docdir \ -DENABLE_TESTS=OFF \ -DENABLE_EXAMPLES=OFF \ -DDISABLE_WERROR=ON \ # %cmake_build %cmake_build doxygen-doc %install %make install DESTDIR=%buildroot -C BUILD %files common %doc AUTHORS COPYING HACKING NEWS README %files -n lib%name %files -n %lib_main %_libdir/libtelepathy-qt5.so.%sover %_libdir/libtelepathy-qt5.so.* %files -n %lib_farstream %_libdir/libtelepathy-qt5-farstream.so.%sover %_libdir/libtelepathy-qt5-farstream.so.* %files -n %lib_service %_libdir/libtelepathy-qt5-service.so.%sover_service %_libdir/libtelepathy-qt5-service.so.* %files devel %doc BUILD*/doc/html %_libdir/cmake/TelepathyQt5*/ %_libdir/lib*.so %_pkgconfigdir/TelepathyQt5*.pc %_includedir/telepathy-qt5 #%files devel-static #%_libdir/lib*.a %changelog * Mon Apr 27 2020 Sergey V Turchin <zerg@altlinux.org> 0.9.8-alt1 - new version * Tue Jun 18 2019 Sergey V Turchin <zerg@altlinux.org> 0.9.7-alt4 - add optflags for E2K - don't package devel-static * Mon Jun 17 2019 Sergey V Turchin <zerg@altlinux.org> 0.9.7-alt3 - dont use ubt macro * Fri May 25 2018 Sergey V Turchin <zerg@altlinux.org> 0.9.7-alt2 - update package Url * Wed Sep 21 2016 Sergey V Turchin <zerg@altlinux.org> 0.9.7-alt1 - new version * Fri Jan 15 2016 Sergey V Turchin <zerg@altlinux.org> 0.9.6.1-alt3 - build fixed - move docs to devel subpackage * Tue Nov 03 2015 Sergey V Turchin <zerg@altlinux.org> 0.9.6.1-alt2 - fix data dir path * Wed Jun 17 2015 Sergey V Turchin <zerg@altlinux.org> 0.9.6.1-alt1 - new version * Mon May 18 2015 Sergey V Turchin <zerg@altlinux.org> 0.9.5-alt1 - initial build |