Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
gr-fosphor
gr-fosphor-SLE_12_SP5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gr-fosphor-SLE_12_SP5.spec of Package gr-fosphor
# # spec file for package gr-fosphor # # Copyright (c) 2013-2021 Wojciech Kazubski, wk@ire.pw.edu.pl # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libname libgnuradio-fosphor %define sover 3_7_0git0_0_0 Name: gr-fosphor Version: 3.7.0git20191208 Release: 9.1 Summary: GNURadio block for spectrum visualization License: GPL-3.0 Group: Productivity/Hamradio/Other URL: https://cgit.osmocom.org/gr-fosphor/ #Git-Clone: https://git.osmocom.org/gr-fosphor/ Source: %{name}-%{version}.tar.gz Patch0: %{name}-html-doc-no-time-stamp.patch BuildRequires: cmake BuildRequires: cppunit-devel BuildRequires: doxygen %if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: gnuradio-devel >= 3.7.3 %if 0%{?suse_version} > 1330 BuildRequires: libboost_atomic-devel BuildRequires: libboost_chrono-devel BuildRequires: libboost_date_time-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %else BuildRequires: boost-devel %endif BuildRequires: libglfw-devel > 3.0 BuildRequires: libqt4-devel BuildRequires: ocl-icd-devel BuildRequires: opencl-headers BuildRequires: pkg-config BuildRequires: python2-devel BuildRequires: swig %description GNURadio block for spectrum visualization using GPU %package -n %{libname}-%{sover} Summary: Library for gr-fosphor Group: Hardware/Other %description -n %{libname}-%{sover} Library for gr-fosphor, spectrum visualization using GPU for GNU Radio. %package devel Summary: Development files for gr-fosphor Group: Development/Libraries/Other Requires: %{libname}-%{sover} = %{version}-%{release} %description devel Headers for gr-fosphor module for GNU Radio. %package doc Summary: Documentation for gr-fosphor Group: Documentation/Other %if 0%{?suse_version} > 1100 BuildArch: noarch %endif Requires: %{name} = %{version}-%{release} %description doc Documentation for gr-fosphor module for GNU Radio. %prep %setup -q -n %{name} %patch0 -p 1 -b .notimestamp %build %cmake \ -DENABLE_DOXYGEN=1 %cmake_build make -C docs %install %cmake_install find %{buildroot}%{_libdir}/python*/site-packages/ -name '*.pyo' -exec rm {} \; #move docs to proper location mkdir -p %{buildroot}%{_docdir}/%{name} mv %{buildroot}/%{_datadir}/doc/%{name}/html %{buildroot}%{_docdir}/%{name} mv %{buildroot}/%{_datadir}/doc/%{name}/xml %{buildroot}%{_docdir}/%{name} %if 0%{?suse_version} > 1010 %fdupes -s %{buildroot}%{_docdir} %endif %post -n %{libname}-%{sover} -p /sbin/ldconfig %postun -n %{libname}-%{sover} -p /sbin/ldconfig %files %defattr(-,root,root) %{_datadir}/gnuradio/grc/blocks/fosphor*.?ml %{python_sitearch}/gnuradio/fosphor %dir %{_docdir}/%{name} %doc docs/README.fosphor AUTHORS %license COPYING %exclude %{_docdir}/%{name}/html %exclude %{_docdir}/%{name}/xml %files -n %{libname}-%{sover} %defattr(-,root,root) %{_libdir}/%{libname}*.so.* %files devel %defattr(-,root,root) %{_libdir}/%{libname}*.so %{_includedir}/gnuradio/fosphor %{_libdir}/pkgconfig/gnuradio-fosphor.pc %files doc %defattr(-,root,root) %{_docdir}/%{name}/html %{_docdir}/%{name}/xml %changelog
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