2 Summary: Ground Control Station
4 Release: <RELEASE>%{?dist}
6 Group: Applications/Scientific
8 URL: http://forum.librepilot.org/
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-qtquick1-devel
22 BuildRequires: qt5-qtscript-devel
23 BuildRequires: qt5-qtserialport-devel
24 BuildRequires: qt5-qtsvg-devel
25 BuildRequires: qt5-qttools-devel
26 BuildRequires: qt5-qttranslations
28 BuildRequires: pkgconfig
30 BuildRequires: SDL-devel
31 BuildRequires: systemd-devel
35 Requires: qt5-qtquickcontrols
36 Requires: qt5-qtdeclarative
37 Requires: qt5-qtmultimedia
38 Requires: qt5-qtscript
39 Requires: qt5-qtserialport
44 LibrePilot is a next-generation Open Source UAV autopilot created by the
45 LibrePilot Community. It is a highly capable platform for
46 multirotors, helicopters, fixed wing aircraft, and other vehicles.
47 It has been designed from the ground up by a community of passionate developers
48 from around the globe, with its core design principles being quality, safety,
53 %setup -q -T -a 1 -c -n <ARCHIVE_PREFIX>/build
54 %setup -q -D -n <ARCHIVE_PREFIX>
59 enable-udev-rules=yes \
63 udevrulesdir=%{_udevrulesdir} \
64 WITH_PREBUILT_FW=$(pwd)/build/firmware
66 make %{?_smp_mflags} opfw_resource gcs
70 rm -rf $RPM_BUILD_ROOT
71 make install DESTDIR=$RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
84 %doc README.md CREDITS.txt WHATSNEW.txt
86 %{_bindir}/librepilot-gcs
87 %{_udevrulesdir}/45-librepilot.rules
88 %{_datadir}/applications/librepilot.desktop
89 %{_datadir}/librepilot-gcs/*
90 %{_datadir}/pixmaps/librepilot.png
91 %{_libdir}/librepilot-gcs/plugins/LibrePilot/*.pluginspec
92 %{_libdir}/librepilot-gcs/plugins/LibrePilot/*.so
94 %{_libdir}/librepilot-gcs/libAggregation.so.1*
95 %{_libdir}/librepilot-gcs/libExtensionSystem.so.1*
96 %{_libdir}/librepilot-gcs/libGLC_lib.so.1*
97 %{_libdir}/librepilot-gcs/libopmapwidget.so.1*
98 %{_libdir}/librepilot-gcs/libQScienceSpinBox.so.1*
99 %{_libdir}/librepilot-gcs/libQtConcurrent.so.1*
100 %{_libdir}/librepilot-gcs/libQwt.so.1*
101 %{_libdir}/librepilot-gcs/libsdlgamepad.so.1*
102 %{_libdir}/librepilot-gcs/libUtils.so.1*
103 %{_libdir}/librepilot-gcs/libVersionInfo.so.1*
105 %{_libdir}/librepilot-gcs/lib*.so