File perl-Socket-MsgHdr.spec of Package perl-Socket-MsgHdr

#
# spec file for package perl-Socket-MsgHdr (Version 0.01)
#
# Copyright (c) 2006 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

Name:           perl-Socket-MsgHdr
Url:            http://search.cpan.org/
License:        Artistic License
Group:          Development/Libraries/Perl
#Requires:     
Requires:       perl = %{perl_version}
Autoreqprov:    on
Summary:        Perl interface for the sendmsg/recvmsg functions
Version:        0.01
Release:        1
Source:         Socket-MsgHdr-%{version}.tar.gz
Patch:          perl-Socket-MsgHdr.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Socket::MsgHdr provides advanced socket messaging operations via
sendmsg and recvmsg.



Authors:
--------
    Michael J. Pomraning

%prep
%setup -n Socket-MsgHdr-%{version}
%patch

%build
perl Makefile.PL
make
make test

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README MANIFEST
%doc %{_mandir}/man3/*
%{perl_vendorarch}/Socket
%{perl_vendorarch}/auto/Socket
/var/adm/perl-modules/%{name}

%changelog -n perl-Socket-MsgHdr
* Wed May 31 2006 - mls@suse.de
- initial revision
openSUSE Build Service is sponsored by