# # spec file for package perl-RT-Extension-ResetPassword # # Copyright (c) 2025 SUSE LLC and contributors # # 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 cpan_name RT-Extension-ResetPassword Name: perl-RT-Extension-ResetPassword Version: 2.0.0 Release: 0 # 2.00 -> normalize -> 2.0.0 %define cpan_version 2.00 License: GPL-1.0-or-later Summary: Add "forgot your password?" link to RT instance URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{cpan_version}.tar.gz Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 Provides: perl(RT::Extension::ResetPassword) = %{version} Provides: perl(RT::User) %undefine __perllib_provides %{perl_requires} %description This extension for RT adds a new "Forgot your password?" link to the front of your RT instance. Any user can request that RT send them a password reset token by email. RT will send the user a one-time URL which he or she can use to reset her password. It also adds a new option to the user admin page in RT for the RT admin to send a password reset email for new users or users who have forgotten their passwords. See below for options to enable this admin feature only and disable self-service features. %prep %autosetup -n %{cpan_name}-%{cpan_version} -p1 %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %changelog