Name: piper Version: 0.7 Release: 3%{?dist} License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://github.com/libratbag/%{name} Summary: GTK application to configure gaming mice Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: pygobject3-devel BuildRequires: python3-cairo BuildRequires: python3-devel BuildRequires: python3-evdev BuildRequires: python3-flake8 BuildRequires: python3-gobject BuildRequires: python3-lxml BuildRequires: appstream BuildRequires: desktop-file-utils BuildRequires: gettext-devel BuildRequires: git-core BuildRequires: libappstream-glib BuildRequires: libratbag-ratbagd BuildRequires: meson Requires: gtk3 Requires: hicolor-icon-theme Requires: libratbag-ratbagd >= 0.14 Requires: python3-cairo Requires: python3-evdev Requires: python3-gobject Requires: python3-lxml %{?python_provide:%python_provide python3-%{name}} %description Piper is a GTK+ application to configure gaming mice, using libratbag via ratbagd. %prep %autosetup -S git sed -e '/meson_install.sh/d' -i meson.build # Workaround to https://bugzilla.redhat.com/show_bug.cgi?id=2100362 %if 0%{?fedora} && 0%{?fedora} >= 37 sed -e '/evdev/d' -i meson.build %endif %build %meson %meson_build %check %meson_test appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %install %meson_install %find_lang %{name} %files -f %{name}.lang %doc README.md %license COPYING %{_bindir}/%{name} %{_datadir}/%{name} %{python3_sitelib}/%{name}/ %{_datadir}/applications/*.desktop %{_metainfodir}/*.appdata.xml %{_datadir}/icons/hicolor/*/apps/* %{_mandir}/man1/*.1* %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 23 2022 Vitaly Zaitsev - 0.7-1 - Updated to version 0.7. * Mon Jun 13 2022 Python Maint - 0.6-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jul 26 2021 Vitaly Zaitsev - 0.6-1 - Updated to version 0.6. * Fri Jul 23 2021 Fedora Release Engineering - 0.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.1-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 04 2020 Peter Hutterer 0.5.1-3 - We only need git-core to build * Tue Jul 28 2020 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 30 2020 Vitaly Zaitsev - 0.5.1-1 - Updated to version 0.5.1. * Tue May 26 2020 Miro Hrončok - 0.5-2 - Rebuilt for Python 3.9 * Mon May 25 2020 Vitaly Zaitsev - 0.5-1 - Updated to version 0.5. * Tue Feb 11 2020 Peter Hutterer 0.4-1 - piper 0.4 * Fri Jan 31 2020 Vitaly Zaitsev - 0.3-5 - Performed SPEC cleanup to follow modern Fedora guidelines. * Thu Jan 30 2020 Fedora Release Engineering - 0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3-3 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3-2 - Rebuilt for Python 3.8 * Fri Aug 02 2019 Peter Hutterer 0.3-1 - piper 0.3 * Mon Jul 29 2019 Peter Hutterer 0.2.905-1 - piper 0.2.905 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.904-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 28 2019 Peter Hutterer 0.2.904-2 - Add python3-lxml to BuildRequires to pass the checks * Thu Feb 28 2019 Peter Hutterer 0.2.904-1 - Update to version 0.2.904. * Sat Feb 02 2019 Fedora Release Engineering - 0.2.903-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 24 2019 Peter Hutterer 0.2.903-1 - Updated to version 0.2.903. * Wed Sep 26 2018 Peter Hutterer 0.2.902-2 - Add missing Requires python3-lxml (#1632979) * Mon Sep 10 2018 Peter Hutterer 0.2.902-1 - Updated to version 0.2.902. * Tue Aug 21 2018 Vitaly Zaitsev - 0.2.901-1 - Updated to version 0.2.901. * Fri Jul 13 2018 Fedora Release Engineering - 0.2.900-3.20180214git5f6ed20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 Miro Hrončok - 0.2.900-2.20180214git5f6ed20 - Rebuilt for Python 3.7 * Thu Jun 28 2018 Vitaly Zaitsev - 0.2.900-1.20180214git5f6ed20 - Initial SPEC release.