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