gnuradio/gnuradio.spec

172 lines
5.2 KiB
RPMSpec
Raw Normal View History

Name: gnuradio
Version: 3.10.2.0
Release: 1mamba
Summary: GNU Radio the Free and Open Software Radio Ecosystem
Group: Applications/Communication
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gnuradio.org/
Source: https://github.com/gnuradio/gnuradio.git/v%{version}/gnuradio-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libalsa-devel
BuildRequires: libboost-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgmp-cxx-devel
BuildRequires: libgmp-devel
BuildRequires: libgsl-devel
BuildRequires: libgsm-devel
BuildRequires: libjack-devel
BuildRequires: libportaudio-devel
BuildRequires: libqwt-devel
BuildRequires: libsndfile-devel
BuildRequires: libspdlog-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunwind-devel
BuildRequires: libvolk-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
GNU Radio the Free and Open Software Radio Ecosystem.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/gnuradio
%dir %{_sysconfdir}/gnuradio/conf.d
%config %{_sysconfdir}/gnuradio/conf.d/gnuradio-runtime.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr-audio-alsa.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr-audio-jack.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr-audio-oss.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr-audio-portaudio.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr-audio.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr-qtgui.conf
%config %{_sysconfdir}/gnuradio/conf.d/gr_log_default.conf
%{_bindir}/gnuradio-config-info
%dir %{_datadir}/gnuradio
%{_datadir}/gnuradio/*
%{_mandir}/man1/*.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgnuradio-analog.so.*
%{_libdir}/libgnuradio-audio.so.*
%{_libdir}/libgnuradio-blocks.so.*
%{_libdir}/libgnuradio-channels.so.*
%{_libdir}/libgnuradio-digital.so.*
%{_libdir}/libgnuradio-dtv.so.*
%{_libdir}/libgnuradio-fec.so.*
%{_libdir}/libgnuradio-fft.so.*
%{_libdir}/libgnuradio-filter.so.*
%{_libdir}/libgnuradio-network.so.*
%{_libdir}/libgnuradio-pdu.so.*
%{_libdir}/libgnuradio-pmt.so.*
%{_libdir}/libgnuradio-qtgui.so.*
%{_libdir}/libgnuradio-runtime.so.*
%{_libdir}/libgnuradio-trellis.so.*
%{_libdir}/libgnuradio-video-sdl.so.*
%{_libdir}/libgnuradio-vocoder.so.*
%{_libdir}/libgnuradio-wavelet.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/gnuradio
%{_includedir}/gnuradio/*
%dir %{_includedir}/pmt
%{_includedir}/pmt/*
%dir %{_libdir}/cmake/gnuradio
%{_libdir}/cmake/gnuradio/*.cmake
%{_libdir}/libgnuradio-analog.so
%{_libdir}/libgnuradio-analog.so.*
%{_libdir}/libgnuradio-audio.so
%{_libdir}/libgnuradio-audio.so.*
%{_libdir}/libgnuradio-blocks.so
%{_libdir}/libgnuradio-blocks.so.*
%{_libdir}/libgnuradio-channels.so
%{_libdir}/libgnuradio-channels.so.*
%{_libdir}/libgnuradio-digital.so
%{_libdir}/libgnuradio-digital.so.*
%{_libdir}/libgnuradio-dtv.so
%{_libdir}/libgnuradio-dtv.so.*
%{_libdir}/libgnuradio-fec.so
%{_libdir}/libgnuradio-fec.so.*
%{_libdir}/libgnuradio-fft.so
%{_libdir}/libgnuradio-fft.so.*
%{_libdir}/libgnuradio-filter.so
%{_libdir}/libgnuradio-filter.so.*
%{_libdir}/libgnuradio-network.so
%{_libdir}/libgnuradio-network.so.*
%{_libdir}/libgnuradio-pdu.so
%{_libdir}/libgnuradio-pdu.so.*
%{_libdir}/libgnuradio-pmt.so
%{_libdir}/libgnuradio-pmt.so.*
%{_libdir}/libgnuradio-qtgui.so
%{_libdir}/libgnuradio-qtgui.so.*
%{_libdir}/libgnuradio-runtime.so
%{_libdir}/libgnuradio-runtime.so.*
%{_libdir}/libgnuradio-trellis.so
%{_libdir}/libgnuradio-trellis.so.*
%{_libdir}/libgnuradio-video-sdl.so
%{_libdir}/libgnuradio-video-sdl.so.*
%{_libdir}/libgnuradio-vocoder.so
%{_libdir}/libgnuradio-vocoder.so.*
%{_libdir}/libgnuradio-wavelet.so
%{_libdir}/libgnuradio-wavelet.so.*
%{_libdir}/pkgconfig/gnuradio-*.pc
%dir %{_docdir}/gnuradio-%{version}
%dir %{_docdir}/gnuradio-%{version}/html
%{_docdir}/gnuradio-%{version}/html/*
%dir %{_docdir}/gnuradio-%{version}/xml
%{_docdir}/gnuradio-%{version}/xml/*
%{_docdir}/gnuradio-%{version}/CHANGELOG.md
%{_docdir}/gnuradio-%{version}/CONTRIBUTING.md
%{_docdir}/gnuradio-%{version}/README.*
%changelog
* Fri May 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.2.0-1mamba
- package created using the webbuild interface