-
Notifications
You must be signed in to change notification settings - Fork 1
/
cm256cc.spec
44 lines (30 loc) · 1.26 KB
/
cm256cc.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name: cm256cc
Version: 1.0.5
Release: 1%{?dist}
Summary: some dependency from SDRangel
License: GPLv3
URL: https://github.com/f4exb/cm256cc
# to get the sources for this, clone the git repo and checkout the tag v1.0.5, name the foler cm256cc-1.0.5
# then, create the tarball in you SOURCES-directory using tar cfj cm256cc-1.0.5.tar.bz2 cm256cc-1.0.5
Source0: %{name}-%{version}.tar.bz2
BuildRequires: cmake gcc-c++ pkgconfig fftw-devel libusb-devel qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qttools-devel boost-devel pulseaudio-libs-devel alsa-lib-devel mesa-libGL
Requires: fftw libusb qt5-qtbase qt5-qtmultimedia qt5-qttools boost pulseaudio alsa-lib mesa-libGL
%description
%global debug_package %{nil}
%prep
%autosetup
%build
mkdir %{_builddir}/build && cd %{_builddir}/build && cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/sdrangel/cm256cc %{_builddir}/%{name}-%{version}
%make_build
%install
rm -rf $RPM_BUILD_ROOT
cd %{_builddir}/build && %make_install
%files
/opt/sdrangel/cm256cc
#%license add-license-file-here
#%doc add-docs-here
%changelog
* Mon Apr 22 2019 Christopher Beck <[email protected]>
- modified so that it builds
* Sun Apr 21 2019 Christopher Beck <[email protected]>
- Initial generation