rtl_433/rtl_433.spec
Martin Pluskal e300384c5c Accepting request 727080 from home:mnhauke:sdr-devel
- Update to version 19.08+git.20190829:
  Highlights:
  * Added MQTT output (#1016)
  * Added stats reporting (#733)
  * Added SoapySDR general keyword settings option, e.g. antenna
  * Added new model keys option
  * Changed Normalize odd general keys on devices (#1010)
  * Changed Use battery_ok instead of battery for newmodel
  * Added report model description option (#987)
  * Added pulse data text file support (#967)
  * Added color to console help output
  * Fixed CF32 loader; addeded CS8, CF32 dumper
  Changes:
  * Added CurrentCost EnviR support (#1115)
  * Added ESIC-EMT7170 power meter (#1132)
  * Added LaCrosse-TX141Bv3 support (#1134)
  * Added channel to inFactory-TH (#1133)
  * Added man page rtl_433.1 (#1121)
  * Added color to console help output
  * Added support for Philips AJ7010 (#1047)
  * Added frequency hopping signal support for win32 (#1128)
  * Added Holman WS5029 decoder
  * Added Acurite Rain 899 support
  * Added support for Oregon scientific THGR328N and RTGR328N (#1107) (#1109)
  * Added frequency hop on USR1 signal
  * Added '-E hop' option
  * Added option for multiple hop times
  * Added sensor similar to GT-WT-02 (#1080)
  * Added Rubicson 48659 Cooking Thermometer
  * Added TFA Dostmann 30.3196 decoder (#983)

OBS-URL: https://build.opensuse.org/request/show/727080
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl_433?expand=0&rev=13
2019-08-30 00:42:17 +00:00

76 lines
2.2 KiB
RPMSpec

#
# spec file for package rtl_433
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
#
# 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 version_unconverted 19.08+git.20190829
Name: rtl_433
Version: 19.08+git.20190829
Release: 0
Summary: Turns RTL2832 dongle into a 433.92MHz generic data receiver
License: GPL-2.0-only
Group: Productivity/Hamradio/Other
URL: https://github.com/merbanan/rtl_433.git
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(librtlsdr)
BuildRequires: pkgconfig(libusb)
%description
An application using librtlsdr to decode the temperature from
wireless temperature sensors (433.92MHz)
%package devel
Summary: Turns RTL2832 dongle into a 433.92MHz generic data receiver
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
Turns RTL2832 dongle into a 433.92MHz generic data receiver.
This subpackage contains header files for developing applications that want
to make use of rtl_433.
%prep
%setup -q
%build
%cmake \
-DBUILD_TESTING=OFF
make VERBOSE=1 %{?_smp_mflags}
%install
%cmake_install
# FIXME: Should be fixed in the makefile
install -d %{buildroot}/%{_sysconfdir}/rtl_433
mv %{buildroot}%{_prefix}%{_sysconfdir}/rtl_433/ %{buildroot}/%{_sysconfdir}/
%files
%license COPYING
%doc AUTHORS README.md
%{_bindir}/rtl_433
%dir %{_sysconfdir}/rtl_433
%config %{_sysconfdir}/rtl_433/*.conf
%{_mandir}/man1/rtl_433.1%{?ext_man}
%files devel
%{_includedir}/rtl_433.h
%{_includedir}/rtl_433_devices.h
%changelog