SHA256
1
0
forked from pool/rtl-sdr

Accepting request 631915 from hardware:sdr

- Use more of cmake macros
- Disable developer output from cmake

- Update to version 0.6.0
  * Fix inline functions to use 'static inline'
  * tuner_r82xx: turn off loop-through, remove dead code
  * rtl_adsb: fix hanging upon a signal in Fedora 27
  * lib: use USB zero-copy transfers if possible

OBS-URL: https://build.opensuse.org/request/show/631915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtl-sdr?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2018-08-31 08:44:42 +00:00 committed by Git OBS Bridge
commit a5434e556b
4 changed files with 30 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f38da8a230de5fc997f83a19cff7f8c1a66b62a9cf70ddc997d44696b97ea1df
size 120539

3
rtl-sdr-0.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80a5155f3505bca8f1b808f8414d7dcd7c459b662a1cde84d3a2629a6e72ae55
size 134289

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Aug 28 08:07:53 UTC 2018 - mpluskal@suse.com
- Use more of cmake macros
- Disable developer output from cmake
-------------------------------------------------------------------
Mon Aug 27 21:14:27 UTC 2018 - mardnh@gmx.de
- Update to version 0.6.0
* Fix inline functions to use 'static inline'
* tuner_r82xx: turn off loop-through, remove dead code
* rtl_adsb: fix hanging upon a signal in Fedora 27
* lib: use USB zero-copy transfers if possible
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 10 02:17:13 UTC 2018 - plinnell@opensuse.org Sun Jun 10 02:17:13 UTC 2018 - plinnell@opensuse.org
@ -5,7 +20,6 @@ Sun Jun 10 02:17:13 UTC 2018 - plinnell@opensuse.org
* No change log found in source or wiki * No change log found in source or wiki
* Drop git-requirement * Drop git-requirement
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 15 15:49:56 UTC 2017 - mpluskal@suse.com Fri Dec 15 15:49:56 UTC 2017 - mpluskal@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -20,14 +20,14 @@
%define libname librtlsdr%{sover} %define libname librtlsdr%{sover}
%define rtlsdr_group rtlsdr %define rtlsdr_group rtlsdr
Name: rtl-sdr Name: rtl-sdr
Version: 0.5.4 Version: 0.6.0
Release: 0 Release: 0
Summary: Support programs for RTL2832 Summary: Support programs for RTL2832
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Hamradio/Other Group: Productivity/Hamradio/Other
Url: http://sdr.osmocom.org/trac/wiki/rtl-sdr URL: http://sdr.osmocom.org/trac/wiki/rtl-sdr
#Git-Clone: https://git.osmocom.org/rtl-sdr #Git-Clone: https://git.osmocom.org/rtl-sdr
Source: %{name}-%{version}.tar.gz Source: https://github.com/steve-m/librtlsdr/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 0001-Better-udev-handling.patch Patch0: 0001-Better-udev-handling.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -63,7 +63,7 @@ Requires: %{name} = %{version}
Library headers for rtl-sdr driver. Library headers for rtl-sdr driver.
%prep %prep
%setup -q %setup -q -n librtlsdr-%{version}
%patch0 -p1 %patch0 -p1
%build %build
@ -71,8 +71,9 @@ Library headers for rtl-sdr driver.
-DINSTALL_UDEV_RULES=ON \ -DINSTALL_UDEV_RULES=ON \
-DUDEV_RULES_PATH=%{_udevrulesdir} \ -DUDEV_RULES_PATH=%{_udevrulesdir} \
-DUDEV_RULES_GROUP=%{rtlsdr_group} \ -DUDEV_RULES_GROUP=%{rtlsdr_group} \
-DDETACH_KERNEL_DRIVER=ON -DDETACH_KERNEL_DRIVER=ON \
make %{?_smp_mflags} -Wno-dev
%make_jobs
%install %install
%cmake_install %cmake_install
@ -80,6 +81,7 @@ rm %{buildroot}%{_libdir}/librtlsdr.a
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%pre udev %pre udev
getent group %{rtlsdr_group} >/dev/null || groupadd -r %{rtlsdr_group} getent group %{rtlsdr_group} >/dev/null || groupadd -r %{rtlsdr_group}
@ -90,7 +92,8 @@ getent group %{rtlsdr_group} >/dev/null || groupadd -r %{rtlsdr_group}
%udev_rules_update %udev_rules_update
%files %files
%doc AUTHORS COPYING README %license COPYING
%doc AUTHORS README
%{_bindir}/rtl_adsb %{_bindir}/rtl_adsb
%{_bindir}/rtl_eeprom %{_bindir}/rtl_eeprom
%{_bindir}/rtl_fm %{_bindir}/rtl_fm