Package gnuradio: 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 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 %def_disable docs %def_enable tests %define _libexec %prefix/libexec Name: gnuradio Version: 3.10.9.2 Release: alt1 Summary: Software defined radio framework License: GPL-2.0-or-later Group: Engineering Url: http://www.gnuradio.org Source: %name-%version.tar Patch0: fix-gnuradio-qtgui.pc.patch # uhd not available for i586, armh # also segfault when build on ppc64le ExcludeArch: %ix86 %arm ppc64le %add_python3_path %_datadir/%name %add_findreq_skiplist %_datadir/%name/examples/*.grc BuildRequires(pre): rpm-macros-cmake rpm-macros-python3 BuildRequires: rpm-build-python3 rpm-build-gir BuildRequires: gcc-c++ cmake BuildRequires: liborc-devel BuildRequires: libgtk+3-gir-devel BuildRequires: libgmpxx-devel BuildRequires: boost-filesystem-devel BuildRequires: boost-interprocess-devel BuildRequires: boost-program_options-devel BuildRequires: libgsm-devel BuildRequires: qt5-base-devel BuildRequires: liblog4cpp-devel BuildRequires: mpir-devel BuildRequires: libqwt6-qt5-devel BuildRequires: libzeromq-cpp-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(codec2) BuildRequires: pkgconfig(comedilib) BuildRequires: pkgconfig(fftw3f) BuildRequires: pkgconfig(gsl) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(thrift) BuildRequires: pkgconfig(uhd) BuildRequires: libSDL-devel BuildRequires: libvolk-devel BuildRequires: python3-devel BuildRequires: python3-module-yaml BuildRequires: python3-module-mako BuildRequires: python3-module-lxml BuildRequires: python3-module-numpy BuildRequires: python3-module-pygobject3-devel BuildRequires: python3-module-pycairo-devel BuildRequires: python3-module-PyQt5 BuildRequires: python3-module-click-plugins BuildRequires: python3-module-pyqtgraph BuildRequires: python3-module-scipy-devel BuildRequires: pybind11-devel BuildRequires: libsndfile-devel BuildRequires: libunwind-devel BuildRequires: mpir-devel BuildRequires: libgmp-devel BuildRequires: libnumpy-py3-devel BuildRequires: doxygen #BuildRequires: texlive BuildRequires: libspdlog-devel BuildRequires: SoapySDR-devel %if_enabled tests BuildRequires: pkgconfig(cppunit) %endif #tests %if_enabled docs BuildRequires: doxygen python3-module-sphinx BuildRequires: /usr/bin/latex /usr/bin/dvips tex(dvips.def) %endif #docs BuildRequires: desktop-file-utils xdg-utils %add_python3_req_skip PyQt5.Qwt %add_python3_req_skip gnuradio.ctrlport.GNURadio %add_python3_req_skip Generate_LDPC_matrix_functions Obsoletes: gnuradio-data < 3.8 Obsoletes: libgnuradio < 3.8 Obsoletes: gnuradio-examples < 3.9.2.0-alt2 %description GNU Radio is a collection of software that when combined with minimal hardware, allows the construction of radios where the actual waveforms transmitted and received are defined by software. What this means is that it turns the digital modulation schemes used in today's high performance wireless devices into software problems. %package docs Summary: GNU Radio Documentation Group: Engineering Buildarch: noarch Requires: %name = %EVR %description docs GNU Radio Documentation. %package devel Group: Development/C++ Summary: GNU Radio Headers Requires: %name = %EVR Requires: cmake boost-program_options-devel Provides: libgnuradio-devel = %EVR %description devel GNU Radio Headers. %prep %setup %autopatch -p1 %build %cmake \ -DENABLE_INTERNAL_VOLK=OFF \ -DGR_PYTHON_DIR=%python3_sitelibdir \ -DPYTHON_EXECUTABLE=%__python3 \ %if_enabled tests -DENABLE_TESTING=ON %else -DENABLE_TESTING=OFF %endif #tests %cmake_build %install %cmake_install # remove verify_elf problem files rm %buildroot%_datadir/%name/examples/audio/dial_tone rm %buildroot%_datadir/%name/examples/qt-gui/display_qt rm %buildroot%_datadir/%name/examples/uhd/tags_demo # fix *.grc files permissions find %buildroot%_datadir/ -name '*.grc' | xargs \ chmod 644 # fix shebang find %buildroot%_datadir/%name -name '*.py' | xargs sed -i \ -e 's:/usr/bin/env python$:%__python3:' # desktop file desktop-file-install --dir=%buildroot%_datadir/applications \ grc/scripts/freedesktop/gnuradio-grc.desktop # mime install -Dp grc/scripts/freedesktop/gnuradio-grc.xml \ %buildroot%_datadir/mime/packages/gnuradio-grc.xml # metainfo install -Dp grc/scripts/freedesktop/org.gnuradio.grc.metainfo.xml \ %buildroot%_datadir/metainfo/org.gnuradio.grc.metainfo.xml # icons for i in 16 24 32 48 64 128 256; do install -Dp grc/scripts/freedesktop/grc-icon-${i}.png \ %buildroot%_datadir/icons/hicolor/${i}x${i}/apps/gnuradio-grc.png done %files %_bindir/* %_sysconfdir/%name %_iconsdir/hicolor/*/apps/gnuradio-grc.png %_desktopdir/gnuradio-grc.desktop %_datadir/mime/packages/* %_libdir/*.so.* %_datadir/%name %_docdir/%name-%version %python3_sitelibdir/%name %python3_sitelibdir/pmt %if_enabled docs %exclude %_docdir/%name-%version/xml %exclude %_docdir/%name-%version/html %endif #docs %_datadir/metainfo/org.gnuradio.grc.metainfo.xml %_man1dir/*.1.* %if_enabled docs %files docs %_docdir/%name-%version/xml %_docdir/%name-%version/html %endif #docs %files devel %_libdir/*.so %_libdir/cmake/%name %_includedir/%name %_includedir/pmt %_pkgconfigdir/*.pc %changelog * Mon Jan 29 2024 Anton Midyukov <antohami@altlinux.org> 3.10.9.2-alt1 - New version 3.10.9.2. - add ppc64le to ExcludeArch * Thu Jan 04 2024 Anton Midyukov <antohami@altlinux.org> 3.10.9.1-alt1 - New version 3.10.9.1. * Fri Nov 10 2023 Anton Midyukov <antohami@altlinux.org> 3.10.8.0-alt1 - New version 3.10.8.0. * Mon Aug 14 2023 Anton Midyukov <antohami@altlinux.org> 3.10.7.0-alt1 - New version 3.10.7.0. * Thu Jun 15 2023 Anton Midyukov <antohami@altlinux.org> 3.10.6.0-alt1 - New version 3.10.6.0. * Fri Feb 24 2023 Anton Midyukov <antohami@altlinux.org> 3.10.5.1-alt1 - new version 3.10.5.1 * Fri Jan 28 2022 Anton Midyukov <antohami@altlinux.org> 3.9.5.0-alt1 - new version 3.9.5.0 * Fri Sep 24 2021 Anton Midyukov <antohami@altlinux.org> 3.9.2.0-alt2 - ExcludeArch: %ix86 %arm - Drop examples subpackage * Mon Jun 28 2021 Anton Midyukov <antohami@altlinux.org> 3.9.2.0-alt1 - new version 3.9.2.0 * Sat May 08 2021 Anton Midyukov <antohami@altlinux.org> 3.9.1.0-alt1 - new version 3.9.1.0 - update buildrequires * Sat Nov 07 2020 Anton Midyukov <antohami@altlinux.org> 3.8.1.0-alt3 - Rebuilt without pkgconfig(thrift) * Wed Jun 10 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 3.8.1.0-alt2 - Rebuilt with boost-1.73.0. * Thu May 21 2020 Anton Midyukov <antohami@altlinux.org> 3.8.1.0-alt1 - new version 3.8.1.0 * Wed Dec 25 2019 Anton Midyukov <antohami@altlinux.org> 3.8.0.0-alt1 - new version 3.8.0.0 - switch to python3 - Obsoletes: gnuradio-data libgnuradio libgnuradio-devel < 3.8 - rename libgnuradio-devel to gnuradio-devel * Thu Dec 05 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 3.7.13.4-alt2 - Rebuilt with boost-1.71.0. * Sat Dec 29 2018 Anton Midyukov <antohami@altlinux.org> 3.7.13.4-alt1 - new version 3.7.13.4 - build with libqwt6 * Thu Aug 09 2018 Anton Farygin <rider@altlinux.ru> 3.7.12.0-alt3 - rebuilt with libcodec2-0.8.1 * Wed Jun 06 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 3.7.12.0-alt2 - NMU: rebuilt with boost-1.67.0. * Mon Apr 23 2018 Anton Midyukov <antohami@altlinux.org> 3.7.12.0-alt1 - new version 3.7.12.0 * Fri Mar 30 2018 Anton Midyukov <antohami@altlinux.org> 3.7.11-alt5 - fix buildrequires * Mon Mar 19 2018 Anton Midyukov <antohami@altlinux.org> 3.7.11-alt4 - rebuilt with uhd-3.11.0 * Sun Dec 17 2017 Anton Midyukov <antohami@altlinux.org> 3.7.11-alt3 - fix build - enable support gr-uhd * Tue Oct 03 2017 Anton Farygin <rider@altlinux.ru> 3.7.11-alt2 - rebuilt for libcodec2 0.7 * Mon Aug 14 2017 Anton Midyukov <antohami@altlinux.org> 3.7.11-alt1 - Initial build for ALT Sisyphus. |