9 |
Name: uhd |
Name: uhd |
10 |
URL: http://code.ettus.com/redmine/ettus/projects/uhd/wiki |
URL: http://code.ettus.com/redmine/ettus/projects/uhd/wiki |
11 |
Version: 3.3.1 |
Version: 3.3.1 |
12 |
Release: 1%{?dist} |
Release: %mkrel 1 |
13 |
License: GPLv3+ |
Group: Communications |
|
BuildRequires: cmake |
|
|
BuildRequires: boost-devel libusb1-devel python-cheetah |
|
|
BuildRequires: docutils doxygen pkgconfig |
|
|
Group: Applications/Engineering |
|
14 |
Summary: Universal Hardware Driver for Ettus Research products |
Summary: Universal Hardware Driver for Ettus Research products |
15 |
|
License: GPLv3+ |
16 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
17 |
|
BuildRequires: cmake |
18 |
|
BuildRequires: boost-devel |
19 |
|
BuildRequires: libusb1-devel |
20 |
|
BuildRequires: liborc-devel |
21 |
|
BuildRequires: python-cheetah |
22 |
|
BuildRequires: python-docutils |
23 |
|
BuildRequires: doxygen |
24 |
|
BuildRequires: pkgconfig |
25 |
|
|
26 |
%description |
%description |
27 |
The UHD is the universal hardware driver for Ettus Research products. |
The UHD is the universal hardware driver for Ettus Research products. |
32 |
%setup -q |
%setup -q |
33 |
|
|
34 |
%build |
%build |
35 |
mkdir host/build |
mkdir -p host/build |
36 |
cd host/build |
cd host/build |
37 |
%cmake ../ |
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr |
38 |
make %{?_smp_mflags} |
%make |
39 |
|
|
40 |
%check |
%check |
41 |
cd host/build |
cd host/build |
62 |
mkdir _tmpdoc |
mkdir _tmpdoc |
63 |
mv %{buildroot}%{_docdir}/%{name}/{AUTHORS.txt,LICENSE.txt,README.txt} _tmpdoc |
mv %{buildroot}%{_docdir}/%{name}/{AUTHORS.txt,LICENSE.txt,README.txt} _tmpdoc |
64 |
|
|
|
%post -p /sbin/ldconfig |
|
|
|
|
|
%postun -p /sbin/ldconfig |
|
|
|
|
65 |
%package devel |
%package devel |
66 |
Summary: Development files for UHD |
Summary: Development files for UHD |
67 |
Group: Applications/Engineering |
Group: Applications/Engineering |
96 |
|
|
97 |
%files doc |
%files doc |
98 |
%doc %{_docdir}/%{name}/* |
%doc %{_docdir}/%{name}/* |
|
|
|