c80a4cd
%global commit 3d12ed6361ef17db536b3004a1a61921e5aadfd4
97bd934
%global shortcommit %(c=%{commit}; echo ${c:0:7})
97bd934
97bd934
Name:           abbayedesmorts-gpl
97bd934
Version:        2.0.1
e0ea319
Release:        17.20210509git%{?dist}
97bd934
Summary:        Platform game set in 13th century
97bd934
97bd934
# Graphics and Sounds are licensed under
97bd934
# Creative Commons 3.0 Attribution license.
97bd934
License:        GPLv3 and CC-BY
97bd934
# Original Windows game by locomalito
97bd934
# https://locomalito.com/abbaye_des_morts.php
97bd934
URL:            https://github.com/nevat/abbayedesmorts-gpl 
97bd934
Source0:        https://github.com/nevat/abbayedesmorts-gpl/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
97bd934
88e3de4
BuildRequires:  gcc
c80a4cd
BuildRequires:  make
97bd934
BuildRequires:  SDL2-devel
97bd934
BuildRequires:  SDL2_mixer-devel
97bd934
BuildRequires:  SDL2_image-devel
97bd934
BuildRequires:  libappstream-glib
97bd934
BuildRequires:  desktop-file-utils
97bd934
97bd934
%description
97bd934
In the 13th century, the Cathars, who preach about good Christian beliefs, 
97bd934
were being expelled by the Catholic Church out of the Languedoc region in 
97bd934
France.
97bd934
97bd934
One of them, called Jean Raymond, found an old church in which to hide, not 
97bd934
knowing that beneath its ruins lay buried an ancient evil.
97bd934
97bd934
A style close to Spectrum ZX, with its dark background and bright colors, 
97bd934
proper fit with the story, because it does look old and somewhat horrifying. 
97bd934
Also, the gameplay is directly inspired by Manic Miner and Jet Set Willy.
97bd934
97bd934
97bd934
%prep
97bd934
%autosetup -n %{name}-%{commit}
97bd934
97bd934
97bd934
%build
c80a4cd
%set_build_flags
88e3de4
%make_build
97bd934
97bd934
97bd934
%install
97bd934
%make_install
97bd934
97bd934
# Validate desktop file
97bd934
desktop-file-validate %{buildroot}%{_datadir}/applications/abbaye.desktop
97bd934
c80a4cd
# Validate AppData file
c80a4cd
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/abbaye.appdata.xml
97bd934
97bd934
97bd934
%files
97bd934
%{_bindir}/abbayev2
97bd934
%{_datadir}/abbayev2
c80a4cd
%{_datadir}/appdata/abbaye.appdata.xml
97bd934
%{_datadir}/applications/abbaye.desktop
97bd934
%{_datadir}/pixmaps/abbaye.png
97bd934
%doc ReadMe.md ChangeLog.md screenshots
97bd934
%license COPYING
97bd934
97bd934
97bd934
%changelog
e0ea319
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-17.20210509git
e0ea319
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
e0ea319
c80a4cd
* Wed Sep 29 2021 Andrea Musuruane <musuruan@gmail.com> - 2.0.1-16.20210509git
c80a4cd
- Updated to new upstream post-release
c80a4cd
214ecf5
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-15.20170709git
214ecf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
214ecf5
8073c2c
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-14.20170709git
8073c2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8073c2c
5121a2f
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-13.20170709git
5121a2f
- Second attempt - Rebuilt for
5121a2f
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5121a2f
3e24642
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-12.20170709git
3e24642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3e24642
9f87a40
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-11.20170709git
9f87a40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9f87a40
af41e48
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-10.20170709git
af41e48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
af41e48
5e7f740
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-9.20170709git
5e7f740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5e7f740
dc4f121
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-8.20170709git
dc4f121
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
dc4f121
88e3de4
* Wed Feb 21 2018 Andrea Musuruane <musuruan@gmail.com> - 2.0.1-7.20170709git
88e3de4
- Added gcc dependency
88e3de4
- Used new AppData directory
88e3de4
- Spec file clean up
88e3de4
72b4749
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6.20170709git
72b4749
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
72b4749
9359fa9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5.20170709git
9359fa9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9359fa9
5226dc7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4.20170709git
5226dc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5226dc7
97bd934
* Sat Jul 15 2017 Andrea Musuruane <musuruan@gmail.com> - 2.0.1-3.20170709git
97bd934
- Fixed AppData file
97bd934
- Fixed LDFLAGS usage
97bd934
97bd934
* Thu Jul 13 2017 Andrea Musuruane <musuruan@gmail.com> - 2.0.1-2.20170709git
97bd934
- Updated to new upstream post-release
97bd934
- Added missing BR
97bd934
97bd934
* Sat Jul 08 2017 Andrea Musuruane <musuruan@gmail.com> - 2.0.1-1
97bd934
- First release
97bd934