Accepting request 456646 from home:WernerFink
New package urlscan which is a smart replacment for urlview OBS-URL: https://build.opensuse.org/request/show/456646 OBS-URL: https://build.opensuse.org/package/show/utilities/urlscan?expand=0&rev=1
This commit is contained in:
commit
8f16fc9d24
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
6
muttrc
Normal file
6
muttrc
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# Integrate this into your ~/.muttrc
|
||||
# to use urlscan instead of urlview
|
||||
#
|
||||
macro index,pager \cb |urlscan\n
|
||||
macro attach,compose \cb |urlscan\n
|
3
urlscan-0.8.3.tar.gz
Normal file
3
urlscan-0.8.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e6bffcb762fc0406f5932a7a27b5d624e6f1b0bd2c6b785573b911b86c73486
|
||||
size 22532
|
5
urlscan.changes
Normal file
5
urlscan.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 08:12:10 UTC 2017 - werner@suse.de
|
||||
|
||||
- Inital package urlscan 0.8.3 which is an replacment for urlview
|
||||
|
60
urlscan.spec
Normal file
60
urlscan.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package urlscan
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: urlscan
|
||||
Version: 0.8.3
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: An other URL extractor/viewer
|
||||
Url: https://github.com/firecat53/urlscan
|
||||
Group: Productivity/Networking/Web/Browsers
|
||||
Source0: https://github.com/firecat53/urlscan/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: muttrc
|
||||
Requires: python-urwid
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
|
||||
%description
|
||||
The urlscan utility displays URLs found in an email message with
|
||||
the respective context. Selecting an URL uses the Python webbrowser
|
||||
module to determine which browser to open. It also supports
|
||||
quoted-printable and base64 encoding.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
rm -rf %{buildroot}/usr/share/doc/%{name}*
|
||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||
install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.rst COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{python_sitelib}/*
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user