1 Commits

Author SHA256 Message Date
c71a1e5d8e Automatic update to v2.0.0 (2.00) 2025-10-14 12:23:24 +00:00
4 changed files with 65 additions and 39 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4f1c4c0cd047a028844180f558df5cb1e952d244abe3d82939353fc58743daf
size 44061

BIN
RT-Extension-ActivityReports-2.00.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Oct 14 12:23:23 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 2.0.0 (2.00)
see /usr/share/doc/packages/perl-RT-Extension-ActivityReports/Changes
Revision history for RT-Extension-ActivityReports
2.00 2025-06-17
- Update for RT 6.0
1.09 2021-12-03
- Works with RT 5, but styling has not been updated to Bootstrap yet
-------------------------------------------------------------------
Thu Sep 26 09:53:08 UTC 2019 - lars@linux-schulserver.de - 1.08

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-RT-Extension-ActivityReports
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,62 +16,74 @@
#
%define cpan_name RT-Extension-ActivityReports
%define plug_dir %{_datadir}/request-tracker/local/plugins
%define cpan_name RT-Extension-ActivityReports
Name: perl-RT-Extension-ActivityReports
Version: 1.08
Version: 2.0.0
Release: 0
Summary: RT Extension-ActivityReports Extension
License: GPL-2.0-or-later
Group: Development/Libraries/Perl
URL: https://search.cpan.org/dist/RT-Extension-ActivityReports/
Source: %{cpan_name}-%{version}.tar.gz
# 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
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(RT)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
BuildRequires: perl(Time::Duration)
BuildRequires: perl(inc::Module::Install)
Requires: request-tracker
Requires: perl(Time::Duration)
BuildArch: noarch
Provides: perl(RT::Extension::ActivityReports) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
RT Extension-ActivityReports Extension: Additional reports to show Activity in
Request Tracker.
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
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make %{?_smp_mflags} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
install -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}
install -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}/html
cp -a html/* %{buildroot}/%{plug_dir}/%{cpan_name}/html/
# remove special files
find %{buildroot} -name "perllocal.pod" | xargs -i rm -f {}
find %{buildroot} -name ".packlist" -delete
%files
%defattr(-,root,root,755)
%files -f %{name}.files
%doc Changes README
%dir %{_datadir}/request-tracker/plugins
%dir %{_datadir}/request-tracker/plugins/%{cpan_name}
%dir %{plug_dir}/%{cpan_name}
%{plug_dir}/%{cpan_name}/html
%{_mandir}/man3/*
%{_datadir}/request-tracker/plugins/%{cpan_name}/*
%changelog