mirror of https://github.com/hmatuschek/libsdr
Added dist files.
parent
a9174d2daf
commit
d4aa3d1694
@ -0,0 +1,5 @@
|
|||||||
|
libsdr (0.1.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial official release.
|
||||||
|
|
||||||
|
-- Hannes Matuschek <hmatuschek@gmail.com> Sun, 07 December 2014 00:00:00 +0000
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
Source: libsdr
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Hannes Matuschek <hmatuschek@gmail.com>
|
||||||
|
Build-Depends: cdbs (>= 0.4.51), dh-exec, debhelper (>= 8.0.0), cmake, qtbase5-dev (>= 5.0), portaudio19-dev, librtlsdr-dev, fftw3-dev
|
||||||
|
Standards-Version: 3.9.2
|
||||||
|
Section: hamradio
|
||||||
|
Homepage: http://github.com/hmatuschek/libsdr
|
||||||
|
|
||||||
|
Package: libsdr
|
||||||
|
Section: hamradio
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: libsdr
|
||||||
|
A C++ library for software defined radio.
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
|
include /usr/share/cdbs/1/class/cmake.mk
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
Format: 1.0
|
||||||
|
Source: libsdr
|
||||||
|
Binary: libsdr
|
||||||
|
Version: 3.1.0
|
||||||
|
Maintainer: Hannes Matuschek <hmatuschek@gmail.com>
|
||||||
|
Architecture: any
|
||||||
|
Build-Depends: cdbs (>= 0.4.51), dh-exec, debhelper (>= 8.0.0), cmake, qtbase5-dev (>= 5.0), portaudio19-dev, librtlsdr-dev, fftw3-dev
|
||||||
|
Files:
|
||||||
|
d57283ebb8157ae919762c58419353c8 133282 libsdr-0.1.0.tar.gz
|
||||||
|
d57283ebb8157ae919762c58419353c8 133282 libsdr-0.1.0.diff.tar.gz
|
||||||
@ -0,0 +1,77 @@
|
|||||||
|
Summary: A C++ library for software defined radios
|
||||||
|
|
||||||
|
%define version 0.1.0
|
||||||
|
|
||||||
|
License: GPL-2.0+
|
||||||
|
Name: libsdr
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Prefix: /usr
|
||||||
|
Release: 1
|
||||||
|
Source: libsdr-%{version}.tar.gz
|
||||||
|
URL: https://github.com/hmatuschek/libsdr
|
||||||
|
Version: %{version}
|
||||||
|
Buildroot: /tmp/libsdrrpm
|
||||||
|
BuildRequires: gcc-c++, cmake, portaudio-devel, fftw3-devel, librtlsdr-devel
|
||||||
|
Requires: portaudio, fftw3, librtlsdr-devel
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: libqt5-qtbase-devel
|
||||||
|
Requires: libqt5-qtbase
|
||||||
|
%endif
|
||||||
|
%if 0%{?fedora}
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
Requires: qt5-qtbase
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
A simple C++ library for software defined radios.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libsdr-devel
|
||||||
|
Summary: A C++ library for software defined radios
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
BuildRequires: gcc-c++, cmake, portaudio-devel, fftw3-devel, librtlsdr-devel
|
||||||
|
Requires: portaudio, fftw3, librtlsdr
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: libqt5-qtbase-devel
|
||||||
|
Requires: libqt5-qtbase
|
||||||
|
%endif
|
||||||
|
%if 0%{?fedora}
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
Requires: qt5-qtbase
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description -n libsdr-devel
|
||||||
|
Provides the runtime library header files for libsdr.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=RELEASE \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$RPM_BUILD_ROOT/usr
|
||||||
|
make
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_libdir}/libsdr.so.*
|
||||||
|
%{_libdir}/libsdr-gui.so.*
|
||||||
|
|
||||||
|
%files -n libsdr-devel
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%{_libdir}/libsdr.so
|
||||||
|
%{_libdir}/libsdr-gui.so
|
||||||
|
%{_includedir}/libsdr/
|
||||||
Loading…
Reference in New Issue