# # spec file for package perl-RT-Extension-CommandByMail # # 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-CommandByMail %define git_name bestpractical-rt-extension-commandbymail-01022ee %define plug_dir /usr/share/request-tracker/local/plugins Name: perl-RT-Extension-CommandByMail Version: 1.00 Release: 0 Summary: RT::Extension::CommandByMail Perl module License: GPL-2.0-or-later Group: Development/Libraries/Perl URL: https://github.com/bestpractical/rt-extension-commandbymail Source: http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz Source100: README.md BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: request-tracker BuildRequires: perl(IPC::Open2) BuildRequires: perl(MIME::Entity) BuildRequires: perl(Test::More) BuildRequires: perl(UNIVERSAL::require) Requires: request-tracker Requires: perl(IPC::Open2) Requires: perl(MIME::Entity) Requires: perl(Test::More) Requires: perl(UNIVERSAL::require) %{perl_requires} %description RT::Extension::CommandByMail Perl module %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %{__rm} -rf %{buildroot} %perl_make_install %perl_process_packlist %perl_gen_filelist # remove special files find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {} %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog