]> git.pld-linux.org Git - packages/qutebrowser.git/blobdiff - qutebrowser.spec
up to 2.0.1
[packages/qutebrowser.git] / qutebrowser.spec
index 820325900a04e9575b18dcee51c6e838ba8d5f37..cfc09799dbae6f3503cd08c402a4809366456fbd 100644 (file)
@@ -1,15 +1,15 @@
-%define                qtver   5.7.1
+%define                qtver   5.12
 Summary:       A keyboard-driven, vim-like browser based on PyQt5
 Name:          qutebrowser
-Version:       1.10.1
+Version:       2.0.1
 Release:       1
 License:       GPL v3+
 Group:         X11/Applications/Networking
-Source0:       https://github.com/qutebrowser/qutebrowser/archive/v%{version}.tar.gz
-# Source0-md5: 013855e1821b81edc0ed709f71342241
+Source0:       https://github.com/qutebrowser/qutebrowser/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 854e9bdde3e54b8df032e741688c0e8b
 URL:           https://www.qutebrowser.org/
 BuildRequires: asciidoc
-BuildRequires: python3 >= 3.6
+BuildRequires: python3 >= 1:3.6.1
 BuildRequires: python3-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -20,13 +20,12 @@ Requires:   Qt5Sql-sqldriver-sqlite3 >= %{qtver}
 Requires:      Qt5WebEngine >= %{qtver}
 Requires:      bash
 Requires:      hicolor-icon-theme
-Requires:      python3 >= 3.6
-Requires:      python3-PyQt5 >= 5.7.0
+Requires:      python3 >= 1:3.6.1
+Requires:      python3-PyQt5 >= 5.12.0
+Requires:      python3-PyQtWebEngine
 Requires:      python3-PyYAML
-Requires:      python3-attrs
 Requires:      python3-jinja2
-Requires:      python3-pyPEG2
-Requires:      python3-pygments
+Suggests:      python3-pygments
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,6 +35,14 @@ 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
 
@@ -82,5 +89,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.274455 seconds and 4 git commands to generate.