File perl-Event.spec of Package perl-Event

#
# spec file for package perl-Event (Version 1.13)
#
# Copyright (c) 2010 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-Event
Summary:        Event Loop Processing
Version:        1.13
Release:        4
License:        Artistic
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Event
Source0:        http://www.cpan.org/authors/id/JPRIT/Event-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
Patch:          Event-1.0-warning.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

%description
Event - A Generic Perl Event Loop

This extension aims to provide an simple and optimized event loop for a
broad class of applications.

Available via http://www.perl.com/CPAN/authors/id/JPRIT/



Authors:
--------
    Joshua Nathaniel Pritikin <jpritikin@pobox.com>

%prep
%setup -n Event-%{version}
%patch

%build
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?_smp_mflags}

%ifnarch ppc64 s390x

%check
%{__make} test
%endif

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files -f %{name}.files
%defattr(-,root,root)
%doc ANNOUNCE ChangeLog README* TODO Tutorial.pdf demo

%changelog
openSUSE Build Service is sponsored by