Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
qsdr
qsdr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qsdr.spec of Package qsdr
# # spec file for package qsdr # # Copyright (c) 2016 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/ # Name: qsdr Version: 1.1.0 Release: 1 Summary: SDR-Software transceiver for HiQSDR and Ettus B200 License: GPL-3.0+ %if 0%{?suse_version} Group: Productivity/Hamradio/Other %endif %if 0%{?fedora} Group: Applications/Engineering %endif URL: http://dl2stg.de/stefan/hiqsdr/%{name}.html Source: http://dl2stg.de/stefan/hiqsdr/files/%{name}-%{version}.tgz Patch0: %{name}-desktop-file-fix.patch Patch1: %{name}-fix-rds-encoder.patch BuildRequires: alsa-devel %if 0%{?suse_version} >= 1330 BuildRequires: libboost_system-devel %else BuildRequires: boost-devel %endif BuildRequires: gnuradio-devel >= 2.7.2 BuildRequires: gr-hiqsdr-devel BuildRequires: fftw3-devel BuildRequires: libxml2-devel BuildRequires: protobuf-devel %if 0%{?suse_version} BuildRequires: libqt4-devel BuildRequires: libusb-compat-devel BuildRequires: update-desktop-files hicolor-icon-theme %endif %if 0%{?fedora} BuildRequires: qt-devel > 4 BuildRequires: gcc-c++ BuildRequires: libusb-devel BuildRequires: desktop-file-utils %endif %description QSDR is a SDR-Software transceiver for HiQSDR and Ettus B200, developed with C++. It based on the excellent GNU Radio project and the Qt framework. %prep %setup -q -n %{name} %patch0 -p 1 %patch1 -p 1 %build protoc --cpp_out=. trx.proto %if 0%{?suse_version} qmake %{name}.pro %endif %if 0%{?fedora} qmake-qt4 %{name}.pro %endif make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} cp %{name} %{buildroot}%{_bindir} #install desktop file %if 0%{?suse_version} mkdir -p %{buildroot}%{_datadir}/applications cp %{name}.desktop %{buildroot}%{_datadir}/applications %suse_update_desktop_file -r %{name} Internet HamRadio %endif %if 0%{?fedora} desktop-file-install \ --vendor= \ --dir %{buildroot}%{_datadir}/applications \ --add-category Qt \ %{name}.desktop %endif #install icon mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps cp %{name}.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png %files %doc HISTORY %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*x*/apps/%{name}.png %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