Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Astrophotography
indi
indi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File indi.spec of Package indi
# # spec file for package indi # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %if 0%{?suse_version} && 0%{?suse_version} < 1590 %global force_gcc_version 12 %endif %define so_ver 2 Name: indi Version: 2.1.0 Release: 0 Summary: Instrument Neutral Distributed Interface License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later Group: Productivity/Scientific/Astronomy URL: https://www.indilib.org/ Source0: https://github.com/indilib/indi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: indi-rpmlintrc BuildRequires: cmake BuildRequires: gcc%{?force_gcc_version}-c++ >= 12 BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %if 0%{?sle_version} > 150500 || 0%{?suse_version} >= 1600 BuildRequires: cfitsio-devel %else BuildRequires: libcfitsio-devel %endif BuildRequires: libXISF-devel BuildRequires: libev-devel >= 4.33 BuildRequires: liblz4-devel BuildRequires: libnova-devel BuildRequires: pkgconfig BuildRequires: pugixml-devel BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(websocketpp) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(gsl) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(zlib) Requires: indi-plugins = %{version} Provides: libindi = %{version}-%{release} Obsoletes: libindi < %{version}-%{release} %description INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %package devel Summary: Development files for libindi Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libindiAlignmentDriver%{so_ver} = %{version} Requires: libindiclient%{so_ver} = %{version} Requires: libindiclientqt%{so_ver} = %{version} Requires: libindidriver%{so_ver} = %{version} Requires: libindilx200-%{so_ver} = %{version} Provides: libindi-devel = %{version}-%{release} Obsoletes: libindi-devel < %{version}-%{release} %description devel This package contains development files for libindi. %package plugins Summary: Plugins for libindi Group: Productivity/Scientific/Astronomy Provides: libindi-plugins = %{version}-%{release} Obsoletes: libindi-plugins < %{version}-%{release} %description plugins This package contains plugins for libindi. %package -n libindiAlignmentDriver%{so_ver} Summary: Instrument Neutral Distributed Interface Group: System/Libraries %description -n libindiAlignmentDriver%{so_ver} INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %package -n libindidriver%{so_ver} Summary: Instrument Neutral Distributed Interface Group: System/Libraries %description -n libindidriver%{so_ver} INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %package -n libindilx200-%{so_ver} Summary: Instrument Neutral Distributed Interface Group: System/Libraries %description -n libindilx200-%{so_ver} INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %package -n libindiclient%{so_ver} Summary: Instrument Neutral Distributed Interface Group: System/Libraries %description -n libindiclient%{so_ver} INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %package -n libindiclientqt%{so_ver} Summary: Instrument Neutral Distributed Interface Group: System/Libraries %description -n libindiclientqt%{so_ver} INDI is an Instrument Neutral Distributed Interface control protocol for astronomical devices, which provides a framework that decouples low level hardware drivers from high level front end clients. Clients that use the device drivers are completely unaware of the device capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. %prep %autosetup -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%(echo %{optflags}) -Wno-stringop-truncation" export CXXFLAGS="$CFLAGS" %cmake \ -DINDI_BUILD_STATIC=OFF \ -DUDEVRULES_INSTALL_DIR=%{_udevrulesdir} \ -DINDI_BUILD_QT5_CLIENT=ON \ -DINDI_BUILD_WEBSOCKET=ON \ -DINDI_BUILD_XISF=ON \ %if 0%{?force_gcc_version} -DCMAKE_CXX_COMPILER=%{_bindir}/g++-%{?force_gcc_version} \ %endif -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" %cmake_build %install %cmake_install # delete static libs find %{buildroot}%{_libdir} -iname "*.a" -delete %ldconfig_scriptlets -n libindiAlignmentDriver%{so_ver} %ldconfig_scriptlets -n libindidriver%{so_ver} %ldconfig_scriptlets -n libindilx200-%{so_ver} %ldconfig_scriptlets -n libindiclient%{so_ver} %ldconfig_scriptlets -n libindiclientqt%{so_ver} %files %license COPYING.* COPYRIGHT LICENSE %doc AUTHORS ChangeLog NEWS README %{_bindir}/indi* %{_bindir}/shelyak_usis %{_datadir}/indi/ %{_udevrulesdir}/*.rules %files devel %license COPYING.* LICENSE %{_includedir}/libindi/ %{_libdir}/pkgconfig/libindi.pc %{_libdir}/libindi*.so %files plugins %license COPYING.* LICENSE %{_libdir}/indi/ %files -n libindiclient%{so_ver} %{_libdir}/libindiclient.so.%{so_ver} %{_libdir}/libindiclient.so.%{so_ver}.* %files -n libindiclientqt%{so_ver} %{_libdir}/libindiclientqt.so.%{so_ver} %{_libdir}/libindiclientqt.so.%{so_ver}.* %files -n libindiAlignmentDriver%{so_ver} %{_libdir}/libindiAlignmentDriver.so.%{so_ver}* %files -n libindidriver%{so_ver} %{_libdir}/libindidriver.so.%{so_ver}* %files -n libindilx200-%{so_ver} %{_libdir}/libindilx200.so.%{so_ver}* %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