File perl-Sys-Syscall.spec of Package perl-Sys-Syscall

#
# spec file for package perl-Sys-Syscall (Version 0.22)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define tarname       Sys-Syscall

Name:           perl-%{tarname} 
Version:        0.22
Release:        0
Requires:       perl = %{perl_version}
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
URL:            http://search.cpan.org/~msergeant/Danga-Socket-1.59/
Summary:        Access system calls that Perl doesn't normally provide access to
Source:         %{tarname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  perl(POSIX)
BuildRequires:  perl(Test::More)
Requires:  perl(POSIX)
Requires:  perl(Test::More)

%description
Use epoll, sendfile, from Perl. Mostly Linux-only support now, but more syscalls/OSes planned for future.


Authors:
--------
    Brad Fitzpatrick <brad@danga.com> 

%prep
%setup -q -n %{tarname}-%{version}

%build
perl Makefile.PL
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CHANGES
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Sys
%{perl_vendorarch}/auto/Sys
/var/adm/perl-modules/*

%changelog
* Sun Aug  3 2008 pzb@novell.com
- New package

openSUSE Build Service is sponsored by