]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: Linux::Pid - get the native PID and the PPID on Linux |
b02ab3b7 | 9 | Summary(pl): Linux::Pid - uzyskiwanie natywnych PID i PPID pod Linuksem |
c612a81f | 10 | Name: perl-Linux-Pid |
11 | Version: 0.02 | |
319bd7d7 | 12 | Release: 5 |
5912eb11 | 13 | # same as perl |
14 | License: GPL v1+ or Artistic | |
c612a81f | 15 | Group: Development/Languages/Perl |
0af27d6c | 16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
7bf8d4a4 | 17 | # Source0-md5: af1d6dee6ee94cc8c1847172501b468e |
16642edb | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
e9711444 | 19 | %if %{with tests} |
c612a81f | 20 | BuildRequires: perl-Inline-C |
21 | %endif | |
0a9125db | 22 | BuildRequires: rpm-perlprov >= 4.1-13 |
c612a81f | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
b02ab3b7 JB |
26 | Linux::Pid gets the native PID and the PPID on Linux. It's useful with |
27 | multithreaded programs. Linux's C library returns different values of | |
28 | the PID and the PPID from different threads. This module forces Perl | |
29 | to call the underlying C functions getpid() and getppid(). | |
30 | ||
31 | %description -l pl | |
32 | Linux::Pid odczytuje natywne PID i PPID pod Linuksem. Jest przydatny w | |
33 |