From 49873f395a56652eef28767ad60a14d6cb0240e6 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Feb 16 2016 16:20:17 +0000 Subject: Update .spec file for the new version --- diff --git a/skychart.spec b/skychart.spec index e42db35..587e7af 100644 --- a/skychart.spec +++ b/skychart.spec @@ -1,17 +1,20 @@ -%global svnversion 3157 +%global svnversion 3238 Name: skychart Version: 3.11 -Release: 8.%{svnversion}svn%{?dist} +Release: 10.%{svnversion}svn%{?dist} Summary: Planetarium software for the advanced amateur astronomer License: GPLv2+ URL: http://www.ap-i.net/skychart/ -# Skychart contains iridflare.exe -# Since it is pre-built code and the license is not clear -# we remove it from sources. -# Download upstream tarball and invoke this script -# while in tarballs directory: -# ./generate-tarball.sh 3.11-3157 +# Upstream sources are modified to: +# - Remove pre-built software (iridflare.exe, quicksat.exe, dll files) +# - Remove unneeded Windows and MacOS stuff +# - Remove libraries provided by libpasastro package +# (they still are in sources only for compiling the Windows version) +# To do this we use the generate-tarball.sh script +# Download upstream tarball in the same directory of the script +# and run: +# ./generate-tarball.sh 3.11-3238 Source0: %{name}-%{version}-%{svnversion}-src-nopatents.tar.xz Source1: generate-tarball.sh # Source data for skychart-data-stars @@ -38,9 +41,14 @@ Patch1: skychart-3.11-strip.patch # This is Fedora specific and not reported upstream Patch2: skychart-wgetdata.patch -# Fix appdata file validation -# Reported upstream -Patch3: skychart-3.11-fix-appdata.patch +# Notify the user that artificial satellites calculation +# has been disabled in Fedora RPMs due to Fedora policies +# This is Fedora specific and not reported upstream +Patch3: skychart-3.11-satmessage.patch + +# Disable software update menu item +# This feature was asked upstream specifically for Fedora +Patch4: skychart-3.11-noupdate.patch # fpc isn't available on aarch64 and s390 # lazarus isn't available on aarch64 ppc and s390 @@ -111,12 +119,11 @@ Galactic Planetary Nebulae. %patch3 -p1 +%patch4 -p1 + # Fix executable bit set on sources find skychart -type f -print0 |xargs -0 chmod -x -# Fix wrong FSF address in source headers -grep -rl '59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.' * | xargs -i@ sed -i 's/59 Temple Place - Suite 330, Boston, MA 02111-1307, USA./51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./g' @ - # Put additional catalogs files where where required for installation cp -p %SOURCE2 ./BaseData cp -p %SOURCE3 ./BaseData @@ -229,6 +236,19 @@ fi %changelog +* Mon Feb 15 2016 Mattia Verga - 3.11-10.3238svn +- Update svn version +- Remove remnants of pre built .dll files in sources +- Remove libraries from sources that are now provided externally +- Patch to inform user about artificial satellites calculation removal +- Patch to set option to disable software update menu item + +* Fri Feb 12 2016 Mattia Verga - 3.11-9.3229svn +- Update svn version +- FSF address in sources is now fixed upstream +- Appdata file is now fixed upstream +- Updated catalog_wds source file from upstream + * Fri Feb 05 2016 Fedora Release Engineering - 3.11-8.3157svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild