]> git.pld-linux.org Git - packages/perl-IO-Socket-Multicast.git/blame - perl-IO-Socket-Multicast.spec
- up to 1.05
[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
MP
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir IO
8%define pnam Socket-Multicast
f83430bf 9Summary: IO::Socket::Multicast - send and receive multicast messages
88b47648 10Summary(pl.UTF-8): IO::Socket::Multicast - wysyłanie i odbieranie komunikatów multicastowych
d035d384 11Name: perl-IO-Socket-Multicast
85782b2c 12Version: 1.05
d035d384
MP
13Release: 0.1
14# "same as perl"
f83430bf 15License: GPL v1+ or Artistic
d035d384
MP
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
85782b2c 18# Source0-md5: 40023f8c3f8d32f9ace111ae451dbee4
f83430bf 19URL: http://search.cpan.org/dist/IO-Socket-Multicast/
d035d384
MP
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22%if %{with autodeps} || %{with tests}
23BuildRequires: perl-IO-Interface >= 0.94
24%endif
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
d035d384 27%description
f83430bf
JB
28The IO::Socket::Multicast module subclasses IO::Socket::INET to enable
29you to manipulate multicast groups. With this module (and an operating
30system that supports multicasting), you will be able to receive
31incoming multicast transmissions and generate your own outgoing
32multicast packets.
33
154c2073
JR
34%description -l pl.UTF-8
35Moduł IO::Socket::Multicast jest podklasą IO::Socket::INET pozwalającą
36na manipulowanie grupami multicastowymi. Przy użyciu tego modułu (i
37systemu operacyjnego obsługującego multicasty) można odbierać
38przychodzącą transmisję multicastową i generować własne wychodzące
f83430bf 39pakiety multicastowe.
d035d384
MP
40
41%prep
42%setup -q -n %{pdir}-%{pnam}-%{version}
43
44%build
45%{__perl} Makefile.PL \
46 INSTALLDIRS=vendor
47
48%{__make} \
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
67%{perl_vendorarch}/IO/Socket/Multicast.pm
68%dir %{perl_vendorarch}/auto/IO/Socket/Multicast
69%{perl_vendorarch}/auto/IO/Socket/Multicast/Multicast.bs
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.035873 seconds and 4 git commands to generate.