97bd934
Name:           abbayedesmorts-gpl
d8fb9c1
Version:        2.0.2
e0570d7
Release:        3%{?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 
d8fb9c1
Source0:        https://github.com/nevat/abbayedesmorts-gpl/archive/v%{version}.tar.gz#/%{name}-%{version}.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
d8fb9c1
Requires:       hicolor-icon-theme
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
d8fb9c1
%autosetup
97bd934
97bd934
97bd934
%build
c80a4cd
%set_build_flags
88e3de4
%make_build
97bd934
97bd934
97bd934
%install
97bd934
%make_install
97bd934
d8fb9c1
# Install icons
d8fb9c1
rm %{buildroot}%{_datadir}/pixmaps/abbaye.png
d8fb9c1
cp -a abbaye.png abbaye48.png
d8fb9c1
for px in 48 64 128; do
d8fb9c1
  install -d %{buildroot}%{_datadir}/icons/hicolor/${px}x${px}/apps
d8fb9c1
  install -p -m 644 abbaye${px}.png \
d8fb9c1
    %{buildroot}%{_datadir}/icons/hicolor/${px}x${px}/apps/abbaye.png
d8fb9c1
done
d8fb9c1
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
d8fb9c1
%{_datadir}/icons/hicolor/*/apps/abbaye.png
97bd934
%doc ReadMe.md ChangeLog.md screenshots
97bd934
%license COPYING
97bd934
97bd934
97bd934
%changelog
e0570d7
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
e0570d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e0570d7
e51807c
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
e51807c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e51807c
d8fb9c1
* Tue Oct 24 2023 Andrea Musuruane <musuruan@gmail.com> - 2.0.2-1
d8fb9c1
- Updated to new upstream release
d8fb9c1
980bd89
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-20.20210509git
980bd89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
980bd89
f94fd5e
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-19.20210509git
f94fd5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
f94fd5e
f9feac8
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-18.20210509git
f9feac8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
f9feac8
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