3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: IO::Interface - Perl extension to access interface information
9 Summary(pl): IO::Interface - rozszerzenie Perla do dostêpu do informacji o interfejsach
10 Name: perl-IO-Interface
13 License: GPL v2/Artistic (same as perl)
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 91d5029a32302aa02414c9c8e3353cec
17 URL: http://search.cpan.org/dist/IO-Interface/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 IO::Interface adds methods to IO::Socket objects that allows them to
24 be used to retrieve and change information about the network
25 interfaces on your system. In addition to the object-oriented access
26 methods, you can use a function-oriented style.
29 IO::Interface dodaje do obiektów IO::Socket metody pozwalaj±ce na
30 u¿ywanie ich do pobierania i zmiany informacji o interfejsach
31 sieciowych w systemie. Oprócz metod zorientowanych obiektowo mo¿na
32 u¿ywaæ tak¿e wywo³añ zorientowanych na funkce.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 OPTIMIZE="%{rpmcflags}"
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorarch}/IO/Interface.pm
59 %dir %{perl_vendorarch}/auto/IO/Interface
60 %attr(755,root,root) %{perl_vendorarch}/auto/IO/Interface/*.so
61 %{perl_vendorarch}/auto/IO/Interface/*.bs