]> git.pld-linux.org Git - packages/perl-Sys-Syscall.git/blame - perl-Sys-Syscall.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Sys-Syscall.git] / perl-Sys-Syscall.spec
CommitLineData
1e2115d0 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
1e2115d0 5%define pdir Sys
6%define pnam Syscall
7Summary: Sys::Syscall - access system calls that Perl doesn't normally provide access to
5bc5d055 8Summary(pl.UTF-8): Sys::Syscall - dostęp do wywołań systemowych, do których sam Perl nie daje dostępu
1e2115d0 9Name: perl-Sys-Syscall
087b89bb 10Version: 0.25
1e2115d0 11Release: 1
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/Sys/%{pdir}-%{pnam}-%{version}.tar.gz
087b89bb 15# Source0-md5: 720a9ec5f67f867814a9011b2a725763
1e2115d0 16URL: http://search.cpan.org/dist/Sys-Syscall/
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
5bc5d055 23Use epoll, sendfile, from Perl. Mostly Linux-only support now, but
1e2115d0 24more syscalls/OSes planned for future.
25
5bc5d055
JB
26%description -l pl.UTF-8
27Ten moduł pozwala używać wywołania takie jak epoll czy sendfile z
28poziomu Perla. Jak na razie obsługiwane są w większości wywołania
29tylko linuksowe, ale w przyszłości planowana jest obsługa większej
30liczby wywołań i systemów operacyjnych.
1e2115d0 31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38%{__make}
39
40%{?with_tests:%{__make} test}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} pure_install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc CHANGES
54%{perl_vendorlib}/Sys/*.pm
55%{_mandir}/man3/*
This page took 0.125737 seconds and 4 git commands to generate.