diff --git a/.gitignore b/.gitignore index 7228a36..9c1b83f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ libindi0_0.6.tar.gz /libindi-1.3.1.tar.gz /libindi_1.4.0.tar.gz /libindi_1.4.1.tar.gz +/libindi-1.5.0.tar.gz diff --git a/libindi-generate-tarball.sh b/libindi-generate-tarball.sh new file mode 100755 index 0000000..a158079 --- /dev/null +++ b/libindi-generate-tarball.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Starting with release 1.3 INDI ships libindi and 3rdparty stuff (with nonfree +# BLOBs) in one big tar archive. Thus we have to generate a clean one for +# Fedora containing only the free library itself. + +NAME="libindi" +ORIG=indi-$1 +NEW=$NAME-$1 + +echo "Generating clean tar for $NAME" +echo "Unpack original tar" +tar -xzf v$1.tar.gz +echo "Packing new tar for $NAME" +mv $ORIG/$NAME $NEW +cp -r $ORIG/cmake_modules $NEW/cmake_modules +tar -cpzf $NEW.tar.gz $NEW +echo "Clean up" +rm -rf $ORIG $NEW +echo "Done! Generated $NEW.tar.gz" diff --git a/libindi.spec b/libindi.spec index b2f0b08..184c03a 100644 --- a/libindi.spec +++ b/libindi.spec @@ -1,13 +1,17 @@ Name: libindi -Version: 1.4.1 -Release: 4%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: Instrument Neutral Distributed Interface License: LGPLv2+ and GPLv2+ # See COPYRIGHT file for a description of the licenses and files covered URL: http://www.indilib.org -Source0: https://github.com/indilib/indi/releases/download/v%{version}/%{name}_%{version}.tar.gz +# 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 BuildRequires: cmake BuildRequires: cfitsio-devel @@ -81,6 +85,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/*.a %changelog +* Sat Oct 07 2017 Christian Dersch - 1.5.0-1 +- new version + * Sat Aug 05 2017 Christian Dersch - 1.4.1-4 - Rebuild (gsl) diff --git a/sources b/sources index 35de37b..c13e8e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libindi_1.4.1.tar.gz) = b1655070fbc71095215a06edc88b8fff247ed3dcab86c2af058978b209e48ce1701f3a6eef13d0b200be58abfcfdffe7800ecea35d820fc2fb158ea0f899833f +SHA512 (libindi-1.5.0.tar.gz) = 678d02b6b56d10f06b229011bae915fbf3a27e6e7eb38947470c9728b6e4334edf565abad5354918f7ed9f551eff0a34d5850037a7db7aac8a668c800b6574b8