Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563831
en ru br
ALT Linux repos
S:1.9.0-alt2
5.0: 0.6-alt3
4.1: 0.5-alt0.M41.1

Group :: Development/C
RPM: indilib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define shortname indi

Name: indilib
Version: 0.5
Release: alt0.M41.1

Group: Development/C
Summary: Library to control astronomical devices
Url: http://indi.sourceforge.net/
License: LGPLv2+

Provides: %shortname = %version-%release

ExclusiveArch: x86_64 %ix86
Source0: http://nchc.dl.sourceforge.net/sourceforge/indi/%name-%version.tar.gz
Patch1: indilib-0.5-gcc-4.3.patch

BuildRequires: gcc-c++ gcc-fortran glibc-devel libcfitsio-devel >= 3.090 libusb-devel zlib-devel

%description
INDI is an instrument neutral distributed interface control protocol
that aims to provide backend driver support and automation for a wide
range of Astronomical devices (telescopes, focusers, CCDs..etc).

%package -n libsbigudrv
Summary: Librar file for INDI
Group: Development/C
%description -n libsbigudrv
 INDI is an instrument neutral distributed interface control protocol
that aims to provide backend driver support and automation for a wide
range of Astronomical devices (telescopes, focusers, CCDs..etc).
 This package contains library files of indilib.

%package devel
Summary: INDI devellopment files
Group: Development/C
Requires: libsbigudrv = %version-%release
Provides: %shortname-devel = %version-%release
%description devel
 INDI is an instrument neutral distributed interface control protocol
that aims to provide backend driver support and automation for a wide
range of Astronomical devices (telescopes, focusers, CCDs..etc).
 This package contains files need to build applications using indilib.

%prep
%setup -q -n %shortname
%patch1 -p0

%build
%configure --disable-static --enable-shared --enable-libusb
%make

%install
%makeinstall
mkdir -p %buildroot%_includedir
cp src/*.h %buildroot%_includedir


%post -n libsbigudrv
%post_ldconfig
%postun -n libsbigudrv
%postun_ldconfig


%files
%doc ChangeLog NEWS README TODO
%_bindir/*
%_datadir/%shortname

%files -n libsbigudrv
%_libdir/libsbigudrv.so.*

%files devel
%doc ChangeLog src/README
%doc src/examples
%_libdir/*.so
#%_libdir/*.la
%_includedir/*.h

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin