Projects
home:wkazubski
gr-dab
gr-dab.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gr-dab.spec of Package gr-dab
# # spec file for package gr-gnMAX2769 # # Copyright (c) 2019-2022 Wojciech Kazubski, wk@ire.pw.edu.pl # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libname libgnuradio-dab %define sover 3_8_0 %define examplesdir %{_libdir}/gnuradio/examples Name: gr-dab Version: 0.4 Release: 1.1 Summary: DAB/DAB+ decoder modules for GNU Radio License: GPL-2.0 Group: Productivity/Hamradio/Other URL: https://github.com/andrmuel/gr-dab Source0: https://github.com/andrmuel/gr-dab/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: cppunit-devel BuildRequires: doxygen BuildRequires: faad2-devel BuildRequires: fdupes BuildRequires: fftw3-devel BuildRequires: gcc-c++ BuildRequires: gnuradio-devel >= 3.8.0.0 BuildRequires: gnuradio-examples BuildRequires: libboost_atomic-devel BuildRequires: libboost_date_time-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_regex-devel BuildRequires: libboost_system-devel BuildRequires: libboost_test-devel BuildRequires: libboost_thread-devel BuildRequires: orc BuildRequires: python3-devel BuildRequires: python3-PyYAML BuildRequires: python3-six BuildRequires: swig BuildRequires: udev %description This isa set of DAB/DAB+ decoder modules for GNU Radio. gr-dab contains everything needed to get audio from DAB and DAB+ %package -n %{libname}%{sover} Summary: Library for gr-dab module Group: Hardware/Other Requires: udev %description -n %{libname}%{sover} Library to run gr-dab DAB/DAB+ decoding module. %package devel Summary: Development files for gr-dab Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} Requires: %{libname} = %{version}-%{release} AutoReq: on %description devel Library headers for gr-dab DAB/DAB+ decoding module. %package doc Summary: Documentation for gr-dab Group: Documentation/Other BuildArch: noarch Requires: %{name}-devel Provides: %{name}-devel-doc = %{version}-%{release} Obsoletes: %{name}-devel-doc < %{version}-%{release} %description doc Documentation for gr-dab DAB/DAB+ decoding module for GNU Radio. %package examples Summary: DAB/DAB+ examples for GNU Radio Group: Hardware/Other Requires: %{name} Requires: gnuradio-examples %description examples Example DAB/DAB+ flowgraphs for GNU Radio Companion %prep %setup -q %build %cmake \ -DENABLE_DOXYGEN=1 \ -DCMAKE_SHARED_LINKER_FLAGS="" %cmake_build %install %cmake_install find %{buildroot}%{_libdir}/python*/site-packages/ -name '*.pyo' -exec rm {} \; #move docs to proper location mkdir -p %{buildroot}%{_docdir}/%{name} mv %{buildroot}/%{_datadir}/doc/%{name}/html %{buildroot}%{_docdir}/%{name} mv %{buildroot}/%{_datadir}/doc/%{name}/xml %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir} %fdupes -s %{buildroot}%{python_sitearch}/gn3s #install examples install -m 644 -D examples/*.grc -t %{buildroot}%{examplesdir}/dab %post -n %{libname}%{sover} -p /sbin/ldconfig %postun -n %{libname}%{sover} -p /sbin/ldconfig %files %{_bindir}/grdab %{_datadir}/gnuradio/grc/blocks/*.?ml %{python3_sitearch}/grdab %doc README.md AUTHORS THANKS %license COPYING %exclude %{_docdir}/%{name}/html %exclude %{_docdir}/%{name}/xml %files -n %{libname}%{sover} %{_libdir}/%{libname}*.so.* %files devel %{_libdir}/%{libname}*.so %{_libdir}/cmake/dab %{_libdir}/cmake/grdab %{_includedir}/dab %{_includedir}/grdab %files doc %{_docdir}/%{name}/html %{_docdir}/%{name}/xml %files examples %{examplesdir}/dab %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.