forked from pool/rtl_433
e3cc4da80d
- Update to version 0.0.1+git.20170515: * Add files via upload * Add support for Fine Offset WH3080 weather station * Updated "quadrant" code for WGR968 * Restored 'static' variables * Bump MAX_PROTOCOLS to 78 * cleanup: replacing broken sprintf, removing debug code * fix short buffer: sprintf's output is always null-terminated * adding output redirection to files * Sensor GT-WT-02 Change REDME.md * fix sample_file_pos to actually count seconds, each sample is 16 bits (I+Q uint8's) * change data output fields to usual order * add missing "model" data output * add time to data output * Add support for Vaillant calorMatic 340f (VRT 340f) wireless central ceating control (868MHz) * adds a watchdog timer to async callback, abort if async events stop arriving * improving compatibility for Renkforce DM-7511 * Vaillant_vrt340f.c: Fix indentation, only whitespace changes * remove synthetic fahrenheit output. use `-C customary` to convert. * harmonize device data output to model instead of device or make, and crc instead of checksum * changing "crc", "checksum" to "mic" * delete stray trailing whitespace * normalize indentation to 4 spaces or one tab, depending on prevalence in each file * Update rtl_433.h OBS-URL: https://build.opensuse.org/request/show/495108 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl_433?expand=0&rev=3
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package rtl_433
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define version_unconverted 0.0.1+git.20170515
|
|
|
|
Name: rtl_433
|
|
Version: 0.0.1+git.20170515
|
|
Release: 0
|
|
Summary: Turns RTL2832 dongle into a 433.92MHz generic data receiver
|
|
License: GPL-2.0
|
|
Group: Productivity/Hamradio/Other
|
|
Url: https://github.com/merbanan/rtl_433.git
|
|
Source: %{name}-%{version}.tar.xz
|
|
Patch0: rtl_433-disable-test.diff
|
|
BuildRequires: cmake
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pkgconfig(librtlsdr)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
An application using librtlsdr to decode the temperature from
|
|
wireless temperature sensors (433.92MHz)
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING README.md
|
|
%{_bindir}/rtl_433
|
|
%{_includedir}/rtl_433.h
|
|
%{_includedir}/rtl_433_devices.h
|
|
|
|
%changelog
|