%global commit 3aec70b0556a8d7aed7903d1a3e4d9a18c5d1649 Name: solarus Version: 1.6.5 Release: %autorelease Summary: The Solarus Game Engine # Main program: GPL-3.0-or-later # # CC-BY-SA-4.0 Author: Olivier Cléro (Solarus team) # gui/resources/images/icon/*.png # gui/resources/images/default_icon.png # gui/resources/images/solarus_logo_128.png # gui/resources/images/no_logo.png # images/solarus_logo.png # # CC-BY-SA-3.0 Author: Yusuke Kamiyamane: http://p.yusukekamiyamane.com # gui/resources/images/icon_add.png # gui/resources/images/icon_open.png # gui/resources/images/icon_remove.png # gui/resources/images/icon_start.png # gui/resources/images/icon_stop.png License: GPL-3.0-or-later AND CC-BY-SA-4.0 AND CC-BY-SA-3.0 URL: https://www.solarus-games.org/ VCS: https://gitlab.com/solarus-games/solarus Source: %VCS/-/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: cmake(glm) BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: libappstream-glib BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(luajit) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(opengl) BuildRequires: pkgconfig(physfs) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(Qt5) BuildRequires: pkgconfig(Qt5Designer) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5QuickControls2) BuildRequires: pkgconfig(SDL2_gfx) BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbisfile) ExclusiveArch: x86_64 %description A lightweight, multiplatform, free and open-source 2D game engine. %package devel Summary: Development files for Solarus Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for Solarus. %prep %autosetup -p1 -n %{name}-v%{version}-%{commit} %build %cmake %cmake_build %install %cmake_install %find_lang %{name} --with-qt %check desktop-file-validate %{buildroot}/%{_datadir}/applications/org.solarus_games.solarus.Launcher.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.solarus_games.solarus.appdata.xml %files -f %{name}.lang %doc changelog.md compilation.md readme.md %license license.txt license_gpl.txt %{_bindir}/solarus-run %{_bindir}/solarus-launcher %{_libdir}/libsolarus.so.1* %{_libdir}/libsolarus-gui.so.1* %{_datadir}/icons/hicolor/*/apps/org.solarus_games.solarus.Launcher.* %{_datadir}/icons/hicolor/*/apps/org.solarus_games.solarus.Launcher-symbolic.svg %{_datadir}/icons/hicolor/*/apps/org.solarus_games.solarus.Runner.* %{_datadir}/icons/hicolor/*/apps/org.solarus_games.solarus.Runner-symbolic.svg %{_datadir}/pixmaps/org.solarus_games.solarus.Launcher.png %{_datadir}/pixmaps/org.solarus_games.solarus.Runner.png %{_datadir}/applications/org.solarus_games.solarus.Launcher.desktop %{_metainfodir}/org.solarus_games.solarus.appdata.xml %{_mandir}/man6/solarus-launcher.6* %{_mandir}/man6/solarus-run.6* %files devel %{_includedir}/solarus/ %{_libdir}/libsolarus.so %{_libdir}/libsolarus-gui.so %changelog %autochangelog