From 1890fa65bcbe6d097201198acf28bba211260808e82e55d3b36394b7be042e2c Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Mon, 26 Feb 2018 21:16:40 +0000 Subject: [PATCH] Accepting request 580346 from home:mnhauke:sdr-devel - Create subpackge for header files OBS-URL: https://build.opensuse.org/request/show/580346 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl_433?expand=0&rev=7 --- rtl_433.changes | 5 +++++ rtl_433.spec | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/rtl_433.changes b/rtl_433.changes index b1ad310..6afa49a 100644 --- a/rtl_433.changes +++ b/rtl_433.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 21:15:42 UTC 2018 - mardnh@gmx.de + +- Create subpackge for header files + ------------------------------------------------------------------- Thu Feb 15 19:25:35 UTC 2018 - mardnh@gmx.de diff --git a/rtl_433.spec b/rtl_433.spec index 042ed7d..7ad443e 100644 --- a/rtl_433.spec +++ b/rtl_433.spec @@ -36,6 +36,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 %patch0 -p1 @@ -51,6 +62,8 @@ make VERBOSE=1 %{?_smp_mflags} %defattr(-,root,root) %doc AUTHORS COPYING README.md %{_bindir}/rtl_433 + +%files devel %{_includedir}/rtl_433.h %{_includedir}/rtl_433_devices.h