]> git.pld-linux.org Git - packages/perl-IO-Socket-Multicast.git/blame - perl-IO-Socket-Multicast.spec
rebuild with perl 5.34.0
[packages/perl-IO-Socket-Multicast.git] / perl-IO-Socket-Multicast.spec
CommitLineData
d035d384
MP
1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
f83430bf 4%bcond_without tests # do not perform "make test"
d035d384 5#
d035d384
MP
6%define pdir IO
7%define pnam Socket-Multicast
f83430bf 8Summary: IO::Socket::Multicast - send and receive multicast messages
88b47648 9Summary(pl.UTF-8): IO::Socket::Multicast - wysyłanie i odbieranie komunikatów multicastowych
d035d384 10Name: perl-IO-Socket-Multicast
c683fdb2 11Version: 1.12
91fcddc1 12Release: 13
d035d384 13# "same as perl"
f83430bf 14License: GPL v1+ or Artistic
d035d384
MP
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c683fdb2 17# Source0-md5: c96e6cbb367b1d11ffe7bb9fbd833540
f83430bf 18URL: http://search.cpan.org/dist/IO-Socket-Multicast/
d035d384
MP
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with autodeps} || %{with tests}
22BuildRequires: perl-IO-Interface >= 0.94
23%endif
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
d035d384 26%description
f83430bf
JB
27The IO::Socket::Multicast module subclasses IO::Socket::INET to enable
28you to manipulate multicast groups. With this module (and an operating
29system that supports multicasting), you will be able to receive
30incoming multicast transmissions and generate your own outgoing
31multicast packets.
32
154c2073
JR
33%description -l pl.UTF-8
34Moduł IO::Socket::Multicast jest podklasą IO::Socket::INET pozwalającą
35na manipulowanie grupami multicastowymi. Przy użyciu tego modułu (i
36systemu operacyjnego obsługującego multicasty) można odbierać
37przychodzącą transmisję multicastową i generować własne wychodzące
f83430bf 38pakiety multicastowe.
d035d384
MP
39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46
47%{__make} \
819170bf 48 CC="%{__cc}" \
d035d384
MP
49 OPTIMIZE="%{rpmcflags}"
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} pure_install \
57 DESTDIR=$RPM_BUILD_ROOT
f83430bf
JB
58install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
59install examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
d035d384
MP
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc Changes README
4f17f496 67%dir %{perl_vendorarch}/auto/IO/Socket
d035d384
MP
68%{perl_vendorarch}/IO/Socket/Multicast.pm
69%dir %{perl_vendorarch}/auto/IO/Socket/Multicast
d035d384 70%attr(755,root,root) %{perl_vendorarch}/auto/IO/Socket/Multicast/Multicast.so
f83430bf 71%{_examplesdir}/%{name}-%{version}
d035d384 72%{_mandir}/man3/*
This page took 0.093762 seconds and 4 git commands to generate.