4 Release: <RELEASE>%{?dist}
6 Group: Applications/Scientific
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 BuildRequires: libusbx-devel
17 BuildRequires: mesa-libGL-devel
18 BuildRequires: qt5-qtbase-devel
19 BuildRequires: qt5-qtdeclarative-devel
20 BuildRequires: qt5-qtmultimedia-devel
21 BuildRequires: qt5-qtscript-devel
22 BuildRequires: qt5-qtserialport-devel
23 BuildRequires: qt5-qtsvg-devel
24 BuildRequires: qt5-qttools-devel
25 BuildRequires: qt5-qttranslations
26 BuildRequires: OpenSceneGraph-devel
27 BuildRequires: osgearth-devel
29 BuildRequires: pkgconfig
31 BuildRequires: SDL-devel
32 BuildRequires: systemd-devel
36 Requires: qt5-qtquickcontrols
37 Requires: qt5-qtdeclarative
38 Requires: qt5-qtmultimedia
39 Requires: qt5-qtscript
40 Requires: qt5-qtserialport
42 Requires: OpenSceneGraph-libs
49 %global debug_package %{nil}
52 %setup -q -T -a 1 -c -n <ARCHIVE_PREFIX>/build
53 %setup -q -D -n <ARCHIVE_PREFIX>
58 enable-udev-rules=yes \
62 udevrulesdir=%{_udevrulesdir} \
63 WITH_PREBUILT_FW=$(pwd)/build/firmware
65 make %{?_smp_mflags} fw_resource gcs
69 rm -rf $RPM_BUILD_ROOT
70 make install DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
83 %doc README.md CREDITS.txt WHATSNEW.txt