From 3fb07c82da95eb626684aa16ffe55d4bff626cc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 13 Apr 2017 13:16:42 +0200 Subject: [PATCH] - up to 2.6.0.0 --- asc-configure.patch | 4 ++-- asc-lua.patch | 4 ++-- asc.spec | 11 ++++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/asc-configure.patch b/asc-configure.patch index 0b68fc9..7c112d7 100644 --- a/asc-configure.patch +++ b/asc-configure.patch @@ -1,5 +1,5 @@ ---- asc-2.4.0.0/configure.in~ 2009-12-20 16:34:36.000000000 +0000 -+++ asc-2.4.0.0/configure.in 2009-12-23 12:59:21.861265419 +0000 +--- asc-2.4.0.0/configure.ac~ 2009-12-20 16:34:36.000000000 +0000 ++++ asc-2.4.0.0/configure.ac 2009-12-23 12:59:21.861265419 +0000 @@ -134,12 +134,6 @@ diff --git a/asc-lua.patch b/asc-lua.patch index 9071ef3..8105245 100644 --- a/asc-lua.patch +++ b/asc-lua.patch @@ -1,5 +1,5 @@ ---- asc-2.4.0.0/configure.in~ 2009-12-23 13:09:38.834537726 +0000 -+++ asc-2.4.0.0/configure.in 2009-12-23 13:11:26.601193188 +0000 +--- asc-2.4.0.0/configure.ac~ 2009-12-23 13:09:38.834537726 +0000 ++++ asc-2.4.0.0/configure.ac 2009-12-23 13:11:26.601193188 +0000 @@ -187,7 +187,7 @@ fi diff --git a/asc.spec b/asc.spec index 95e45ea..01c3047 100644 --- a/asc.spec +++ b/asc.spec @@ -4,12 +4,12 @@ Summary: Advanced Strategic Command - a free, turn based strategy game Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna Name: asc -Version: 2.5.0.0 -Release: 15 +Version: 2.6.0.0 +Release: 1 License: GPL v2+ Group: X11/Applications/Games/Strategy Source0: http://downloads.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2 -# Source0-md5: 93400834ef6b75343388c1edc772bef9 +# Source0-md5: 3f0002f1d3ccdf447b4721a171ed2ac3 Source1: %{name}.desktop Source2: %{name}.xpm Patch0: %{name}-configure.patch @@ -85,8 +85,8 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} -install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} +cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} +cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} %clean rm -rf $RPM_BUILD_ROOT @@ -99,6 +99,7 @@ rm -rf $RPM_BUILD_ROOT %{_desktopdir}/%{name}.desktop %{_mandir}/man6/%{name}.6* %{_pixmapsdir}/%{name}.xpm +%{_datadir}/appdata/asc.appdata.xml %files tools %defattr(644,root,root,755) -- 2.44.0