2008-03-26 15:29:23 +00:00
|
|
|
#
|
2010-07-19 18:53:36 +00:00
|
|
|
# spec file for package perl-IO-Socket-Multicast (Version 1.12)
|
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-04-06 20:54:23 +00:00
|
|
|
%define cpan_name IO-Socket-Multicast
|
|
|
|
Summary: Send and receive multicast messages
|
2010-07-19 18:53:36 +00:00
|
|
|
Version: 1.12
|
2011-11-11 11:19:03 +00:00
|
|
|
Release: 2
|
2010-01-12 12:48:50 +00:00
|
|
|
License: Artistic ; GPLv2+
|
2010-04-06 20:54:23 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/IO-Socket-Multicast
|
|
|
|
Source0: %{cpan_name}-%{version}.tar.bz2
|
2008-03-26 15:29:23 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:38:47 +00:00
|
|
|
%{perl_requires}
|
2010-04-06 20:54:23 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(IO::Interface) >= 0.94
|
|
|
|
Requires: perl(IO::Interface) >= 0.94
|
2008-03-26 15:29:23 +00:00
|
|
|
|
|
|
|
%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-04-06 20:54:23 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2008-03-26 15:29:23 +00:00
|
|
|
|
|
|
|
%build
|
2010-04-06 20:54:23 +00:00
|
|
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
%{__make} %{?_smp_mflags}
|
2010-01-14 20:49:13 +00:00
|
|
|
|
|
|
|
%check
|
2010-04-06 20:54:23 +00:00
|
|
|
%{__make} test
|
2008-03-26 15:29:23 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2010-04-06 20:54:23 +00:00
|
|
|
%perl_gen_filelist
|
2008-03-26 15:29:23 +00:00
|
|
|
|
|
|
|
%clean
|
2010-04-06 20:54:23 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2008-03-26 15:29:23 +00:00
|
|
|
|
2010-04-06 20:54:23 +00:00
|
|
|
%files -f %{name}.files
|
2008-03-26 15:29:23 +00:00
|
|
|
%defattr(-,root,root)
|
2010-04-06 20:54:23 +00:00
|
|
|
%doc Changes README
|
2008-03-26 15:29:23 +00:00
|
|
|
|
|
|
|
%changelog
|