File trac-plugin-accountmanager.spec of Package trac-plugin-accountmanager
#
# spec file for package trac-plugin-accountmanager
#
# Copyright (c) 2023 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/
#
%define revision 18558
Name: trac-plugin-accountmanager
Version: 0.6_r%{revision}
Release: 0
URL: http://trac-hacks.org/wiki/AccountManagerPlugin
Source: accountmanager-r%{revision}.tar.bz2
BuildArch: noarch
BuildRequires: python3-babel >= 0.9.5
BuildRequires: python3-devel
BuildRequires: python3-setuptools >= 0.6c8
Requires: python3-setuptools
Requires: trac
Summary: A plugin for Trac to manage user accounts
License: BSD-3-Clause
Group: Development/Tools/Other
%description
The AccountManagerPlugin offers several features for managing user accounts:
* allow users to register new accounts
* login via an HTML form instead of using HTTP authentication
* allow existing users to change their passwords or delete their accounts
* send a new password to users who’ve forgotten their password
* administration of user accounts
%prep
%setup -qn accountmanager
%build
CFLAGS="%{optflags}" python3 setup.py build
CFLAGS="%{optflags}" python3 setup.py compile_catalog
%install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
%find_lang acct_mgr
%files -f acct_mgr.lang
%{python3_sitelib}/*
%changelog