Automatic import for version 0.0.5-1

This commit is contained in:
ABF 2023-11-12 08:21:24 +00:00
commit 742ced0cbc
2 changed files with 38 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
"sdl2-gamepad-mapper-v0.0.5.tar.gz": 6744abd3933b1b204f80065b8d0bf3bfcb6e798e

36
sdl2-gamepad-mapper.spec Normal file
View file

@ -0,0 +1,36 @@
Summary: GUI application to map a generic controller to the SDL2 GameController spec and generate an SDL2 mapping string
Name: sdl2-gamepad-mapper
Version: 0.0.5
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
%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