2017-04-15 09:42:11 +02:00
|
|
|
#
|
|
|
|
# spec file for package rtl_433
|
|
|
|
#
|
2018-06-04 08:48:15 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-04-15 09:42:11 +02:00
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-06-04 08:48:15 +02:00
|
|
|
%define version_unconverted 18.05+git.20180525
|
2017-04-15 09:42:11 +02:00
|
|
|
Name: rtl_433
|
2018-06-04 08:48:15 +02:00
|
|
|
Version: 18.05+git.20180525
|
2017-04-15 09:42:11 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Turns RTL2832 dongle into a 433.92MHz generic data receiver
|
2018-06-04 08:48:15 +02:00
|
|
|
License: GPL-2.0-only
|
2017-04-15 09:42:11 +02:00
|
|
|
Group: Productivity/Hamradio/Other
|
2018-06-04 08:48:15 +02:00
|
|
|
URL: https://github.com/merbanan/rtl_433.git
|
2017-04-15 09:42:11 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
Patch0: rtl_433-disable-test.diff
|
|
|
|
BuildRequires: cmake
|
2018-06-04 08:48:15 +02:00
|
|
|
BuildRequires: pkgconfig
|
2017-04-15 09:42:11 +02:00
|
|
|
BuildRequires: pkgconfig(librtlsdr)
|
|
|
|
|
|
|
|
%description
|
|
|
|
An application using librtlsdr to decode the temperature from
|
2018-06-04 08:48:15 +02:00
|
|
|
wireless temperature sensors (433.92MHz)
|
2017-04-15 09:42:11 +02:00
|
|
|
|
2018-02-26 22:16:40 +01:00
|
|
|
%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.
|
|
|
|
|
2017-04-15 09:42:11 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
2017-04-16 09:41:07 +02:00
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
2017-04-15 09:42:11 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2018-06-04 08:48:15 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README.md
|
2017-04-15 09:42:11 +02:00
|
|
|
%{_bindir}/rtl_433
|
2018-02-26 22:16:40 +01:00
|
|
|
|
|
|
|
%files devel
|
2017-04-15 09:42:11 +02:00
|
|
|
%{_includedir}/rtl_433.h
|
|
|
|
%{_includedir}/rtl_433_devices.h
|
|
|
|
|
|
|
|
%changelog
|