bump release [release 5.15.2-2mamba;Sat Nov 06 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:06:38 +01:00
parent bd7c6eb04d
commit adc88c7f79
2 changed files with 94 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# qt5-qtgamepad # qt5-qtgamepad
Qt5 gamepad component.

92
qt5-qtgamepad.spec Normal file
View File

@ -0,0 +1,92 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: qt5-qtgamepad
Version: 5.15.2
Release: 2mamba
Summary: Qt5 gamepad component
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qtgamepad-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL2-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
%description
Qt5 gamepad component.
%package -n libQt5Gamepad
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libQt5Gamepad
This package contains shared libraries for %{name}.
%package -n libQt5Gamepad-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libQt5Gamepad = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libQt5Gamepad-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtgamepad-everywhere-src-%{version}
%build
%_qt5_qmake
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libQt5Gamepad -p /sbin/ldconfig
%postun -n libQt5Gamepad -p /sbin/ldconfig
%files -n libQt5Gamepad
%defattr(-,root,root)
%{_libdir}/libQt5Gamepad.so.*
%{_libdir}/qt5/plugins/gamepads/libevdevgamepad.so
%{_libdir}/qt5/plugins/gamepads/libsdl2gamepad.so
%dir %{_libdir}/qt5/qml/QtGamepad
%{_libdir}/qt5/qml/QtGamepad/*
%doc LICENSE.*
%files -n libQt5Gamepad-devel
%defattr(-,root,root)
%dir %{_includedir}/qt5/QtGamepad
%{_includedir}/qt5/QtGamepad/*
%{_libdir}/libQt5Gamepad.la
%{_libdir}/libQt5Gamepad.prl
%{_libdir}/libQt5Gamepad.so
%{_libdir}/qt5/mkspecs/modules/qt_lib_gamepad.pri
%{_libdir}/qt5/mkspecs/modules/qt_lib_gamepad_private.pri
%dir %{_libdir}/cmake/Qt5Gamepad
%{_libdir}/cmake/Qt5Gamepad/Qt5Gamepad*.cmake
%{_libdir}/pkgconfig/Qt5Gamepad.pc
%doc README.md
%changelog
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface