[packages/librtlsdr] - updated to 2.0.2
qboosh
qboosh at pld-linux.org
Wed May 29 21:17:01 CEST 2024
commit 37bbb040b16efd98938894d528ac36c86b7ebeb3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed May 29 21:06:28 2024 +0200
- updated to 2.0.2
librtlsdr-pc.patch | 14 +++++++-------
librtlsdr.spec | 14 ++++++++------
2 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/librtlsdr.spec b/librtlsdr.spec
index 00262ed..de6faa3 100644
--- a/librtlsdr.spec
+++ b/librtlsdr.spec
@@ -1,16 +1,16 @@
Summary: Realtek RTL2832U Software Defined Radio driver library
Summary(pl.UTF-8): Biblioteka sterownika Realtek RTL2832U Software Defined Radio
Name: librtlsdr
-Version: 0.6.0
+Version: 2.0.2
Release: 1
License: GPL v2+
Group: Libraries
-#Source0Download: https://github.com/steve-m/librtlsdr/releases
-Source0: https://github.com/steve-m/librtlsdr/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 5f1b8c28b264218daa84eb1d437aecf7
+#Source0Download: https://github.com/steve-m/librtlsdr/tags
+Source0: https://github.com/steve-m/librtlsdr/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 632f03d41e2b2f9c2dd94ef2b51be5bf
Patch0: %{name}-pc.patch
-URL: http://sdr.osmocom.org/trac/wiki/rtl-sdr
-BuildRequires: cmake >= 2.6
+URL: https://osmocom.org/projects/rtl-sdr/wiki/Rtl-sdr
+BuildRequires: cmake >= 3.7.2
BuildRequires: libusb-devel >= 1.0
BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
@@ -84,6 +84,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS README
%attr(755,root,root) %{_bindir}/rtl_adsb
+%attr(755,root,root) %{_bindir}/rtl_biast
%attr(755,root,root) %{_bindir}/rtl_eeprom
%attr(755,root,root) %{_bindir}/rtl_fm
%attr(755,root,root) %{_bindir}/rtl_power
@@ -98,6 +99,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/librtlsdr.so
%{_includedir}/rtl-sdr*.h
+%{_libdir}/cmake/rtlsdr
%{_pkgconfigdir}/librtlsdr.pc
%files static
diff --git a/librtlsdr-pc.patch b/librtlsdr-pc.patch
index 5440ce3..12e2c45 100644
--- a/librtlsdr-pc.patch
+++ b/librtlsdr-pc.patch
@@ -1,10 +1,10 @@
---- librtlsdr-0.6.0/librtlsdr.pc.in.orig 2018-08-26 14:54:51.000000000 +0200
-+++ librtlsdr-0.6.0/librtlsdr.pc.in 2021-05-08 14:46:54.173422361 +0200
-@@ -6,6 +6,6 @@
+--- librtlsdr-2.0.2/librtlsdr.pc.in.orig 2024-05-29 20:58:17.292514834 +0200
++++ librtlsdr-2.0.2/librtlsdr.pc.in 2024-05-29 21:00:13.145220540 +0200
+@@ -6,6 +6,6 @@ includedir=@includedir@
Name: RTL-SDR Library
Description: C Utility Library
Version: @VERSION@
--Cflags: -I${includedir}/ @RTLSDR_PC_CFLAGS@
-+Cflags: -I${includedir} @RTLSDR_PC_CFLAGS@
- Libs: -L${libdir} -lrtlsdr -lusb-1.0
- Libs.private: @RTLSDR_PC_LIBS@
+-Cflags: -I${includedir}/
++Cflags: -I${includedir}
+ Libs: -L${libdir} -lrtlsdr
+ Libs.private: -lusb-1.0 @RTLSDR_PC_LIBS@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/librtlsdr.git/commitdiff/37bbb040b16efd98938894d528ac36c86b7ebeb3
More information about the pld-cvs-commit
mailing list