39 |
|
|
40 |
# Allow access only to users in usrp group |
# Allow access only to users in usrp group |
41 |
sed -i 's/MODE:="0666"/MODE:="0660"/' %{buildroot}%{_datadir}/uhd/utils/uhd-usrp.rules |
sed -i 's/MODE:="0666"/MODE:="0660"/' %{buildroot}%{_datadir}/uhd/utils/uhd-usrp.rules |
42 |
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d |
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d |
43 |
mv %{buildroot}%{_datadir}/uhd/utils/uhd-usrp.rules %{buildroot}%{_sysconfdir}/udev/rules.d/10-usrp-uhd.rules |
mv %{buildroot}%{_datadir}/uhd/utils/uhd-usrp.rules %{buildroot}%{_prefix}/lib/udev/rules.d/10-usrp-uhd.rules |
44 |
|
|
45 |
# Remove binaries for tests, examples |
# Remove binaries for tests, examples |
46 |
rm -rf %{buildroot}%{_datadir}/uhd/{tests,examples} |
rm -rf %{buildroot}%{_datadir}/uhd/{tests,examples} |
79 |
%{_bindir}/uhd_cal_rx_iq_balance |
%{_bindir}/uhd_cal_rx_iq_balance |
80 |
%{_bindir}/uhd_cal_tx_dc_offset |
%{_bindir}/uhd_cal_tx_dc_offset |
81 |
%{_bindir}/uhd_cal_tx_iq_balance |
%{_bindir}/uhd_cal_tx_iq_balance |
82 |
%config(noreplace) %{_sysconfdir}/udev/rules.d/10-usrp-uhd.rules |
%{_prefix}/lib/udev/rules.d/10-usrp-uhd.rules |
83 |
%{_libdir}/lib*.so.* |
%{_libdir}/lib*.so.* |
84 |
%{_libexecdir}/uhd |
%{_libexecdir}/uhd |
85 |
|
|
90 |
|
|
91 |
%files doc |
%files doc |
92 |
%doc %{_docdir}/%{name}/* |
%doc %{_docdir}/%{name}/* |
|
|
|