2023-11-12 08:21:24 +00:00
|
|
|
Summary: GUI application to map a generic controller to the SDL2 GameController spec and generate an SDL2 mapping string
|
|
|
|
Name: sdl2-gamepad-mapper
|
2024-01-28 11:38:58 +06:00
|
|
|
Version: 0.0.6
|
2023-11-12 08:21:24 +00:00
|
|
|
Release: 1
|
|
|
|
License: GPLv3
|
|
|
|
Group: System/Configuration/Hardware
|
|
|
|
Url: https://gitlab.com/ryochan7/sdl2-gamepad-mapper
|
|
|
|
Source0: https://gitlab.com/ryochan7/sdl2-gamepad-mapper/-/archive/v%{version}/%{name}-v%{version}.tar.gz
|
|
|
|
BuildRequires: qmake5
|
|
|
|
BuildRequires: qt5-devel
|
|
|
|
BuildRequires: pkgconfig(Qt5QuickControls2)
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
|
|
|
|
|
|
|
%description
|
|
|
|
GUI application to map a generic controller to the SDL2 GameController spec
|
|
|
|
and generate an SDL2 mapping string.
|
|
|
|
|
|
|
|
%files
|
2024-01-28 11:38:58 +06:00
|
|
|
%license COPYING
|
2023-11-12 08:21:24 +00:00
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/sdl2-gamepad-mapper
|
|
|
|
%{_datadir}/applications/sdl2-gamepad-mapper.desktop
|
|
|
|
%{_datadir}/icons/hicolor/512x512/apps/sdl2-gamepad-mapper.png
|
|
|
|
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{name}-v%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%qmake_qt5
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -Dm755 sdl2-gamepad-mapper %{buildroot}/%{_bindir}/sdl2-gamepad-mapper
|
|
|
|
install -D sdl2-gamepad-mapper.desktop %{buildroot}/%{_datadir}/applications/sdl2-gamepad-mapper.desktop
|
|
|
|
install -D sdl2-gamepad-mapper.png %{buildroot}/%{_datadir}/icons/hicolor/512x512/apps/sdl2-gamepad-mapper.png
|