| 1 |
%define __cmake_in_source_build %{_vpath_builddir} |
| 2 |
Name: indi-maxdomeii |
| 3 |
Version:1.9.9.git |
| 4 |
Release: %(date -u +%%Y%%m%%d%%H%%M%%S)%{?dist} |
| 5 |
Summary: Instrument Neutral Distributed Interface 3rd party drivers |
| 6 |
|
| 7 |
License: LGPLv2 |
| 8 |
# See COPYRIGHT file for a description of the licenses and files covered |
| 9 |
|
| 10 |
URL: https://indilib.org |
| 11 |
Source0: https://github.com/indilib/indi-3rdparty/archive/master.tar.gz |
| 12 |
|
| 13 |
BuildRequires: cmake |
| 14 |
BuildRequires: libfli-devel |
| 15 |
BuildRequires: libnova-devel |
| 16 |
BuildRequires: qt5-qtbase-devel |
| 17 |
BuildRequires: systemd |
| 18 |
BuildRequires: gphoto2-devel |
| 19 |
BuildRequires: LibRaw-devel |
| 20 |
BuildRequires: indi-libs |
| 21 |
BuildRequires: indi-devel |
| 22 |
BuildRequires: libtiff-devel |
| 23 |
BuildRequires: cfitsio-devel |
| 24 |
BuildRequires: zlib-devel |
| 25 |
BuildRequires: gsl-devel |
| 26 |
BuildRequires: libcurl-devel |
| 27 |
BuildRequires: libjpeg-turbo-devel |
| 28 |
BuildRequires: fftw-devel |
| 29 |
BuildRequires: libftdi-devel |
| 30 |
BuildRequires: gpsd-devel |
| 31 |
BuildRequires: libdc1394-devel |
| 32 |
BuildRequires: boost-devel |
| 33 |
BuildRequires: boost-regex |
| 34 |
BuildRequires: libasi |
| 35 |
|
| 36 |
BuildRequires: gmock |
| 37 |
|
| 38 |
BuildRequires: pkgconfig(fftw3) |
| 39 |
BuildRequires: pkgconfig(cfitsio) |
| 40 |
BuildRequires: pkgconfig(libcurl) |
| 41 |
BuildRequires: pkgconfig(gsl) |
| 42 |
BuildRequires: pkgconfig(libjpeg) |
| 43 |
BuildRequires: pkgconfig(libusb-1.0) |
| 44 |
BuildRequires: pkgconfig(zlib) |
| 45 |
|
| 46 |
|
| 47 |
%description |
| 48 |
INDI is a distributed control protocol designed to operate |
| 49 |
astronomical instrumentation. INDI is small, flexible, easy to parse, |
| 50 |
and scalable. It supports common DCS functions such as remote control, |
| 51 |
data acquisition, monitoring, and a lot more. This is a 3rd party driver. |
| 52 |
|
| 53 |
|
| 54 |
%prep -v |
| 55 |
%autosetup -v -p1 -n indi-3rdparty-master |
| 56 |
|
| 57 |
%build |
| 58 |
# This package tries to mix and match PIE and PIC which is wrong and will |
| 59 |
# trigger link errors when LTO is enabled. |
| 60 |
# Disable LTO |
| 61 |
%define _lto_cflags %{nil} |
| 62 |
|
| 63 |
cd indi-maxdomeii |
| 64 |
%cmake -DINDI_DATA_DIR=/usr/share/indi . |
| 65 |
make VERBOSE=1 %{?_smp_mflags} -j4 |
| 66 |
|
| 67 |
%install |
| 68 |
cd indi-maxdomeii |
| 69 |
make DESTDIR=%{buildroot} install |
| 70 |
|
| 71 |
%files |
| 72 |
%{_bindir}/* |
| 73 |
%{_datadir}/indi |
| 74 |
|
| 75 |
%changelog |
| 76 |
* Sun Jul 19 2020 Jim Howard <[email protected]> 1.8.7.git-1 |
| 77 |
- update to build from git for copr, credit to Sergio Pascual and Christian Dersch for prior work on spec files |
| 78 |
|