## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 forgeurl https://github.com/qtile/qtile %global tag v0.34.0 Name: qtile Version: 0.34.0 Release: %{autorelease} Summary: A pure-Python tiling window manager %forgemeta Source: %{forgesource} #ExclusiveArch: x86_64 aarch64 # Everything licensed under MIT except for the following files. # GPL-3.0-or-later: # libqtile/widget/cmus.py # libqtile/widget/moc.py License: MIT AND GPL-3.0-or-later Url: http://qtile.org # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel BuildRequires: desktop-file-utils BuildRequires: pulseaudio # Test dependencies BuildRequires: gcc BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-server-Xephyr BuildRequires: xterm BuildRequires: rsvg-pixbuf-loader BuildRequires: wlroots >= 0.19.0 BuildRequires: wlroots < 0.20.0 BuildRequires: wlroots-devel >= 0.19.0 BuildRequires: wlroots-devel < 0.20.0 # Some dependencies are loaded with ffi.dlopen, and to declare them properly # we'll need this suffix. %if 0%{?__isa_bits} == 32 %global libsymbolsuffix %{nil} %else %global libsymbolsuffix ()(%{__isa_bits}bit) %endif # Recommended packages for widgets Recommends: python3-psutil Recommends: python3-pyxdg Recommends: python3-dbus-fast Recommends: python3-xmltodict Recommends: python3-dateutil Recommends: python3-mpd2 Recommends: python3-pulsectl Recommends: python3-pulsectl-asyncio Requires: python3-libqtile = %{version}-%{release} %description A pure-Python tiling window manager. Features ======== * Simple, small and extensible. It's easy to write your own layouts, widgets and commands. * Configured in Python. * Command shell that allows all aspects of Qtile to be managed and inspected. * Complete remote scriptability - write scripts to set up workspaces, manipulate windows, update status bar widgets and more. * Qtile's remote scriptability makes it one of the most thoroughly unit-tested window mangers around. %package -n python3-libqtile Summary: Qtile's python library %description -n python3-libqtile %{summary}. %package wayland Summary: Qtile wayland session Requires: qtile = %{version}-%{release} BuildRequires: xorg-x11-server-Xwayland BuildRequires: python3-pywlroots BuildRequires: cairo-devel BuildRequires: gobject-introspection-devel BuildRequires: wayland-protocols-devel %description wayland %{summary}. %prep %forgesetup # These are not packaged for Fedora yet sed -i '/check-manifest/d' ./pyproject.toml sed -i '/mailbox/d' ./pyproject.toml sed -i '/imaplib2/d' ./pyproject.toml sed -i '/xdg/d' ./pyproject.toml %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires -x test,wayland,dev,optional_core,widgets %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel PYTHONPATH=${PWD} %{python3} ./libqtile/backend/wayland/cffi/build.py %install %pyproject_install %pyproject_save_files libqtile mkdir -p %{buildroot}%{python3_sitearch}/libqtile/backend/wayland/ cp -a ./libqtile/backend/wayland/_ffi.*.so %{buildroot}%{python3_sitearch}/libqtile/backend/wayland/ mkdir -p %{buildroot}%{_datadir}/xsessions/ desktop-file-install \ --dir %{buildroot}%{_datadir}/xsessions/ \ resources/qtile.desktop mkdir -p %{buildroot}%{_datadir}/wayland-sessions/ desktop-file-install \ --dir %{buildroot}%{_datadir}/wayland-sessions/ \ resources/qtile-wayland.desktop %check # The tests can sometimes randomly fail. Rebuilding the package again usually # solves the issue. Please see the upstream issue: # https://github.com/qtile/qtile/issues/4573 %ifnarch s390x ppc64le # Tests in test/widgets/test_generic_poll_text.py require network %pytest -vv --backend x11 --backend wayland \ --deselect test/widgets/test_generic_poll_text.py::test_gen_poll_url_text \ --deselect test/widgets/test_generic_poll_text.py::test_gen_poll_url_json_with_data \ --deselect test/widgets/test_generic_poll_text.py::test_gen_poll_url_custom_headers %endif %files %doc README.rst %{_bindir}/qtile %{_datadir}/xsessions/qtile.desktop %files -n python3-libqtile -f %{pyproject_files} %files wayland %{_datadir}/wayland-sessions/qtile-wayland.desktop %{python3_sitearch}/libqtile/backend/wayland/_ffi.*.so %changelog ## START: Generated by rpmautospec * Tue Nov 25 2025 Danny Colin - 0.34.0-3 - rpmautospec: use autochangelog and autorelease * Tue Nov 25 2025 Danny Colin - 0.34.0-2 - Fix missing library file for cffi * Mon Nov 24 2025 Jakub Kadlcik - 0.34.0-1 - New upstream version 0.34.0 * Fri Sep 19 2025 Python Maint - 0.33.0-3 - Rebuilt for Python 3.14.0rc3 bytecode * Thu Aug 28 2025 Jakub Kadlcik - 0.33.0-2 - Update changelog date entry * Thu Aug 28 2025 Jakub Kadlcik - 0.33.0-1 - New upstream version 0.33.0 with some patches for Python3.14 * Thu Aug 28 2025 Fedora Release Engineering - 0.32.0-5 - Unretirement request: pagure.io/releng/issue/12906 Revert "Retired: Fails to install: https://pagure.io/releng/issue/12871" * Fri Jul 25 2025 Fedora Release Engineering - 0.32.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jul 06 2025 Jakub Kadlcik - 0.32.0-3 - Gitignore qtile-0.32.0.tar.gz * Sat Jul 05 2025 Danny Colin - 0.32.0-2 - Fix build errors for the test suite * Sat Jul 05 2025 Danny Colin - 0.32.0-1 - Update spec file to build Qtile 0.32.0 on Fedora 42 * Wed Jun 04 2025 Python Maint - 0.29.0-5 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.29.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Dec 19 2024 Jakub Kadlcik - 0.29.0-3 - Recommend python3-pulsectl-asyncio for the PulseVolume widget * Mon Dec 02 2024 Jakub Kadlcik - 0.29.0-2 - Recommend python3-pulsectl for the PulseVolume widget * Wed Oct 30 2024 Jakub Kadlcik - 0.29.0-1 - New upstream version 0.29.0 * Wed Aug 21 2024 Jakub Kadlcik - 0.28.1-1 - New upstream version 0.28.1 * Sat Jul 20 2024 Jakub Kadlcik - 0.27.0-2 - Skip a broken test (test_chord_widget) * Sat Jul 13 2024 Jakub Kadlcik - 0.27.0-1 - New upstream version 0.27.0 * Sat Jun 08 2024 Python Maint - 0.26.0-2 - Rebuilt for Python 3.13 * Thu May 23 2024 Jakub Kadlcik - 0.26.0-1 - New upstream version 0.26.0 * Fri Jan 26 2024 Fedora Release Engineering - 0.23.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.23.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 07 2024 Jakub Kadlcik - 0.23.0-2 - Small fixes after package review * Tue Nov 28 2023 Jakub Kadlcik - 0.23.0-1 - Import new SRPM from the unretirement package review * Tue Nov 28 2023 Tomas Hrcka - 0.14.2-7 - Unretirement request: https://pagure.io/releng/issue/10391 * Fri Jul 23 2021 Fedora Release Engineering - 0.14.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.14.2-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.14.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.14.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.14.2-2 - Rebuilt for Python 3.9 * Mon Feb 03 2020 Mairi Dulaney - 0.14.2-1 - Update to latest release - 0.14.2 * Thu Jan 30 2020 Fedora Release Engineering - 0.13.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.13.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.13.0-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.13.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 17 2019 Mairi Dulaney - 0.13.0-1 - Update to 0.13.0-1 * Sun Jul 22 2018 Mairi Dulaney - 0.12.0-1 - Update to latest release * Sat Jul 14 2018 Fedora Release Engineering - 0.11.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 20 2018 Miro Hrončok - 0.11.1-4 - Don't require trollius (only needed on Python < 3.4) * Tue Jun 19 2018 Miro Hrončok - 0.11.1-3 - Rebuilt for Python 3.7 * Sat Mar 10 2018 John Dulaney - 0.11.1-2 - Add unpackaged files * Sat Mar 10 2018 John Dulaney - 0.11.1-1 - Update to new version * Fri Feb 09 2018 Fedora Release Engineering - 0.10.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Feb 15 2017 John Dulaney - 0.10.7-1 - Upgrade to latest release, 0.10.7 * Sat Feb 11 2017 Fedora Release Engineering - 0.10.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.10.6-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.10.6-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_ Packages * Wed May 25 2016 John Dulaney - 0.10.6-1 - Upgrade to v0.10.6 - Add `startup_complete` hook - Restore dynamic groups on restart - Major bug fixes with floating window handling * Mon Mar 07 2016 John Dulaney - 0.10.5-3 - No longer shipping qtile-session * Mon Mar 07 2016 John Dulaney - 0.10.5-2 - No longer shipping qtile-session * Mon Mar 07 2016 John Dulaney - 0.10.5-1 - Update to 0.10.5-1 * Thu Feb 04 2016 Fedora Release Engineering - 0.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 20 2016 John Dulaney - 0.10.4-2 - Fix rpmlint issues * Tue Jan 19 2016 John Dulaney - 0.10.4-1 - new upstream release * Sat Dec 26 2015 John Dulaney - 0.10.3-1 - New upstream release * Fri Nov 20 2015 John Dulaney - 0.10.2-7 - rebuild against newest xcffib * Fri Nov 20 2015 John Dulaney - 0.10.2-6 - Build against newest python-xcffib * Thu Nov 19 2015 John Dulaney - 0.10.2-5 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec