qutebrowser/qutebrowser.spec
Mia Herkt 92d7ebd8dd Accepting request 1119102 from home:jubalh:branches:network
- Update to version 3.0.2:
  * Fix for crashes on Google Meet / GMail with dark mode enabled
  * Fix for right-click in devtools not working properly
  * Fix for drag & drop not working on Wayland
  * Fix for some XKB key remappings not working
  * Security fixes up to Chromium 116.0.5845.187, including
    CVE-2023-4863, a critical heap buffer overflow in WebP, for
    which "Google is aware that an exploit exists in the wild."

- Update to version 3.0.1:
  * The "restore video" functionality of the view_in_mpv script
    works again on webengine.
  * Setting url.auto_search to dns works correctly now with Qt 6.
  * Counts passed via keypresses now have a digit limit (4300) to
    avoid exceptions due to cats sleeping on numpads. (#7834)
  * Navigating via hints to a remote URL from a file:// one works
    again. (#7847)
  * The timers related to the tab audible indicator and the auto follow
    timeout no longer accumulate connections over time. (#7888)
  * The workaround for crashes when using drag & drop on Wayland
    with Qt 6.5.2 now also works correctly when using wayland-egl
    rather than wayland as Qt platform.
  * Worked around a weird TypeError with QProxyStyle / TabBarStyle
    on certain platforms with Python 3.12.
  * Removed 1px border for the downloads view, mostly noticeable
    when it’s transparent.
  * Due to a Qt bug, cloning/undoing a tab which was not fully loaded
    caused qutebrowser to crash. This is now fixed via a workaround.
  * Graphical glitches in Google sheets and PDF.js via a new setting
    qt.workarounds.disable_accelerated_2d_canvas to disable the

OBS-URL: https://build.opensuse.org/request/show/1119102
OBS-URL: https://build.opensuse.org/package/show/network/qutebrowser?expand=0&rev=130
2023-10-23 00:40:15 +00:00

114 lines
3.7 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package qutebrowser
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: qutebrowser
Version: 3.0.2
Release: 0
Summary: Keyboard-driven vim-like browser based on Qt6
License: GPL-3.0-or-later
Group: Productivity/Networking/Web/Browsers
URL: https://qutebrowser.org/
Source: https://github.com/The-Compiler/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/The-Compiler/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: Mesa-dri
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python3-Flask
BuildRequires: python3-Jinja2
BuildRequires: python3-MarkupSafe
BuildRequires: python3-PyQt6-WebEngine
BuildRequires: python3-PyQt6-sip
BuildRequires: python3-PyYAML
BuildRequires: python3-beautifulsoup4
BuildRequires: python3-cheroot
BuildRequires: python3-devel >= 3.8
BuildRequires: python3-hypothesis
BuildRequires: python3-importlib-resources
BuildRequires: python3-opengl
BuildRequires: python3-pytest
BuildRequires: python3-pytest-bdd
BuildRequires: python3-pytest-benchmark
BuildRequires: python3-pytest-instafail
BuildRequires: python3-pytest-mock
BuildRequires: python3-pytest-qt
BuildRequires: python3-pytest-rerunfailures
BuildRequires: python3-pytest-xvfb
BuildRequires: python3-setuptools
BuildRequires: python3-tk
BuildRequires: python3-tldextract
BuildRequires: qt6-sql-sqlite
BuildRequires: python(abi) >= 3.8
Requires: python3-Jinja2
Requires: python3-MarkupSafe
Requires: python3-PyQt6-WebEngine
Requires: python3-PyYAML
Requires: python3-opengl
Requires: qt6-sql-sqlite
Recommends: python3-Pygments
Recommends: python3-adblock
Obsoletes: qutebrowser-git-qt6 < %{version}
Provides: qutebrowser-git-qt6 = %{version}
BuildArch: noarch
%description
qutebrowser is a keyboard-focused browser with a minimal GUI.
It's based on PyQt6 and QtWebEngine.
%prep
%setup -q
sed -i '1d' %{name}/__main__.py
sed -i 's,^#!%{_bindir}/env ,#!%{_bindir}/,' \
misc/userscripts/* \
scripts/*.py
sed -i 's,^#!%{_bindir}/bash,#!/bin/bash,' \
misc/userscripts/*
mv misc/Makefile .
%build
%install
%make_install PREFIX=%{_prefix}
chmod -x %{buildroot}%{_datadir}/%{name}/scripts/cycle-inputs.js \
%{buildroot}%{_datadir}/%{name}/scripts/utils.py \
%{buildroot}%{_datadir}/%{name}/userscripts/README.md
rm %{buildroot}%{python3_sitelib}/%{name}/git-commit-id
%fdupes %{buildroot}%{python3_sitelib}/
# NOTE: test suite disabled because the BDD tests are too unreliable
# %%check
# NOTE: test suite is slow but doesnt run reliably with xdist
# PYTHONPATH=. pytest -v \
# -k 'not importlib' \
%files
%license LICENSE
%doc doc/changelog.asciidoc README.asciidoc
%{_bindir}/%{name}
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}-*
%{_datadir}/applications/org.qutebrowser.qutebrowser.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/metainfo/org.qutebrowser.qutebrowser.appdata.xml
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog