## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global commit 17956d285fedcf476ea753ff850fa7adf51ba07c %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20231001 Name: jstest-gtk Version: 0.1.0 Release: %{date}git%{shortcommit}.%autorelease Summary: Simple joystick tester based on Gtk+ License: GPL-3.0-only URL: https://github.com/Grumbel/jstest-gtk Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: pkgconfig(gtkmm-3.0) BuildRequires: pkgconfig(sigc++-1.2) Requires: hicolor-icon-theme %description jstest-gtk is a simple joystick tester based on Gtk+. It provides you with a list of attached joysticks, a way to display which buttons and axis are pressed, a way to remap axis and buttons and a way to calibrate your joystick. %prep %autosetup -n %{name}-%{commit} %build %cmake %cmake_build %install %cmake_install %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files %doc README.md %license COPYING %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/*.svg %{_libexecdir}/%{name} %{_mandir}/man1/%{name}.1* %{_metainfodir}/*.xml %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Oct 01 2023 Artem Polishchuk - 0.1.0-1 - Initial (rh#2241551) ## END: Generated by rpmautospec