update to 1.6.0

This commit is contained in:
Christian Dersch 2018-01-02 13:16:51 +01:00
parent 1c8c59cf7a
commit ac42708b90
3 changed files with 30 additions and 14 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ libindi0_0.6.tar.gz
/libindi_1.4.0.tar.gz /libindi_1.4.0.tar.gz
/libindi_1.4.1.tar.gz /libindi_1.4.1.tar.gz
/libindi-1.5.0.tar.gz /libindi-1.5.0.tar.gz
/libindi_1.6.0.tar.gz

View File

@ -1,5 +1,5 @@
Name: libindi Name: libindi
Version: 1.5.0 Version: 1.6.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Instrument Neutral Distributed Interface 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 # See COPYRIGHT file for a description of the licenses and files covered
URL: http://www.indilib.org URL: http://www.indilib.org
# We have to generate a usable tarball from upstream by ourself Source0: https://github.com/indilib/indi/releases/download/v%{version}/libindi_%{version}.tar.gz
# 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
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libfli-devel BuildRequires: libfli-devel
@ -26,30 +22,42 @@ BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description %description
INDI is a distributed control protocol designed to operate INDI is a distributed control protocol designed to operate
astronomical instrumentation. INDI is small, flexible, easy to parse, astronomical instrumentation. INDI is small, flexible, easy to parse,
and scalable. It supports common DCS functions such as remote control, and scalable. It supports common DCS functions such as remote control,
data acquisition, monitoring, and a lot more. data acquisition, monitoring, and a lot more.
%package devel %package devel
Summary: Libraries, includes, etc. used to develop an application with %{name} Summary: Libraries, includes, etc. used to develop an application with %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-static%{?_isa} = %{version}-%{release} Requires: %{name}-static%{?_isa} = %{version}-%{release}
%description devel %description devel
These are the header files needed to develop a %{name} application 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 %package static
Summary: Static libraries, includes, etc. used to develop an application with %{name} Summary: Static libraries, includes, etc. used to develop an application with %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description static %description static
Static library needed to develop a %{name} application Static library needed to develop a %{name} application
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}
# For Fedora we want to put udev rules in %{_udevrulesdir} # For Fedora we want to put udev rules in %{_udevrulesdir}
sed -i 's|/lib/udev/rules.d|%{_udevrulesdir}|g' CMakeLists.txt sed -i 's|/lib/udev/rules.d|%{_udevrulesdir}|g' CMakeLists.txt
chmod -x drivers/telescope/lx200fs2.h chmod -x drivers/telescope/lx200fs2.h
@ -62,19 +70,22 @@ make VERBOSE=1 %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
%post -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files %files
%license COPYING.BSD COPYING.GPL COPYING.LGPL COPYRIGHT LICENSE %license COPYING.BSD COPYING.GPL COPYING.LGPL COPYRIGHT LICENSE
%doc AUTHORS ChangeLog NEWS README TODO %doc AUTHORS ChangeLog NEWS README TODO
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/indi/MathPlugins
%{_datadir}/indi %{_datadir}/indi
%{_udevrulesdir}/*.rules %{_udevrulesdir}/*.rules
%files libs
%license COPYING.BSD COPYING.GPL COPYING.LGPL COPYRIGHT LICENSE
%{_libdir}/*.so.*
%{_libdir}/indi/MathPlugins
%files devel %files devel
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
@ -84,6 +95,10 @@ make install DESTDIR=%{buildroot}
%{_libdir}/*.a %{_libdir}/*.a
%changelog %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 * Sat Oct 07 2017 Christian Dersch <lupinix@mailbox.org> - 1.5.0-1
- new version - new version

View File

@ -1 +1 @@
SHA512 (libindi-1.5.0.tar.gz) = 678d02b6b56d10f06b229011bae915fbf3a27e6e7eb38947470c9728b6e4334edf565abad5354918f7ed9f551eff0a34d5850037a7db7aac8a668c800b6574b8 SHA512 (libindi_1.6.0.tar.gz) = a086a63e15f5f6fb05a0d1569578f5fbd4d6ba6ff5a0aaff7bd475925d3858840753f1aa04e7429a22576f52432a19e93b781e821ea908db6b7352af85f30422