From adc88c7f790a35cb20d61672570568476234c872 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:06:38 +0100 Subject: [PATCH] bump release [release 5.15.2-2mamba;Sat Nov 06 2021] --- README.md | 2 + qt5-qtgamepad.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 qt5-qtgamepad.spec diff --git a/README.md b/README.md index 267332f..2f5dbe1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt5-qtgamepad +Qt5 gamepad component. + diff --git a/qt5-qtgamepad.spec b/qt5-qtgamepad.spec new file mode 100644 index 0000000..abcf72d --- /dev/null +++ b/qt5-qtgamepad.spec @@ -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 +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 5.15.2-2mamba +- bump release + +* Sat Nov 06 2021 Silvan Calarco 5.15.2-1mamba +- package created using the webbuild interface