diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:33:59 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:33:59 +0000 |
| commit | 7afdb4868e0b3e4f88a1688f44d7e109919dff0a (patch) | |
| tree | 9adbe41fb02fa080e732564218dd32a0a762cc85 | |
| parent | b935a77058518eb2e206fae3d889c39d945ee9c2 (diff) | |
automatic import of python-qutebrowser
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-qutebrowser.spec | 120 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 122 insertions, 0 deletions
@@ -0,0 +1 @@ +/qutebrowser-2.5.4.tar.gz diff --git a/python-qutebrowser.spec b/python-qutebrowser.spec new file mode 100644 index 0000000..5887823 --- /dev/null +++ b/python-qutebrowser.spec @@ -0,0 +1,120 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qutebrowser +Version: 2.5.4 +Release: 1 +Summary: A keyboard-driven, vim-like browser based on PyQt5. +License: GPL +URL: https://www.qutebrowser.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c6/a4/91de5129bef494aeacd2b288ea3aaf015b672ed530c6edf6da5480e99d54/qutebrowser-2.5.4.tar.gz +BuildArch: noarch + + +%description +// QUTE_WEB_HIDE +image:icons/qutebrowser-64x64.png[qutebrowser logo] *A keyboard-driven, vim-like browser based on PyQt5 and Qt.* +image:https://github.com/qutebrowser/qutebrowser/workflows/CI/badge.svg["Build Status", link="https://github.com/qutebrowser/qutebrowser/actions?query=workflow%3ACI"] +image:https://codecov.io/github/qutebrowser/qutebrowser/coverage.svg?branch=master["coverage badge",link="https://codecov.io/github/qutebrowser/qutebrowser?branch=master"] +link:https://www.qutebrowser.org[website] | link:https://blog.qutebrowser.org[blog] | https://github.com/qutebrowser/qutebrowser/blob/master/doc/faq.asciidoc[FAQ] | https://www.qutebrowser.org/doc/contributing.html[contributing] | link:https://github.com/qutebrowser/qutebrowser/releases[releases] | https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc[installing] +// QUTE_WEB_HIDE_END +qutebrowser is a keyboard-focused browser with a minimal GUI. It's based +on Python and PyQt5 and free software, licensed under the GPL. +It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl. +// QUTE_WEB_HIDE +**qutebrowser's primary maintainer, The-Compiler, is currently working +part-time on qutebrowser, funded by donations.** To sustain this for a long +time, your help is needed! See the +https://github.com/sponsors/The-Compiler/[GitHub Sponsors page] for more +information. Depending on your sign-up date and how long you keep a certain +level, you can get qutebrowser t-shirts, stickers and more! +// QUTE_WEB_HIDE_END + +%package -n python3-qutebrowser +Summary: A keyboard-driven, vim-like browser based on PyQt5. +Provides: python-qutebrowser +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qutebrowser +// QUTE_WEB_HIDE +image:icons/qutebrowser-64x64.png[qutebrowser logo] *A keyboard-driven, vim-like browser based on PyQt5 and Qt.* +image:https://github.com/qutebrowser/qutebrowser/workflows/CI/badge.svg["Build Status", link="https://github.com/qutebrowser/qutebrowser/actions?query=workflow%3ACI"] +image:https://codecov.io/github/qutebrowser/qutebrowser/coverage.svg?branch=master["coverage badge",link="https://codecov.io/github/qutebrowser/qutebrowser?branch=master"] +link:https://www.qutebrowser.org[website] | link:https://blog.qutebrowser.org[blog] | https://github.com/qutebrowser/qutebrowser/blob/master/doc/faq.asciidoc[FAQ] | https://www.qutebrowser.org/doc/contributing.html[contributing] | link:https://github.com/qutebrowser/qutebrowser/releases[releases] | https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc[installing] +// QUTE_WEB_HIDE_END +qutebrowser is a keyboard-focused browser with a minimal GUI. It's based +on Python and PyQt5 and free software, licensed under the GPL. +It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl. +// QUTE_WEB_HIDE +**qutebrowser's primary maintainer, The-Compiler, is currently working +part-time on qutebrowser, funded by donations.** To sustain this for a long +time, your help is needed! See the +https://github.com/sponsors/The-Compiler/[GitHub Sponsors page] for more +information. Depending on your sign-up date and how long you keep a certain +level, you can get qutebrowser t-shirts, stickers and more! +// QUTE_WEB_HIDE_END + +%package help +Summary: Development documents and examples for qutebrowser +Provides: python3-qutebrowser-doc +%description help +// QUTE_WEB_HIDE +image:icons/qutebrowser-64x64.png[qutebrowser logo] *A keyboard-driven, vim-like browser based on PyQt5 and Qt.* +image:https://github.com/qutebrowser/qutebrowser/workflows/CI/badge.svg["Build Status", link="https://github.com/qutebrowser/qutebrowser/actions?query=workflow%3ACI"] +image:https://codecov.io/github/qutebrowser/qutebrowser/coverage.svg?branch=master["coverage badge",link="https://codecov.io/github/qutebrowser/qutebrowser?branch=master"] +link:https://www.qutebrowser.org[website] | link:https://blog.qutebrowser.org[blog] | https://github.com/qutebrowser/qutebrowser/blob/master/doc/faq.asciidoc[FAQ] | https://www.qutebrowser.org/doc/contributing.html[contributing] | link:https://github.com/qutebrowser/qutebrowser/releases[releases] | https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc[installing] +// QUTE_WEB_HIDE_END +qutebrowser is a keyboard-focused browser with a minimal GUI. It's based +on Python and PyQt5 and free software, licensed under the GPL. +It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl. +// QUTE_WEB_HIDE +**qutebrowser's primary maintainer, The-Compiler, is currently working +part-time on qutebrowser, funded by donations.** To sustain this for a long +time, your help is needed! See the +https://github.com/sponsors/The-Compiler/[GitHub Sponsors page] for more +information. Depending on your sign-up date and how long you keep a certain +level, you can get qutebrowser t-shirts, stickers and more! +// QUTE_WEB_HIDE_END + +%prep +%autosetup -n qutebrowser-2.5.4 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-qutebrowser -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.4-1 +- Package Spec generated @@ -0,0 +1 @@ +121f4329ec6b36604da73f7563cea384 qutebrowser-2.5.4.tar.gz |
