2024-01-05 23:39:49 +01:00
|
|
|
Name: heroic-games-launcher
|
2024-01-05 23:39:50 +01:00
|
|
|
Version: 2.5.1
|
2024-01-05 23:39:50 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:39:49 +01:00
|
|
|
Summary: A Native GOG and Epic Games Launcher
|
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://heroicgameslauncher.com/
|
|
|
|
Source: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git/v%{version}/HeroicGamesLauncher-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libmesa-devel
|
|
|
|
BuildRequires: libnspr-devel
|
|
|
|
BuildRequires: libnss-devel
|
|
|
|
BuildRequires: libpango-devel
|
2024-01-05 23:39:49 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 23:39:49 +01:00
|
|
|
BuildRequires: libwayland-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: yarn
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Native GOG and Epic Games Launcher.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:39:49 +01:00
|
|
|
%define _build_id_links none
|
2024-01-05 23:39:50 +01:00
|
|
|
%global __requires_exclude ^libffmpeg.so.*$
|
|
|
|
%global __provides_exclude_from ^%{_datadir}/heroic/.*$
|
2024-01-05 23:39:49 +01:00
|
|
|
|
2024-01-05 23:39:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n HeroicGamesLauncher-%{version}
|
2024-01-05 23:39:50 +01:00
|
|
|
#-D -T
|
2024-01-05 23:39:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:39:50 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 23:39:49 +01:00
|
|
|
yarn
|
|
|
|
yarn dist:linux tar.xz
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/heroic
|
|
|
|
cp -r dist/linux-unpacked/* %{buildroot}%{_datadir}/heroic/
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_bindir}
|
|
|
|
ln -s %{_datadir}/heroic/heroic %{buildroot}%{_bindir}/heroic
|
|
|
|
|
|
|
|
install -D public/icon.png %{buildroot}%{_datadir}/pixmaps/heroic.png
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/applications/
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/heroic.desktop << _EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=Heroic Games Launcher
|
|
|
|
Exec=%{_datadir}/heroic/heroic %U
|
|
|
|
Terminal=false
|
|
|
|
Type=Application
|
|
|
|
Icon=heroic
|
|
|
|
StartupWMClass=Heroic
|
|
|
|
Comment=Open Source GOG and Epic Games launcher
|
|
|
|
MimeType=x-scheme-handler/heroic;
|
|
|
|
Categories=Game;
|
|
|
|
_EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%{_bindir}/heroic
|
|
|
|
%{_datadir}/applications/heroic.desktop
|
|
|
|
%{_datadir}/pixmaps/heroic.png
|
|
|
|
%dir %{_datadir}/heroic
|
|
|
|
%{_datadir}/heroic/*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:39:50 +01:00
|
|
|
* Wed Dec 07 2022 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:39:50 +01:00
|
|
|
* Wed Nov 30 2022 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:39:50 +01:00
|
|
|
* Sun Sep 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.3-2mamba
|
|
|
|
- remove internal provides
|
|
|
|
|
2024-01-05 23:39:50 +01:00
|
|
|
* Sat Sep 10 2022 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:39:49 +01:00
|
|
|
* Fri Sep 02 2022 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:39:49 +01:00
|
|
|
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-2mamba
|
|
|
|
- don't add build_id links to avoid conflicts with distribution binaries
|
|
|
|
|
2024-01-05 23:39:49 +01:00
|
|
|
* Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:39:49 +01:00
|
|
|
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.10-1mamba
|
|
|
|
- package created using the webbuild interface
|