Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kolbma:sdr
csdr
csdr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File csdr.spec of Package csdr
# # spec file for package csdr # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define build_tar_ball 0 %define somajor 0 %define sominor 15 %define sopatch 1 %define sover %{somajor}_%{sominor}_%{sopatch} %define libname libcsdr%{sover} Name: csdr Version: 0.15.1 Release: 0 Summary: A Simple DSP library and command-line tool for SDR License: BSD-2-Clause OR GPL-2.0-only Group: Productivity/Hamradio/Other Url: https://github.com/jketterl/csdr %if %{build_tar_ball} Source0: %{name}-%{version}.tar.gz %else Source0: _service %endif Patch0: fix-wrong-return-type.patch Patch1: csdr-fix-makefile.patch Patch2: csdr-libsdr-cleanup.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: fftw3-devel BuildRequires: python %description libcsdr is a set of simple DSP routines for Software Defined Radio. It is mostly useful for AM/FM/SSB demodulation and spectrum display. %package devel Summary: Development files for libcsdr Group: Development/Libraries/Other Requires: %{libname} = %{version} %description devel Libraries and header files for developing applications that want to make use of libcsdr. %package -n %{libname} Summary: A Simple DSP library Group: System/Libraries %description -n %{libname} libcsdr is a set of simple DSP routines for Software Defined Radio. It is mostly useful for AM/FM/SSB demodulation and spectrum display. %prep %if %{build_tar_ball} %setup -q %else %setup -q -n %_sourcedir/%{name}-%version -T -D %endif %patch0 -p1 %patch1 -p1 %patch2 -p1 chmod 644 README.md %build export CFLAGS='%{optflags}' %make_build %install %make_install # FIXME: should be fixed upstream %if %{__isa_bits} == 64 mv %{buildroot}%{_prefix}/lib/ %{buildroot}/%{_libdir} %endif ln -s libcsdr.so.%{somajor}.%{sominor}.%{sopatch} %{buildroot}/%{_libdir}/libcsdr.so.%{somajor} ln -s libcsdr.so.%{somajor} %{buildroot}/%{_libdir}/libcsdr.so %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %doc README.md %{_bindir}/* %files -n %{libname} %doc README.md %{_libdir}/libcsdr.so.* %files devel %defattr(-,root,root) %doc README.md %{_includedir}/libcsdr.h %{_libdir}/libcsdr.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor