]> git.pld-linux.org Git - packages/perl-IO-AIO.git/blame_incremental - perl-IO-AIO.spec
perl 5.38.0 rebuild
[packages/perl-IO-AIO.git] / perl-IO-AIO.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with tests # unit tests
4#
5%define pdir IO
6%define pnam AIO
7Summary: IO::AIO - Perl Asynchronous Input/Output
8Summary(pl.UTF-8): IO::AIO - asynchroniczne wejście/wyjście w Perlu
9Name: perl-IO-AIO
10Version: 4.79
11Release: 2
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: https://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: 851fac98cf21ed9c3d69a2ddc395bde6
16Patch0: %{pdir}-%{pnam}-path.patch
17Patch1: %{pdir}-%{pnam}-glibc.patch
18URL: https://metacpan.org/dist/IO-AIO
19BuildRequires: perl-Canary-Stability >= 2001
20BuildRequires: perl-ExtUtils-MakeMaker >= 6.52
21BuildRequires: perl-devel >= 1:5.8.2
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRequires: rpmbuild(macros) >= 1.745
24%if %{with tests}
25BuildRequires: perl-common-sense
26%endif
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This module implements asynchronous I/O using whatever means your
31operating system supports.
32
33%description -l pl.UTF-8
34Ten moduł implementuje asynchroniczne we/wy przy użyciu dowolnych
35metod obsługiwanych przez system operacyjny.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39%patch0 -p1
40%patch1 -p1
41
42%build
43PERL_CANARY_STABILITY_NOPROMPT=1 \
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46
47%{__make} \
48 CC="%{__cc}" \
49 OPTIMIZE="%{rpmcflags}"
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc Changes README
65%attr(755,root,root) %{_bindir}/treescan
66%{perl_vendorarch}/IO/AIO.pm
67%dir %{perl_vendorarch}/auto/IO/AIO
68%attr(755,root,root) %{perl_vendorarch}/auto/IO/AIO/AIO.so
69%{_mandir}/man3/IO::AIO.3pm*
70%{_mandir}/man1/treescan.1p*
This page took 0.103721 seconds and 5 git commands to generate.