Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:chkpnt:gnuradio
libuhd
libuhd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libuhd.spec of Package libuhd
# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # %define _cmake_lib_suffix64 -DLIB_SUFFIX=64 %define __cmake %{_bindir}/cmake %define cmake \ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ %__cmake \\\ %if "%{?_lib}" == "lib64" \ %{?_cmake_lib_suffix64} \\\ %endif \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} %define _name libuhd002 %define _version 20110126 %define _release 1 %define _src libuhd002-20110126.tar.bz2 Name: %{_name} Url: http://code.ettus.com/redmine/ettus/projects/uhd/wiki Version: %{_version} Release: %{_release} License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake git gcc-c++ make BuildRequires: boost-devel libusb-1_0-devel python-Cheetah BuildRequires: docutils doxygen BuildRequires: fdupes pkg-config Group: Productivity/Hamradio/Other Summary: Universal Hardware Driver Source0: %{_src} Patch0: 0001-Docs-adapted-to-openSUSE.patch Patch1: 0002-Libexec-adapted-to-openSUSE.patch AutoReqProv: on %description The UHD is the universal hardware driver for Ettus Research products. The goal of the UHD is to provide a host driver and api for current and future Ettus Research products. Users will be able to use the UHD driver standalone/without gnuradio. [1] [1] http://www.ettus.com/uhd_docs/manual/html/index.html %prep echo "%{_libexecdir}/uhd" %setup -q %patch0 -p1 %patch1 -p1 %build mkdir host/build cd host/build %cmake ../ echo "HIER: %{?_smp_mflags}" make VERBOSE=1 %{?_smp_mflags} %install cd host/build make install/strip DESTDIR=$RPM_BUILD_ROOT %fdupes -s $RPM_BUILD_ROOT/%{_defaultdocdir} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %package devel Summary: Development files for gnuradio Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} Recommends: %{name}-doc AutoReq: on %description devel The UHD is the universal hardware driver for Ettus Research products. The goal of the UHD is to provide a host driver and api for current and future Ettus Research products. Users will be able to use the UHD driver standalone/without gnuradio. [1] [1] http://www.ettus.com/uhd_docs/manual/html/index.html %package doc Summary: Documentation files for libuhd Group: Documentation/Other BuildArch: noarch %description doc This package contains the documentation for the Universal Hardware Driver (UHD). %files %defattr(-,root,root) %{_libdir}/libuhd.so.002 %files devel %defattr(-,root,root) %{_includedir}/uhd %{_libdir}/libuhd.so %{_libdir}/pkgconfig/uhd.pc %{_libexecdir}/uhd %{_bindir}/uhd_find_devices %{_bindir}/uhd_usrp_probe %files doc %defattr(-,root,root) %doc %{_defaultdocdir}/uhd
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor