Accepting request 539824 from home:mnhauke:sdr-devel
- Split udev rules to separate package OBS-URL: https://build.opensuse.org/request/show/539824 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libmirisdr?expand=0&rev=6
This commit is contained in:
parent
865530b432
commit
2ceba5c972
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 8 10:23:50 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Split udev rules to separate package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 8 08:33:45 UTC 2017 - jengelh@inai.de
|
Wed Nov 8 08:33:45 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ it can be used as a SDR receiver.
|
|||||||
Summary: SDR driver for MRi2500
|
Summary: SDR driver for MRi2500
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
|
Requires: mirisdr-udev
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
Library to run Mirics MRi2500 based DVB dongle as a SDR receiver.
|
Library to run Mirics MRi2500 based DVB dongle as a SDR receiver.
|
||||||
@ -62,6 +63,14 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
Library headers and other development files for mirisdr driver.
|
Library headers and other development files for mirisdr driver.
|
||||||
|
|
||||||
|
%package -n mirisdr-udev
|
||||||
|
Summary: Udev rules for Mirics MRi2500 based DVB dongles
|
||||||
|
Group: Hardware/Other
|
||||||
|
|
||||||
|
%description -n mirisdr-udev
|
||||||
|
Udev rules for Mirics MRi2500 based DVB dongles.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -80,6 +89,12 @@ install -D -p -m 0644 mirisdr.rules %{buildroot}%{_udevrulesdir}/10-mirisdr.rule
|
|||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n mirisdr-udev
|
||||||
|
%udev_rules_update
|
||||||
|
|
||||||
|
%postun -n mirisdr-udev
|
||||||
|
%udev_rules_update
|
||||||
|
|
||||||
%files -n mirisdr
|
%files -n mirisdr
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
@ -89,6 +104,9 @@ install -D -p -m 0644 mirisdr.rules %{buildroot}%{_udevrulesdir}/10-mirisdr.rule
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
%{_libdir}/libmirisdr.so.%{sover}*
|
%{_libdir}/libmirisdr.so.%{sover}*
|
||||||
|
|
||||||
|
%files -n mirisdr-udev
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_udevrulesdir}/10-mirisdr.rules
|
%{_udevrulesdir}/10-mirisdr.rules
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
Reference in New Issue
Block a user