1 |
Name: uhd |
Name: uhd |
2 |
URL: http://code.ettus.com/redmine/ettus/projects/uhd/wiki |
URL: http://code.ettus.com/redmine/ettus/projects/uhd/wiki |
3 |
Version: 3.5.3 |
Version: 3.6.2 |
4 |
Release: %mkrel 3 |
Release: %mkrel 1 |
5 |
Group: Communications/Radio |
Group: Communications/Radio |
6 |
Summary: Universal Hardware Driver for Ettus Research products |
Summary: Universal Hardware Driver for Ettus Research products |
7 |
License: GPLv3+ |
License: GPLv3+ |
8 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
9 |
# Create tarball from git with: |
# Create tarball from git with: |
10 |
# $ ./make-tarball uhd git://code.ettus.com/ettus/uhd.git |
# $ ./make-tarball uhd https://github.com/EttusResearch/uhd.git |
11 |
# See note in make-tarball script |
# See note in make-tarball script |
12 |
Source1: make-tarball |
Source1: make-tarball |
13 |
|
|
14 |
BuildRequires: cmake |
BuildRequires: cmake |
15 |
BuildRequires: boost-devel |
BuildRequires: boost-devel >= 1.55 |
16 |
BuildRequires: pkgconfig(libusb-1.0) |
BuildRequires: pkgconfig(libusb-1.0) |
17 |
BuildRequires: pkgconfig(orc-0.4) |
BuildRequires: pkgconfig(orc-0.4) |
18 |
BuildRequires: python-cheetah |
BuildRequires: python-cheetah |
37 |
%install |
%install |
38 |
%makeinstall_std -C host/build |
%makeinstall_std -C host/build |
39 |
|
|
40 |
|
mv -t %{buildroot}%{_prefix}/share/ %{buildroot}%{_prefix}/lib64/uhd |
41 |
|
|
42 |
# Allow access only to users in usrp group |
# Allow access only to users in usrp group |
43 |
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 |
44 |
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d |
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d |
53 |
|
|
54 |
# Package base docs to base package |
# Package base docs to base package |
55 |
mkdir _tmpdoc |
mkdir _tmpdoc |
56 |
mv %{buildroot}%{_docdir}/%{name}/{AUTHORS.txt,LICENSE.txt,README.txt} _tmpdoc |
mv %{buildroot}%{_docdir}/%{name}/{LICENSE,README.md} _tmpdoc |
57 |
|
|
58 |
%package devel |
%package devel |
59 |
Summary: Development files for UHD |
Summary: Development files for UHD |