]> git.pld-linux.org Git - packages/qutebrowser.git/blobdiff - qutebrowser.spec
up to 1.12.0
[packages/qutebrowser.git] / qutebrowser.spec
index b78b1bbf7f0d8b61bcad30599be59c20c164883a..c855f6f5f3acd27a1ba6f2f00c3c8ad36858b1de 100644 (file)
@@ -1,12 +1,12 @@
 %define                qtver   5.7.1
 Summary:       A keyboard-driven, vim-like browser based on PyQt5
 Name:          qutebrowser
-Version:       1.8.0
+Version:       1.12.0
 Release:       1
 License:       GPL v3+
 Group:         X11/Applications/Networking
 Source0:       https://github.com/qutebrowser/qutebrowser/archive/v%{version}.tar.gz
-# Source0-md5: 2bc32c7454325bb7d40f2c1b6d4f0876
+# Source0-md5: 95d502f6208cfc3d0f74686dc0d1b8d9
 URL:           https://www.qutebrowser.org/
 BuildRequires: asciidoc
 BuildRequires: python3 >= 3.6
@@ -22,6 +22,7 @@ Requires:     bash
 Requires:      hicolor-icon-theme
 Requires:      python3 >= 3.6
 Requires:      python3-PyQt5 >= 5.7.0
+Requires:      python3-PyQtWebEngine
 Requires:      python3-PyYAML
 Requires:      python3-attrs
 Requires:      python3-jinja2
@@ -36,11 +37,20 @@ based on Python, PyQt5 and QtWebEngine and free software, licensed
 under the GPL. It was inspired by other browsers/addons like dwb and
 Vimperator/Pentadactyl.
 
+%package userscripts
+Summary:       User scripts for qutebrowser
+Group:         X11/Applications/Networking
+Requires:      %{name} = %{version}-%{release}
+
+%description userscripts
+User scripts for qutebrowser.
+
 %prep
 %setup -q
 
 grep -r '#!.*env bash' -l . | xargs %{__sed} -i -e '1 s,#!.*env bash.*,#!/bin/bash,'
 grep -r '#!.*env python' -l . | xargs %{__sed} -i -e '1 s,#!.*env python.*,#!%{__python3},'
+grep -r '#!.*env node' -l . | xargs %{__sed} -i -e '1 s,#!.*env node.*,#!/usr/bin/node,'
 
 %build
 %py3_build
@@ -81,5 +91,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/qutebrowser/scripts/*.js
 %attr(755,root,root) %{_datadir}/qutebrowser/scripts/*.py
 %attr(755,root,root) %{_datadir}/qutebrowser/scripts/*.sh
+
+%files userscripts
+%defattr(644,root,root,755)
 %dir %{_datadir}/qutebrowser/userscripts
 %attr(755,root,root) %{_datadir}/qutebrowser/userscripts/*
This page took 0.078228 seconds and 4 git commands to generate.