75363e2e77
Deprecated * The :inspector command is deprecated and has been replaced by a new :devtools command (see below). Removed * The :debug-log-level command was removed as it's replaced by the new logging.level.console setting. * The qute://plainlog special page got replaced by qute://log?plain - the names of those pages is considered an implementation detail, and :messages --plain should be used instead. Changed * Changes to commands: + :config-write-py now adds a note about config.py files being targeted at advanced users. + :report now takes two optional arguments for bug/contact information, so that it can be used without the report window popping up. + :message now takes a --logfilter / -f argument, which is a list of logging categories to show. + :debug-log-filter now understands the full logfilter syntax. * Changes to settings: + fonts.tabs has been split into fonts.tabs.{selected,unselected} (see below). + statusbar.hide has been renamed to statusbar.show with the possible values being always (hide = False), never (hide = True) or in-mode (new, only show statusbar outside of normal mode). + The QtFont config type formerly used for fonts.tabs and fonts.debug_console is now removed and entirely replaced OBS-URL: https://build.opensuse.org/package/show/network/qutebrowser?expand=0&rev=92
108 lines
3.3 KiB
RPMSpec
108 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package qutebrowser
|
|
#
|
|
# Copyright (c) 2020 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: 1.13.0
|
|
Release: 0
|
|
Summary: Keyboard-driven vim-like browser based on Qt5
|
|
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: asciidoc
|
|
BuildRequires: fdupes
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: python3-Jinja2
|
|
BuildRequires: python3-MarkupSafe
|
|
BuildRequires: python3-PyYAML
|
|
BuildRequires: python3-Pygments
|
|
BuildRequires: python3-attrs
|
|
BuildRequires: python3-devel >= 3.6
|
|
BuildRequires: python3-pyPEG2
|
|
BuildRequires: python3-qt5 >= 5.2
|
|
BuildRequires: python3-sip
|
|
Requires: libqt5-sql-sqlite
|
|
Requires: python3-Jinja2
|
|
Requires: python3-MarkupSafe
|
|
Requires: python3-PyYAML
|
|
Requires: python3-Pygments
|
|
Requires: python3-attrs
|
|
Requires: python3-opengl
|
|
Requires: python3-pyPEG2
|
|
Requires: python3-qt5 >= 5.2
|
|
%if 0%{?suse_version} > 1500
|
|
Requires: python3-qtwebengine-qt5
|
|
%endif
|
|
Requires: python3-sip
|
|
Recommends: python3-cssutils
|
|
BuildArch: noarch
|
|
%if 0%{?suse_version} <= 1320
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
|
|
%description
|
|
qutebrowser is a keyboard-focused browser with a minimal GUI.
|
|
It's based on PyQt5 and can use either QtWebEngine or QtWebKit.
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i '1d' %{name}/__main__.py
|
|
sed -i 's,^#!/usr/bin/env ,#!/usr/bin/,' \
|
|
misc/userscripts/* \
|
|
scripts/*.py
|
|
sed -i 's,^#!/usr/bin/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}/
|
|
|
|
%if 0%{?suse_version} <= 1320
|
|
%post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%endif
|
|
|
|
%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
|