Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools:scm
trac-plugin-spamfilter
trac-plugin-spamfilter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File trac-plugin-spamfilter.spec of Package trac-plugin-spamfilter
# # spec file for package trac-plugin-spamfilter # # 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/ # Name: trac-plugin-spamfilter %define revision 17773 Version: 1.5.2_r%{revision} Release: 0 URL: https://trac.edgewall.org/wiki/SpamFilter Source: spamfilter-r%{revision}.tar.bz2 BuildArch: noarch BuildRequires: python3-babel >= 0.9.5 BuildRequires: python3-devel BuildRequires: python3-setuptools >= 0.6c8 Requires: python3-setuptools # We don't have a python3 spambayes yet, the plugin has an internal copy, but if available it should be installed Recommends: python3-spambayes Requires: trac >= 1.6 Requires: python3-filelock Recommends: python3-dnspython Recommends: python3-httplib2 Recommends: python3-imaging Recommends: python3-oauth2 Summary: A plugin for Trac to reject SPAM submissions License: BSD-3-Clause Group: Development/Tools/Other %description A plugin that allows different ways to reject contributions that contain spam. The plugin can use the following techniques: * Regular expressions * Akismet, TypPad, BlogSpam and Defensio web services * IP throttling * IP blacklisting (requires python-dnspython package) * HTTP:BL Honeypot blacklisting (requires python-dnspython package) * Bayesian filtering * Text, image and reCAPTCHA captchas for human users (image captcha requires python-imaging package) %prep %setup -qn spamfilter %build # strip the develop-info from build revision #sed "1,4d" setup.cfg >setup.cfg_ && mv setup.cfg_ setup.cfg CFLAGS="%{optflags}" python3 setup.py build CFLAGS="%{optflags}" python3 setup.py compile_catalog %install python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} %find_lang tracspamfilter %files -f tracspamfilter.lang %{python3_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor