Projects
home:wkazubski
gr-dab
gr-dab-SLE_12_SP5.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gr-dab-SLE_12_SP5.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_7_13 %define examplesdir %{_datadir}/gnuradio/examples Name: gr-dab Version: 0.3.1 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.7.0 BuildRequires: gnuradio-examples %if 0%{?suse_version} > 1330 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel %else BuildRequires: boost-devel %endif BuildRequires: python2-devel 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}%{sover} = %{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} = %{version}-%{release} 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 BuildArch: noarch 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 apps/rds*.grc -t %{buildroot}%{examplesdir}/dab %post -n %{libname}%{sover} -p /sbin/ldconfig %postun -n %{libname}%{sover} -p /sbin/ldconfig %files %defattr(-, root, root) %{_bindir}/grdab %{_datadir}/gnuradio/grc/blocks/*.xml %{python3_sitearch}/grdab %doc README.md AUTHORS THANKS %license COPYING %exclude %{_docdir}/%{name}/html %exclude %{_docdir}/%{name}/xml %files -n %{libname}%{sover} %defattr(-, root, root) %{_libdir}/%{libname}*.so.* %files devel %defattr(-, root, root) %{_libdir}/%{libname}*.so %{_libdir}/cmake/grdab %{_includedir}/grdab %files doc %defattr(-, root, root) %{_docdir}/%{name}/html %{_docdir}/%{name}/xml %files examples %defattr(-,root,root) %{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
.