2024-01-06 09:16:17 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Log-Dispatch
|
2024-01-06 09:16:17 +01:00
|
|
|
Version: 2.69
|
2024-01-06 09:16:17 +01:00
|
|
|
Release: 1mamba
|
|
|
|
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: http://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: perl-Class-Load
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-Mail-Sender
|
|
|
|
BuildRequires: perl-Mail-Sendmail
|
|
|
|
BuildRequires: perl-Mail-Tools
|
|
|
|
BuildRequires: perl-MIME-Lite
|
|
|
|
BuildRequires: perl-Params-Validate
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:16:17 +01:00
|
|
|
BuildRequires: perl-Params-ValidationCompiler
|
|
|
|
BuildRequires: perl-Specio
|
|
|
|
BuildRequires: perl-namespace-autoclean
|
2024-01-06 09:16:17 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
2024-01-06 09:16:17 +01:00
|
|
|
* Wed Apr 29 2020 Automatic Build System <autodist@mambasoft.it> 2.69-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:16:17 +01:00
|
|
|
* Wed Feb 10 2016 Automatic Build System <autodist@mambasoft.it> 2.54-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:16:17 +01:00
|
|
|
* Thu Aug 27 2015 Automatic Build System <autodist@mambasoft.it> 2.49-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:16:17 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 09:16:17 +01:00
|
|
|
* Wed Sep 03 2014 Automatic Build System <autodist@mambasoft.it> 2.42-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:16:17 +01:00
|
|
|
* 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
|