]> git.pld-linux.org Git - packages/perl-IO-Interface.git/blame - perl-IO-Interface.spec
- tabs in preamble
[packages/perl-IO-Interface.git] / perl-IO-Interface.spec
CommitLineData
814503cd
MP
1#
2# Conditional build:
814503cd
MP
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir IO
7%define pnam Interface
7197ec95 8Summary: IO::Interface - Perl extension to access interface information
e61cd9ad 9Summary(pl.UTF-8): IO::Interface - rozszerzenie Perla do dostępu do informacji o interfejsach
814503cd 10Name: perl-IO-Interface
3ab5d31c 11Version: 1.02
12Release: 1
814503cd
MP
13License: GPL v2/Artistic (same as perl)
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3ab5d31c 16# Source0-md5: ff96f98f52b68ece88a8e40e292071d2
7197ec95 17URL: http://search.cpan.org/dist/IO-Interface/
814503cd
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
814503cd
MP
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
814503cd
MP
22%description
23IO::Interface adds methods to IO::Socket objects that allows them to
24be used to retrieve and change information about the network
25interfaces on your system. In addition to the object-oriented access
26methods, you can use a function-oriented style.
27
87f43145
JR
28%description -l pl.UTF-8
29IO::Interface dodaje do obiektów IO::Socket metody pozwalające na
30używanie ich do pobierania i zmiany informacji o interfejsach
31sieciowych w systemie. Oprócz metod zorientowanych obiektowo można
32używać także wywołań zorientowanych na funkce.
7197ec95 33
814503cd
MP
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40
41%{__make} \
42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README
58%{perl_vendorarch}/IO/Interface.pm
3ab5d31c 59%dir %{perl_vendorarch}/IO/Interface
60%{perl_vendorarch}/IO/Interface/Simple.pm
814503cd 61%dir %{perl_vendorarch}/auto/IO/Interface
7197ec95
JB
62%attr(755,root,root) %{perl_vendorarch}/auto/IO/Interface/*.so
63%{perl_vendorarch}/auto/IO/Interface/*.bs
3ab5d31c 64%{perl_vendorarch}/auto/IO/Interface/autosplit.ix
814503cd 65%{_mandir}/man3/*
This page took 0.083191 seconds and 4 git commands to generate.