forked from pool/python-fangfrisch
Accepting request 972621 from home:msmeissn
add for factory usage OBS-URL: https://build.opensuse.org/request/show/972621 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fangfrisch?expand=0&rev=1
This commit is contained in:
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
|
||||
3
1.5.0.tar.gz
Normal file
3
1.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8199fd056ce3434fc10b5c89d946cacbdbbbbbd4f1974203132c8e4f022d8867
|
||||
size 115352
|
||||
4
python-fangfrisch.changes
Normal file
4
python-fangfrisch.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 13:23:59 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- fangfrisch - fetch third party clamav signatures
|
||||
76
python-fangfrisch.spec
Normal file
76
python-fangfrisch.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package python-colorama
|
||||
#
|
||||
# Copyright (c) 2022 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-fangfrisch
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: Update and verify unofficial Clam Anti-Virus signatures
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/rseichter/fangfrisch
|
||||
Source: https://github.com/rseichter/fangfrisch/archive/refs/tags/%{version}.tar.gz
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Fangfrisch (German for "freshly caught") is a sibling of the Clam
|
||||
Anti-Virus freshclam utility. It allows downloading virus definition
|
||||
files that are not official ClamAV canon, e.g. from Sanesecurity and
|
||||
URLhaus. Fangfrisch was designed with security in mind, to be run by an
|
||||
unprivileged user only.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n fangfrisch-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/fangfrisch
|
||||
|
||||
|
||||
%post
|
||||
%python_install_alternative fangfrisch
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative fangfrisch
|
||||
|
||||
#check
|
||||
# make check wants to do network... cant do this in OBS
|
||||
#python_expand script -eqc "pytest-%{$python_version} -vv -s" /dev/null
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%_bindir/fangfrisch
|
||||
%dir %{python_sitelib}/fangfrisch
|
||||
%{python_sitelib}/fangfrisch/*
|
||||
%{python_sitelib}/fangfrisch-%{version}-py*.egg-info
|
||||
%python_alternative %{_bindir}/fangfrisch
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user