]> git.pld-linux.org Git - packages/perl-IO-AIO.git/blame - perl-IO-AIO.spec
- avoid Canary::Stability interactivity
[packages/perl-IO-AIO.git] / perl-IO-AIO.spec
CommitLineData
6ed20972
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir IO
7%define pnam AIO
c47e144f 8Summary: IO::AIO - Perl Asynchronous Input/Output
0f732bf8 9Summary(pl.UTF-8): IO::AIO - asynchroniczne wejście/wyjście w Perlu
6ed20972 10Name: perl-IO-AIO
b9fd9f60
MM
11Version: 4.34
12Release: 1
6ed20972
MP
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
2f014c2e 15Source0: http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
b9fd9f60 16# Source0-md5: 6a3e89193e0747b3bbf9e66b7900a95b
f677bc24 17URL: http://search.cpan.org/dist/IO-AIO/
42847280 18BuildRequires: perl-devel >= 1:5.8.2
6ed20972 19BuildRequires: rpm-perlprov >= 4.1-13
42847280
JB
20%if %{with tests}
21BuildRequires: perl-common-sense
22%endif
6ed20972
MP
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module implements asynchronous I/O using whatever means your
27operating system supports.
28
ebaaf91a
JR
29%description -l pl.UTF-8
30Ten moduł implementuje asynchroniczne we/wy przy użyciu dowolnych
31metod obsługiwanych przez system operacyjny.
c47e144f 32
6ed20972
MP
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
dc658372 37PERL_CANARY_STABILITY_NOPROMPT=1 \
6ed20972
MP
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40
41%{__make} \
afc96a76 42 CC="%{__cc}" \
6ed20972
MP
43 OPTIMIZE="%{rpmcflags}"
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
6cd79623 59%attr(755,root,root) %{_bindir}/treescan
6ed20972
MP
60%{perl_vendorarch}/IO/AIO.pm
61%dir %{perl_vendorarch}/auto/IO/AIO
c47e144f 62%attr(755,root,root) %{perl_vendorarch}/auto/IO/AIO/AIO.so
42847280 63%{_mandir}/man3/IO::AIO.3pm*
This page took 0.105268 seconds and 4 git commands to generate.