[CriticalMass] run autoreconf for aarch64 support (rhbz#925196)
Hans de Goede
jwrdegoede at fedoraproject.org
Wed May 1 14:06:20 UTC 2013
commit 61f92706ad4b4ab423229d4c8fe94f2d2c7facfe
Author: Hans de Goede <hdegoede at redhat.com>
Date: Wed May 1 16:10:09 2013 +0200
run autoreconf for aarch64 support (rhbz#925196)
CriticalMass.spec | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/CriticalMass.spec b/CriticalMass.spec
index 30f2003..ed3036c 100644
--- a/CriticalMass.spec
+++ b/CriticalMass.spec
@@ -1,6 +1,6 @@
Name: CriticalMass
Version: 1.5
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: SDL/OpenGL space shoot'em up game also known as critter
Group: Amusements/Games
License: GPLv2+
@@ -11,7 +11,7 @@ Patch0: CriticalMass-1.0.2-res-change-rh566533.patch
Patch1: CriticalMass-1.5-libpng15.patch
Patch2: CriticalMass-1.5-gcc47.patch
BuildRequires: SDL_image-devel SDL_mixer-devel libpng-devel curl-devel
-BuildRequires: tinyxml-devel desktop-file-utils
+BuildRequires: tinyxml-devel desktop-file-utils libtool
Requires: hicolor-icon-theme opengl-games-utils
# Also known as critter, so make "yum install critter" work
Provides: critter = %{version}-%{release}
@@ -28,6 +28,8 @@ a tiny spacecraft and sent after them.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+touch AUTHORS ChangeLog NEWS README
+autoreconf -i -f
sed -i 's/curl-gnutls/curl/g' configure
%build
@@ -47,7 +49,12 @@ rm $RPM_BUILD_ROOT%{_bindir}/Packer
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
+desktop-file-install \
+%if 0%{?fedora} && 0%{?fedora} < 19
+ --vendor fedora \
+%endif
+ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+ %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
install -p -m 644 critter.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
@@ -69,10 +76,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_bindir}/critter*
%{_datadir}/Critical_Mass
%{_mandir}/man6/critter.6*
-%{_datadir}/applications/%{name}.desktop
+%{_datadir}/applications/*%{name}.desktop
%{_datadir}/icons/hicolor/256x256/apps/critter.png
%changelog
+* Wed May 1 2013 Hans de Goede <hdegoede at redhat.com> - 1.5-8
+- run autoreconf for aarch64 support (rhbz#925196)
+
* Fri Feb 22 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.5-7
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines
More information about the scm-commits
mailing list