update to 1.6.0
This commit is contained in:
parent
1c8c59cf7a
commit
ac42708b90
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ libindi0_0.6.tar.gz
|
||||
/libindi_1.4.0.tar.gz
|
||||
/libindi_1.4.1.tar.gz
|
||||
/libindi-1.5.0.tar.gz
|
||||
/libindi_1.6.0.tar.gz
|
||||
|
41
libindi.spec
41
libindi.spec
@ -1,5 +1,5 @@
|
||||
Name: libindi
|
||||
Version: 1.5.0
|
||||
Version: 1.6.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Instrument Neutral Distributed Interface
|
||||
|
||||
@ -7,11 +7,7 @@ License: LGPLv2+ and GPLv2+
|
||||
# See COPYRIGHT file for a description of the licenses and files covered
|
||||
|
||||
URL: http://www.indilib.org
|
||||
# We have to generate a usable tarball from upstream by ourself
|
||||
# Source: https://github.com/indilib/indi/archive/v1.5.0.tar.gz
|
||||
# sh libindi-generate-tarball.sh 1.5.0
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: %{name}-generate-tarball.sh
|
||||
Source0: https://github.com/indilib/indi/releases/download/v%{version}/libindi_%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libfli-devel
|
||||
@ -26,30 +22,42 @@ BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
INDI is a distributed control protocol designed to operate
|
||||
astronomical instrumentation. INDI is small, flexible, easy to parse,
|
||||
and scalable. It supports common DCS functions such as remote control,
|
||||
data acquisition, monitoring, and a lot more.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Libraries, includes, etc. used to develop an application with %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-static%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
These are the header files needed to develop a %{name} application
|
||||
|
||||
|
||||
%package libs
|
||||
Summary: INDI shared libraries
|
||||
|
||||
%description libs
|
||||
These are the shared libraries of INDI.
|
||||
|
||||
|
||||
%package static
|
||||
Summary: Static libraries, includes, etc. used to develop an application with %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description static
|
||||
Static library needed to develop a %{name} application
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q -n %{name}
|
||||
# For Fedora we want to put udev rules in %{_udevrulesdir}
|
||||
sed -i 's|/lib/udev/rules.d|%{_udevrulesdir}|g' CMakeLists.txt
|
||||
chmod -x drivers/telescope/lx200fs2.h
|
||||
@ -62,19 +70,22 @@ make VERBOSE=1 %{?_smp_mflags}
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING.BSD COPYING.GPL COPYING.LGPL COPYRIGHT LICENSE
|
||||
%doc AUTHORS ChangeLog NEWS README TODO
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/indi/MathPlugins
|
||||
%{_datadir}/indi
|
||||
%{_udevrulesdir}/*.rules
|
||||
|
||||
%files libs
|
||||
%license COPYING.BSD COPYING.GPL COPYING.LGPL COPYRIGHT LICENSE
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/indi/MathPlugins
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
@ -84,6 +95,10 @@ make install DESTDIR=%{buildroot}
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Tue Jan 02 2018 Christian Dersch <lupinix@fedoraproject.org> - 1.6.0-1
|
||||
- new version
|
||||
- split shared libraries into -libs subpackage, to be multiarch clean
|
||||
|
||||
* Sat Oct 07 2017 Christian Dersch <lupinix@mailbox.org> - 1.5.0-1
|
||||
- new version
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libindi-1.5.0.tar.gz) = 678d02b6b56d10f06b229011bae915fbf3a27e6e7eb38947470c9728b6e4334edf565abad5354918f7ed9f551eff0a34d5850037a7db7aac8a668c800b6574b8
|
||||
SHA512 (libindi_1.6.0.tar.gz) = a086a63e15f5f6fb05a0d1569578f5fbd4d6ba6ff5a0aaff7bd475925d3858840753f1aa04e7429a22576f52432a19e93b781e821ea908db6b7352af85f30422
|
||||
|
Loading…
Reference in New Issue
Block a user