120 lines
3.8 KiB
RPMSpec
120 lines
3.8 KiB
RPMSpec
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
Name: perl-Log-Dispatch
|
|
Version: 2.71
|
|
Release: 2mamba
|
|
Summary: Log::Dispatch - Dispatches messages to one or more outputs
|
|
Group: System/Libraries/Perl
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.cpan.org
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Log-Dispatch-%{version}.tar.gz
|
|
License: GPL, Artistic
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl-Devel-GlobalDestruction
|
|
BuildRequires: perl-Encode
|
|
BuildRequires: perl-MIME-Lite
|
|
BuildRequires: perl-Mail-Sender
|
|
BuildRequires: perl-Mail-Sendmail
|
|
BuildRequires: perl-Mail-Tools
|
|
BuildRequires: perl-Module-Runtime
|
|
BuildRequires: perl-Params-ValidationCompiler
|
|
BuildRequires: perl-Scalar-List-Utils
|
|
BuildRequires: perl-Specio
|
|
BuildRequires: perl-Try-Tiny
|
|
BuildRequires: perl-devel
|
|
BuildRequires: perl-namespace-autoclean
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: perl >= 2:5.36.0
|
|
BuildRequires: perl-Params-ValidationCompiler
|
|
BuildRequires: perl-Specio
|
|
BuildRequires: perl-namespace-autoclean
|
|
BuildRequires: perl-devel
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
%description
|
|
Log::Dispatch - Dispatches messages to one or more outputs.
|
|
|
|
%prep
|
|
%setup -q -n Log-Dispatch-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%make
|
|
%make test
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall_perl
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
|
sort -u > .packlist && rm -f $packlist
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
done
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f .packlist
|
|
%defattr(-,root,root)
|
|
%doc LICENSE
|
|
## note: eventually add the remaining documents (if any)
|
|
# %doc README
|
|
|
|
%changelog
|
|
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 2.71-2mamba
|
|
- rebuilt with perl 5.36.0
|
|
|
|
* Thu Apr 06 2023 Automatic Build System <autodist@mambasoft.it> 2.71-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.70-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 29 2020 Automatic Build System <autodist@mambasoft.it> 2.69-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Feb 10 2016 Automatic Build System <autodist@mambasoft.it> 2.54-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Aug 27 2015 Automatic Build System <autodist@mambasoft.it> 2.49-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 2.44-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 2.43-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Sep 03 2014 Automatic Build System <autodist@mambasoft.it> 2.42-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Aug 15 2013 Automatic Build System <autodist@mambasoft.it> 2.41-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 09 2013 Automatic Build System <autodist@mambasoft.it> 2.40-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 2.39-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 14 2013 Automatic Build System <autodist@mambasoft.it> 2.36-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 23 2013 Automatic Build System <autodist@mambasoft.it> 2.35-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 08 2013 Automatic Build System <autodist@mambasoft.it> 2.34-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32-1mamba
|
|
- package created by autospec
|