Files
perl-POE-Component-Server-S…/perl-POE-Component-Server-Syslog.spec
Christian Wittmer f36027e43b Accepting request 26321 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-POE-Component-Server-Syslog via accept of submit request 26321 revision 2.
Request was accepted with message:
ok

OBS-URL: https://build.opensuse.org/request/show/26321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-POE-Component-Server-Syslog?expand=0&rev=1
2009-12-12 19:43:25 +00:00

76 lines
2.1 KiB
RPMSpec

#
# 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 <sungo@cpan.org>
%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