8
0
Files
perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.spec

78 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-IO-Socket-Multicast (Version 1.11)
#
# 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-IO-Socket-Multicast
Version: 1.11
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic ; GPLv2+
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
%setup -n IO-Socket-Multicast-%{version} -q
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%check
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