osc copypac from project:home:pluskalm:branches:hamradio package:rtl-sdr revision:2, using expand
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl-sdr?expand=0&rev=1
This commit is contained in:
commit
01206ccb4d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<param name="url">git://git.osmocom.org/rtl-sdr.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">rtl-sdr</param>
|
||||
<param name="versionformat">0.5.3+git.%cd</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://git.osmocom.org/rtl-sdr.git</param>
|
||||
<param name="changesrevision">e3e6ee23b7f052327bf64c6908f5c09b75029edc</param></service></servicedata>
|
3
rtl-sdr-0.5.3+git.20161127.tar.xz
Normal file
3
rtl-sdr-0.5.3+git.20161127.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96f3e68d7c4a8a4f0d91b7f6f0e784dd2e1f465b7f21553d5d171c8df03f8ade
|
||||
size 98368
|
101
rtl-sdr.changes
Normal file
101
rtl-sdr.changes
Normal file
@ -0,0 +1,101 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 14:23:52 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Update to version 0.5.3+git.20161127:
|
||||
* lib: change default number of transfers to 15
|
||||
* rtl_tcp: make all global variables static
|
||||
* cmake: include resource file for MSVC builds
|
||||
* Correct return code of e4k_reg_write().
|
||||
* Allow setting bandwidth for R820T
|
||||
* New functions rtlsdr_set_tuner_bandwidth()
|
||||
* tools: allow built-in functions for newer versions of MSVC
|
||||
* lib: check for libusb init failure
|
||||
* lib: add new HanfTek dongle
|
||||
- Packaging changes:
|
||||
* Add _service for easier updating of package
|
||||
* Split udev rules to separate package
|
||||
* Run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 5 11:02:17 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Use cmake macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 4 13:58:15 UTC 2016 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.3_13_ge3e6ee2
|
||||
add new HanfTek dongle
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 10 21:37:56 UTC 2015 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.3_12_ge3c03f7
|
||||
check for libusb init failure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 16 21:18:22 UTC 2015 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.3_10_g8b4d755
|
||||
Allow setting bandwidth for R820T
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 09:19:30 UTC 2014 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.3_6_gd447a2e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 23:02:38 UTC 2013 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.2_2_g5f38c05
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 3 18:53:05 UTC 2013 - lnt-sysadmin@lists.lrz.de
|
||||
|
||||
- Changes to spec file:
|
||||
* Update udev paths for openSUSE 13.1 and ensure udev rules are
|
||||
updated when package is installed / updated / uninstalled.
|
||||
* Define %libname to ease reuse of %post(un) macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 1 20:04:37 UTC 2013 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 22 13:42:56 UTC 2013 - dl8fcl@darc.de
|
||||
|
||||
- update to version 0.5.0_git20130915
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 10:04:09 UTC 2013 - lnt-sysadmin@lists.lrz.de
|
||||
|
||||
- update to version 0.5.git
|
||||
* adds support for ASUS U3100MINI_PLUS_V2
|
||||
* set DETACH_KERNEL_DRIVER=ON to allow detaching of kernel driver
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 21:16:03 UTC 2013 - dl8fcl@darc.de
|
||||
|
||||
- update to version git20130608
|
||||
minor enhancements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 28 19:02:45 UTC 2013 - dl8fcl@darc.de
|
||||
|
||||
- update to version git20130417.
|
||||
minor enhancements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 07:27:35 UTC 2013 - lnt-sysadmin@lists.lrz.de
|
||||
|
||||
- small changes to the spec file:
|
||||
* pass %optflags to cmake according to
|
||||
http://en.opensuse.org/openSUSE:Build_system_recipes
|
||||
* use config(noreplace) for udev rules file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 22:46:08 UTC 2013 - dl8fcl@darc.de
|
||||
|
||||
- import into the hamradio repository
|
||||
|
111
rtl-sdr.spec
Normal file
111
rtl-sdr.spec
Normal file
@ -0,0 +1,111 @@
|
||||
#
|
||||
# spec file for package rtl-sdr
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 sover 0
|
||||
%define libname librtlsdr%{sover}
|
||||
Name: rtl-sdr
|
||||
Version: 0.5.3+git.20161127
|
||||
Release: 0
|
||||
Summary: Support programs for RTL2832
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Hamradio/Other
|
||||
Url: http://sdr.osmocom.org/trac/wiki/rtl-sdr
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
|
||||
%description
|
||||
Programs that controls Realtek RTL2832 based DVB dongle in raw mode, so
|
||||
it can be used as a SDR receiver.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: SDR driver for RTL2832
|
||||
Group: Hardware/Other
|
||||
Requires: %{name}-udev
|
||||
|
||||
%description -n %{libname}
|
||||
Library to run Realtek RTL2832 based DVB dongle as a SDR receiver.
|
||||
|
||||
%package udev
|
||||
Summary: Udev rules for RTL2832
|
||||
Group: Hardware/Other
|
||||
|
||||
%description udev
|
||||
Udev rules for rtl-sdr driver
|
||||
|
||||
%package devel
|
||||
Summary: Development files for rtl-sdr
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Library headers for rtl-sdr driver.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DDETACH_KERNEL_DRIVER=ON
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
rm %{buildroot}%{_libdir}/librtlsdr.a
|
||||
|
||||
install -D -p -m 0644 ./rtl-sdr.rules \
|
||||
%{buildroot}%{_udevrulesdir}/10-rtl-sdr.rules
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%post udev
|
||||
%udev_rules_update
|
||||
|
||||
%postun udev
|
||||
%udev_rules_update
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README
|
||||
%{_bindir}/rtl_adsb
|
||||
%{_bindir}/rtl_eeprom
|
||||
%{_bindir}/rtl_fm
|
||||
%{_bindir}/rtl_power
|
||||
%{_bindir}/rtl_sdr
|
||||
%{_bindir}/rtl_tcp
|
||||
%{_bindir}/rtl_test
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/librtlsdr.so.%{sover}*
|
||||
|
||||
%files udev
|
||||
%defattr(-,root,root)
|
||||
%{_udevrulesdir}/10-rtl-sdr.rules
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/librtlsdr.so
|
||||
%{_includedir}/rtl-sdr.h
|
||||
%{_includedir}/rtl-sdr_export.h
|
||||
%{_libdir}/pkgconfig/librtlsdr.pc
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user