Пакет gr-osmosdr: 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 | #%%def_with doc Name: gr-osmosdr Url: https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR Version: 0.2.5 Release: alt2 License: GPL-3.0-or-later Group: Engineering Summary: Common software API for various radio hardware Source: %name-%version.tar BuildRequires(pre): rpm-macros-cmake rpm-macros-python3 BuildRequires: rpm-build-python3 BuildRequires: cmake gcc-c++ BuildRequires: gnuradio-devel BuildRequires: boost-program_options-devel BuildRequires: pybind11-devel BuildRequires: rtl-sdr-devel BuildRequires: uhd-devel BuildRequires: hackrf-devel BuildRequires: libbladerf-devel BuildRequires: liborc-devel BuildRequires: python3-devel BuildRequires: python3-module-mako BuildRequires: liblog4cpp-devel BuildRequires: mpir-devel BuildRequires: libgmp-devel BuildRequires: libfftw3-devel BuildRequires: libsndfile-devel BuildRequires: libnumpy-py3-devel BuildRequires: libunwind-devel %if_with doc BuildRequires: doxygen BuildRequires: graphviz %endif # uhd not available for %ix86 %arm # gnuradio not available for ppc64le ExcludeArch: %ix86 %arm ppc64le %description Primarily gr-osmosdr supports the OsmoSDR hardware, but it also offers a wrapper functionality for FunCube Dongle, Ettus UHD and rtl-sdr radios. By using gr-osmosdr source you can take advantage of a common software api in your application(s) independent of the underlying radio hardware. %package devel Summary: Development files for gr-osmosdr Group: Engineering Requires: %name = %version-%release %description devel Development files for gr-osmosdr. %package doc Summary: Documentation files for gr-osmosdr Group: Engineering BuildArch: noarch %description doc Documentation files for gr-osmosdr. %prep %setup # TODO fix the lib location nicer way %__subst 's|/lib/|/%_lib/|g' CMakeLists.txt %build %cmake \ %if_with doc -DENABLE_DOXYGEN=on \ -DGR_PKG_DOC_DIR=%_docdir/%name .. %endif %cmake_build %install %cmake_install # Create pkgconfig .pc file mkdir -p %buildroot%_pkgconfigdir cat <<EOF > %buildroot%_pkgconfigdir/gnuradio-osmosdr.pc prefix=%_prefix exec_prefix=\${prefix} libdir=\${exec_prefix}/%_lib includedir=\${prefix}/include Name: gnuradio-osmosdr Description: GNU Radio block for various radio hardware Url: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR Version: %version Requires: gnuradio-runtime gnuradio-blocks Requires.private: Conflicts: Cflags: -I\${includedir} -I%_includedir Libs: -L\${libdir} -lgnuradio-osmosdr Libs.private: -L\${libdir} EOF %files %doc AUTHORS %_bindir/* %_libdir/*.so.* %python3_sitelibdir/* %_datadir/gnuradio/grc/blocks/* %if_with doc %exclude %_docdir/%name/html %exclude %_docdir/%name/xml %endif %files devel %_includedir/osmosdr %_libdir/*.so %_libdir/cmake/osmosdr/* %_pkgconfigdir/*.pc %if_with doc %files doc %doc %_docdir/%name/html %doc %_docdir/%name/xml %endif %changelog * Mon Jan 29 2024 Anton Midyukov <antohami@altlinux.org> 0.2.5-alt2 - add ppc64le to ExcludeArch * Fri Dec 29 2023 Anton Midyukov <antohami@altlinux.org> 0.2.5-alt1 - New version 0.2.5. * Thu Jun 08 2023 Anton Midyukov <antohami@altlinux.org> 0.2.4-alt2 - disable build documentation * Wed Mar 15 2023 Anton Midyukov <antohami@altlinux.org> 0.2.4-alt1 - New version 0.2.4. * Fri Sep 24 2021 Anton Midyukov <antohami@altlinux.org> 0.2.3-alt2.20210129 - ExcludeArch: %ix86 %arm * Sat May 08 2021 Anton Midyukov <antohami@altlinux.org> 0.2.3-alt1.20210129 - new snapshot * Wed Jun 10 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.2.0-alt2 - Rebuilt with boost-1.73.0. * Mon Mar 23 2020 Anton Midyukov <antohami@altlinux.org> 0.2.0-alt1 - new version 0.2.0 - generate .pc in spec as dropped upstream * Sun Nov 24 2019 Anton Midyukov <antohami@altlinux.org> 0.1.4-alt5.20190514 - New snapshot - Fix build with gnuradio 3.8 * Thu Feb 07 2019 Anton Midyukov <antohami@altlinux.org> 0.1.4-alt4.20180627 - New snapshot * Thu May 31 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.1.4-alt3.20170612.S1.1 - NMU: rebuilt with boost-1.67.0 * Sun Apr 22 2018 Anton Midyukov <antohami@altlinux.org> 0.1.4-alt3.20170612.S1 - rebuilt with libvolk 1.4 * Fri Mar 30 2018 Anton Midyukov <antohami@altlinux.org> 0.1.4-alt2.20170612.1 - fix buildrequires * Sun Oct 22 2017 Anton Midyukov <antohami@altlinux.org> 0.1.4-alt1.20170612.1 - Initial build for ALT Sisyphus. |