From 88e3de47a1c1433dacb278a9868eeb052c381488 Mon Sep 17 00:00:00 2001 From: Andrea Musuruane Date: Feb 21 2018 13:53:45 +0000 Subject: Added gcc dependency Used new AppData directory Spec file clean up --- diff --git a/abbayedesmorts-gpl.spec b/abbayedesmorts-gpl.spec index 05ab2cb..ff0c704 100644 --- a/abbayedesmorts-gpl.spec +++ b/abbayedesmorts-gpl.spec @@ -3,7 +3,7 @@ Name: abbayedesmorts-gpl Version: 2.0.1 -Release: 6.20170709git%{?dist} +Release: 7.20170709git%{?dist} Summary: Platform game set in 13th century # Graphics and Sounds are licensed under @@ -16,6 +16,7 @@ Source0: https://github.com/nevat/abbayedesmorts-gpl/archive/%{commit}/%{ Source1: abbaye.appdata.xml Patch0: %{name}-2.0.1-ldflags.patch +BuildRequires: gcc BuildRequires: SDL2-devel BuildRequires: SDL2_mixer-devel BuildRequires: SDL2_image-devel @@ -42,7 +43,7 @@ Also, the gameplay is directly inspired by Manic Miner and Jet Set Willy. %build export CFLAGS="%{optflags}" export LDFLAGS="%{__global_ldflags}" -make %{?_smp_mflags} +%make_build %install @@ -52,15 +53,15 @@ make %{?_smp_mflags} desktop-file-validate %{buildroot}%{_datadir}/applications/abbaye.desktop # Install AppData file -install -d %{buildroot}%{_datadir}/appdata -install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata -appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/abbaye.appdata.xml +install -d %{buildroot}%{_datadir}/metainfo +install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/abbaye.appdata.xml %files %{_bindir}/abbayev2 %{_datadir}/abbayev2 -%{_datadir}/appdata/abbaye.appdata.xml +%{_datadir}/metainfo/abbaye.appdata.xml %{_datadir}/applications/abbaye.desktop %{_datadir}/pixmaps/abbaye.png %doc ReadMe.md ChangeLog.md screenshots @@ -68,6 +69,11 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/abbaye.ap %changelog +* Wed Feb 21 2018 Andrea Musuruane - 2.0.1-7.20170709git +- Added gcc dependency +- Used new AppData directory +- Spec file clean up + * Wed Feb 07 2018 Fedora Release Engineering - 2.0.1-6.20170709git - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild