indi/indi.spec

118 lines
3.3 KiB
RPMSpec

Name: indi
Version: 2.1.0
Release: 1mamba
Summary: INDI astronomical instrumentation control Core Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.indilib.org/
Source: https://github.com/indilib/indi.git/v%{version}/indi-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcfitsio-devel
BuildRequires: libcurl-devel
BuildRequires: libev-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgsl-devel
BuildRequires: libjpeg-devel
BuildRequires: libnova-devel
BuildRequires: libogg-devel
BuildRequires: librtlsdr-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libusb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
INDI is a standard for astronomical instrumentation control. INDI Library is an Open Source POSIX implementation of the Instrument-Neutral-Device-Interface protocol.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake \
-DUDEVRULES_INSTALL_DIR=%{_udevrulesdir}
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/indi_*
%{_bindir}/indiserver
%{_bindir}/shelyak_usis
%{_udevrulesdir}/80-dbk21-camera.rules
%{_udevrulesdir}/99-indi_auxiliary.rules
%{_datadir}/indi/drivers.xml
%{_datadir}/indi/indi_tcfs_sk.xml
%{_datadir}/indi/shelyak_boards.json
%doc AUTHORS LICENSE
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libindiAlignmentDriver.so.*
%{_libdir}/libindiclient.so.*
%{_libdir}/libindidriver.so.*
%{_libdir}/libindilx200.so.*
%dir %{_libdir}/indi
%dir %{_libdir}/indi/MathPlugins
%{_libdir}/indi/MathPlugins/libindi_Nearest_MathPlugin.so
%{_libdir}/indi/MathPlugins/libindi_SVD_MathPlugin.so
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/libindi
%{_includedir}/libindi/*
%{_libdir}/libindiAlignmentClient.a
%{_libdir}/libindiAlignmentDriver.so
%{_libdir}/libindiclient.a
%{_libdir}/libindiclient.so
%{_libdir}/libindidriver.a
%{_libdir}/libindidriver.so
%{_libdir}/libindilx200.so
%{_libdir}/pkgconfig/libindi.pc
%doc ChangeLog NEWS README README.Cygwin README.md
%changelog
* Tue Oct 01 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
- automatic version update by autodist
* Sat Aug 03 2024 Automatic Build System <autodist@openmamba.org> 2.0.9-1mamba
- automatic version update by autodist
* Sat Jun 01 2024 Automatic Build System <autodist@openmamba.org> 2.0.8-1mamba
- automatic version update by autodist
* Thu Apr 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.7-1mamba
- package created using the webbuild interface