forked from pool/rtl-sdr
- Use more of cmake macros
- Disable developer output from cmake OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl-sdr?expand=0&rev=19
This commit is contained in:
parent
9cf3367e41
commit
88debfbfca
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
13
rtl-sdr.spec
13
rtl-sdr.spec
@ -12,7 +12,7 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ Release: 0
|
||||
Summary: Support programs for RTL2832
|
||||
License: GPL-2.0-or-later
|
||||
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
|
||||
Source: https://github.com/steve-m/librtlsdr/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: 0001-Better-udev-handling.patch
|
||||
@ -71,8 +71,9 @@ Library headers for rtl-sdr driver.
|
||||
-DINSTALL_UDEV_RULES=ON \
|
||||
-DUDEV_RULES_PATH=%{_udevrulesdir} \
|
||||
-DUDEV_RULES_GROUP=%{rtlsdr_group} \
|
||||
-DDETACH_KERNEL_DRIVER=ON
|
||||
make %{?_smp_mflags}
|
||||
-DDETACH_KERNEL_DRIVER=ON \
|
||||
-Wno-dev
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
@ -80,6 +81,7 @@ rm %{buildroot}%{_libdir}/librtlsdr.a
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%pre udev
|
||||
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
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING README
|
||||
%license COPYING
|
||||
%doc AUTHORS README
|
||||
%{_bindir}/rtl_adsb
|
||||
%{_bindir}/rtl_eeprom
|
||||
%{_bindir}/rtl_fm
|
||||
|
Loading…
Reference in New Issue
Block a user