Blob Blame History Raw
%global commit 9ce56f69dec5e185058508cb924b1f597a1380e5 
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name:           abbayedesmorts-gpl
Version:        2.0.1
Release:        5.20170709git%{?dist}
Summary:        Platform game set in 13th century

# Graphics and Sounds are licensed under
# Creative Commons 3.0 Attribution license.
License:        GPLv3 and CC-BY
# Original Windows game by locomalito
Source1:        abbaye.appdata.xml
Patch0:         %{name}-2.0.1-ldflags.patch

BuildRequires:  SDL2-devel
BuildRequires:  SDL2_mixer-devel
BuildRequires:  SDL2_image-devel
BuildRequires:  libappstream-glib
BuildRequires:  desktop-file-utils

In the 13th century, the Cathars, who preach about good Christian beliefs, 
were being expelled by the Catholic Church out of the Languedoc region in 

One of them, called Jean Raymond, found an old church in which to hide, not 
knowing that beneath its ruins lay buried an ancient evil.

A style close to Spectrum ZX, with its dark background and bright colors, 
proper fit with the story, because it does look old and somewhat horrifying. 
Also, the gameplay is directly inspired by Manic Miner and Jet Set Willy.

%autosetup -n %{name}-%{commit}

export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
make %{?_smp_mflags}


# Validate desktop file
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

%doc screenshots
%license COPYING

* Wed Aug 02 2017 Fedora Release Engineering <> - 2.0.1-5.20170709git
- Rebuilt for

* Wed Jul 26 2017 Fedora Release Engineering <> - 2.0.1-4.20170709git
- Rebuilt for

* Sat Jul 15 2017 Andrea Musuruane <> - 2.0.1-3.20170709git
- Fixed AppData file
- Fixed LDFLAGS usage

* Thu Jul 13 2017 Andrea Musuruane <> - 2.0.1-2.20170709git
- Updated to new upstream post-release
- Added missing BR

* Sat Jul 08 2017 Andrea Musuruane <> - 2.0.1-1
- First release