File perl-RT-Extension-ActivityReports.spec of Package perl-RT-Extension-ActivityReports
#
# spec file for package perl-RT-Extension-ActivityReports
#
# Copyright (c) 2025 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 cpan_name RT-Extension-ActivityReports
Name: perl-RT-Extension-ActivityReports
Version: 2.0.0
Release: 0
# 2.00 -> normalize -> 2.0.0
%define cpan_version 2.00
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: RT-Extension-ActivityReports Extension
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
BuildRequires: perl(Time::Duration)
Requires: perl(Time::Duration)
Provides: perl(RT::Extension::ActivityReports) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
The ActivityReports extension lets you see:
* * Activity Detail
A table of ticket status per queue, and totals.
* * Activity Summary
A one-line summary of all updates made.
* * Resolution Comments
Summary of when tickets were resolved, duration between creation and
(latest) resolution.
* * Resolution Statistics
For each queue, average duration between creation and (latest) resolution
over the last 30, 60, 90 days, and all time.
* * Time Worked Statistics
For each user, a table of every queue and how long that user has worked on
tickets that have been resolved in a particular timeframe. For example, you
can see how much time Joe has spent on Basic Support (queue) tickets that
have been resolved the day after they were created.
All of these reports can be filtered by actor, arbitrary search query,
and/or between two dates, so it's quite flexible.
%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