]> git.pld-linux.org Git - packages/perl-Proc-Forkfunc.git/blame - perl-Proc-Forkfunc.spec
use generic url
[packages/perl-Proc-Forkfunc.git] / perl-Proc-Forkfunc.spec
CommitLineData
180aca64 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
a7328a61 4
9cbb9acf 5%define pdir Proc
6%define pnam Forkfunc
a7328a61 7%include /usr/lib/rpm/macros.perl
67f40b7a 8Summary: Proc::Forkfunk Perl module - fork off a function
a1c79f47 9Summary(pl.UTF-8): Moduł Perla Proc::Forkfunk - uruchamianie funkcji w procesie potomnym
812031b0 10Name: perl-Proc-Forkfunc
11Version: 96.042201
6e061d64 12Release: 13
180aca64 13License: unknown
812031b0 14Group: Development/Languages/Perl
11decfbf 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
625213e2 16# Source0-md5: 0b34666fa7fd32602f75d22a4da9adf6
a7328a61 17URL: http://search.cpan.org/dist/Proc-Forkfunc/
07287287 18BuildRequires: perl-devel >= 1:5.8.0
94f83833 19BuildRequires: rpm-perlprov >= 4.1-13
764eeecb 20BuildArch: noarch
a3e3ea73 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
812031b0 22
23%description
a7328a61
ER
24Fork off a process. Call a function on the child process the function
25should be passed in as a reference. The child function should not
358d11ba
JB
26return.
27
9bc6e2d0
JR
28%description -l pl.UTF-8
29Ten moduł tworzy proces potomny i wywołuje w tym procesie funkcję
30przekazaną przez referencję. Funkcja potomna nie powinna wracać.
812031b0 31
32%prep
a75fb3b9 33%setup -q -n %{pdir}-%{pnam}-%{version}
812031b0 34
35%build
94f83833 36%{__perl} Makefile.PL \
cfc74410 37 INSTALLDIRS=vendor
40c4653e 38%{__make}
812031b0 39
180aca64 40%{?with_tests:%{__make} test}
41
812031b0 42%install
43rm -rf $RPM_BUILD_ROOT
812031b0 44
180aca64 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
812031b0 47
812031b0 48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
358d11ba 53%doc README
94f83833 54%{perl_vendorlib}/Proc/Forkfunc.pm
812031b0 55%{_mandir}/man3/*
This page took 0.2568 seconds and 4 git commands to generate.