|
|
97ff953 |
%global commit 40077aee14e030987d4b5ab38bc5403ad14d32ca
|
|
|
97ff953 |
%global date 20210405
|
|
|
821a6d9 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
821a6d9 |
|
|
|
e4490e7 |
%global corename beetle-wswan
|
|
|
821a6d9 |
|
|
|
821a6d9 |
Name: libretro-%{corename}
|
|
|
821a6d9 |
Version: 0
|
|
|
97ff953 |
Release: 0.5.%{date}git%{shortcommit}%{?dist}
|
|
|
821a6d9 |
Summary: Standalone port of Mednafen WonderSwan to libretro, itself a fork of Cygne
|
|
|
821a6d9 |
|
|
|
821a6d9 |
License: GPLv2
|
|
|
821a6d9 |
URL: https://github.com/libretro/beetle-wswan-libretro
|
|
|
821a6d9 |
Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz
|
|
|
821a6d9 |
Source1: https://raw.githubusercontent.com/flathub/org.gnome.Games/master/libretro-cores/mednafen_wswan.libretro
|
|
|
821a6d9 |
|
|
|
821a6d9 |
BuildRequires: gcc-c++
|
|
|
97ff953 |
BuildRequires: make
|
|
|
e4490e7 |
|
|
|
e4490e7 |
Supplements: gnome-games%{?_isa}
|
|
|
e4490e7 |
Supplements: retroarch%{?_isa}
|
|
|
821a6d9 |
|
|
|
821a6d9 |
%description
|
|
|
821a6d9 |
%{summary}.
|
|
|
821a6d9 |
|
|
|
d2dcf75 |
|
|
|
821a6d9 |
%prep
|
|
|
821a6d9 |
%autosetup -n %{corename}-libretro-%{commit} -p1
|
|
|
821a6d9 |
|
|
|
d2dcf75 |
|
|
|
821a6d9 |
%build
|
|
|
821a6d9 |
%set_build_flags
|
|
|
d2dcf75 |
%make_build GIT_VERSION=%{shortcommit}
|
|
|
d2dcf75 |
|
|
|
821a6d9 |
|
|
|
821a6d9 |
%install
|
|
|
e4490e7 |
%make_install \
|
|
|
e4490e7 |
libdir=%{_libdir} \
|
|
|
97ff953 |
prefix=%{_prefix} \
|
|
|
97ff953 |
%{nil}
|
|
|
e4490e7 |
install -Dp -m0644 %{SOURCE1} %{buildroot}%{_libdir}/libretro/mednafen_wswan.libretro
|
|
|
d2dcf75 |
|
|
|
821a6d9 |
|
|
|
821a6d9 |
%files
|
|
|
821a6d9 |
%license COPYING
|
|
|
e4490e7 |
%{_libdir}/libretro/
|
|
|
821a6d9 |
|
|
|
d2dcf75 |
|
|
|
821a6d9 |
%changelog
|
|
|
97ff953 |
* Sun May 02 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.5.20210405git40077ae
|
|
|
97ff953 |
- build(update): Latest git snapshot
|
|
|
97ff953 |
|
|
|
914303c |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.20200701git98ff3de
|
|
|
914303c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
914303c |
|
|
|
e4490e7 |
* Sun Aug 09 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.3.20200701git98ff3de
|
|
|
e4490e7 |
- Update to latest git snapshot
|
|
|
e4490e7 |
|
|
|
906ae0a |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.20191113gitf7d0de1
|
|
|
906ae0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
906ae0a |
|
|
|
556e20f |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.20191113gitf7d0de1
|
|
|
556e20f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
556e20f |
|
|
|
d2dcf75 |
* Wed Dec 04 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.1.20191113gitf7d0de1
|
|
|
d2dcf75 |
- Update to latest git snapshot
|
|
|
d2dcf75 |
- Remove 'libretro-gtk-0_14-0' dependency
|
|
|
d2dcf75 |
|
|
|
821a6d9 |
* Tue Oct 08 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.1.20190914git925cb8c
|
|
|
821a6d9 |
- Initial package
|