# # spec file for package perl-POE-Component-Server-Syslog (Version 1.18) # # Copyright (c) 2009 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/ # # norootforbuild Name: perl-POE-Component-Server-Syslog %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Syslog services for POE Version: 1.18 Release: 0 License: BSD Group: Development/Libraries/Perl URL: http://search.cpan.org/dist/POE-Component-Server-Syslog Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(POE) >= 0.24 BuildRequires: perl(Params::Validate) BuildRequires: perl(Time::ParseDate) Requires: perl = %{perl_version} Requires: perl(IO::Socket::INET) Requires: perl(POE) >= 0.24 Requires: perl(Params::Validate) Requires: perl(Time::ParseDate) Provides: %{cpan_name} %description This component provides very simple syslog services for POE. Author: Matt Cashner %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf "%{buildroot}" %files -f %{name}.files %defattr(-,root,root) %doc Changes LICENSE README %changelog