2008-03-26 15:29:23 +00:00
|
|
|
#
|
2010-01-14 20:49:13 +00:00
|
|
|
# spec file for package perl-IO-Socket-Multicast (Version 1.11)
|
2008-03-26 15:29:23 +00:00
|
|
|
#
|
2010-01-12 12:48:50 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-03-26 15:29:23 +00:00
|
|
|
#
|
2009-06-18 15:07:14 +00:00
|
|
|
# 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.
|
|
|
|
|
2008-03-26 15:29:23 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-IO-Socket-Multicast
|
2010-01-14 20:49:13 +00:00
|
|
|
Version: 1.11
|
|
|
|
Release: 1
|
2008-03-26 15:29:23 +00:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2010-01-12 12:48:50 +00:00
|
|
|
License: Artistic ; GPLv2+
|
2008-03-26 15:29:23 +00:00
|
|
|
Url: http://search.cpan.org/~lds/IO-Socket-Multicast-1.05/Multicast.pm
|
|
|
|
Summary: A Perl Module IO::Socket::Multicast - Send and receive multicast messages.
|
|
|
|
Source: IO-Socket-Multicast-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The IO::Socket::Multicast module subclasses IO::Socket::INET to enable
|
|
|
|
you to manipulate multicast groups. With this module (and an operating
|
|
|
|
system that supports multicasting), you will be able to receive
|
|
|
|
incoming multicast transmissions and generate your own outgoing
|
|
|
|
multicast packets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Lincoln Stein <lstein@cshl.org>
|
|
|
|
|
|
|
|
%prep
|
2010-01-14 20:49:13 +00:00
|
|
|
%setup -n IO-Socket-Multicast-%{version} -q
|
2008-03-26 15:29:23 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
|
2010-01-12 12:48:50 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-01-14 20:49:13 +00:00
|
|
|
|
|
|
|
%check
|
2008-03-26 15:29:23 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%{perl_vendorarch}/IO/Socket/Multicast.pm
|
|
|
|
%{perl_vendorarch}/IO
|
|
|
|
%{perl_vendorarch}/IO/Socket
|
|
|
|
%{perl_vendorarch}/auto/IO/
|
|
|
|
%{perl_vendorarch}/auto/IO/Socket
|
|
|
|
%{perl_vendorarch}/auto/IO/Socket/Multicast
|
|
|
|
#%{perl_vendorlib}/IO/
|
|
|
|
#$RPM_BUILD_ROOT/IO/Socket/Multicast
|
|
|
|
|
|
|
|
%changelog
|