OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RT-Extension-MergeUsers?expand=0&rev=2
77 lines
2.6 KiB
RPMSpec
77 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package perl-RT-Extension-MergeUsers
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-RT-Extension-MergeUsers
|
|
Version: 0.06
|
|
Release: 0
|
|
%define cpan_name RT-Extension-MergeUsers
|
|
Summary: Merges two users into the same effective user
|
|
License: GPL-2.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/RT-Extension-MergeUsers/
|
|
#Source: http://www.cpan.org/authors/id/T/TS/TSIBLEY/RT-Extension-MergeUsers-%%{version}.tar.gz
|
|
Source0: %{cpan_name}-%{version}.tar.gz
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Hook::LexWrap)
|
|
BuildRequires: perl(RT)
|
|
Requires: perl(Hook::LexWrap)
|
|
Requires: perl(RT)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This RT extension adds a "Merge Users" box to the User Administration page,
|
|
which allows you to merge the user you are currently viewing with another
|
|
user on your RT instance.
|
|
|
|
It also adds the /MergeInto manpage and the /UnMerge manpage functions to
|
|
the the RT::User manpage class, which allow you to programmatically
|
|
accomplish the same thing from your code.
|
|
|
|
It also provides a version of the CanonicalizeEmailAddress manpage, which
|
|
means that all e-mail sent from secondary users is displayed as coming from
|
|
the primary user.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
cp -r html %{buildroot}/%{_datadir}/request-tracker/local/
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{_datadir}/request-tracker/local/plugins/RT-Extension-MergeUsers
|
|
%dir %{_datadir}/request-tracker/local/plugins/RT-Extension-MergeUsers/lib
|
|
%{_datadir}/request-tracker/local/plugins/RT-Extension-MergeUsers/lib/perllocal.pod
|
|
%{_datadir}/request-tracker/local/html/*
|
|
|
|
%changelog
|