]> git.pld-linux.org Git - packages/perl-Linux-Pid.git/blame - perl-Linux-Pid.spec
- release 5: it's not noarch
[packages/perl-Linux-Pid.git] / perl-Linux-Pid.spec
CommitLineData
c612a81f 1#
2# Conditional build:
e9711444 3%bcond_without tests # do not perform "make test"
c612a81f 4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Linux
7%define pnam Pid
0fe02e5a 8Summary: Linux::Pid - get the native PID and the PPID on Linux
b02ab3b7 9Summary(pl): Linux::Pid - uzyskiwanie natywnych PID i PPID pod Linuksem
c612a81f 10Name: perl-Linux-Pid
11Version: 0.02
319bd7d7 12Release: 5
5912eb11 13# same as perl
14License: GPL v1+ or Artistic
c612a81f 15Group: Development/Languages/Perl
0af27d6c 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
7bf8d4a4 17# Source0-md5: af1d6dee6ee94cc8c1847172501b468e
16642edb 18BuildRequires: perl-devel >= 1:5.8.0
e9711444 19%if %{with tests}
c612a81f 20BuildRequires: perl-Inline-C
21%endif
0a9125db 22BuildRequires: rpm-perlprov >= 4.1-13
c612a81f 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
b02ab3b7
JB
26Linux::Pid gets the native PID and the PPID on Linux. It's useful with
27multithreaded programs. Linux's C library returns different values of
28the PID and the PPID from different threads. This module forces Perl
29to call the underlying C functions getpid() and getppid().
30
31%description -l pl
32Linux::Pid odczytuje natywne PID i PPID pod Linuksem. Jest przydatny w
33