]> git.pld-linux.org Git - packages/perl-Proc-Background.git/blame - perl-Proc-Background.spec
use generic url
[packages/perl-Proc-Background.git] / perl-Proc-Background.spec
CommitLineData
85d7fc92 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
ba275727 4
0ade4fbc 5%define pdir Proc
6%define pnam Background
ba275727 7%include /usr/lib/rpm/macros.perl
b1652d78 8Summary: Proc::Background Perl module - generic interface to background process management
176e1a06 9Summary(pl.UTF-8): Moduł Perla Proc::Background - ogólny interfejs do zarządzania procesami w tle
832e619c 10Name: perl-Proc-Background
57b8c794 11Version: 1.10
12Release: 1
85d7fc92 13# same as perl
14License: GPL v1+ or Artistic
832e619c 15Group: Development/Languages/Perl
f2775664 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
57b8c794 17# Source0-md5: 4f9d850e31c4131d1a28ffe0d26ef4e2
ba275727 18URL: http://search.cpan.org/dist/Proc-Background/
2464526b 19BuildRequires: perl-devel >= 1:5.8.0
0d11f225 20BuildRequires: rpm-perlprov >= 4.1-13
72171728 21Provides: perl(Proc::Generic)
7cf90beb 22BuildArch: noarch
5d151109 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
832e619c 24
25%description
2255cb4c 26Proc::Background Perl module is a generic interface for placing
27processes in the background on Unix platforms. This module lets you
28start, kill, wait on, retrieve exit values, and see if background
29processes still exist.
832e619c 30
08e890da
JR
31%description -l pl.UTF-8
32Moduł Perla Proc::Background stanowi podstawowy interfejs dla
33umieszczania procesów w tle na platformach uniksowych. Moduł ten
34umożliwia uruchamianie, zabijanie procesów, oczekiwanie na ich
35zakończenie i odbieranie kodu powrotu procesu. Za jego pomocą można
36też zobaczyć, jakie procesy nadal działają w tle.
832e619c 37
38%prep
9ede8250 39%setup -q -n %{pdir}-%{pnam}-%{version}
832e619c 40
41%build
0d11f225 42%{__perl} Makefile.PL \
9413c497 43 INSTALLDIRS=vendor
9f487c9a 44%{__make}
832e619c 45
85d7fc92 46%{?with_tests:%{__make} test}
47
832e619c 48%install
49rm -rf $RPM_BUILD_ROOT
832e619c 50
3279ae81 51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
832e619c 53
832e619c 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
2255cb4c 59%doc Changes README
832e619c 60%attr(755,root,root) %{_bindir}/timed-process
0d11f225 61%{perl_vendorlib}/Proc/Background.pm
62%dir %{perl_vendorlib}/Proc/Background
63%{perl_vendorlib}/Proc/Background/Unix.pm
64#%%{perl_vendorlib}/Proc/Background/Win32.pm
2255cb4c 65%{_mandir}/man1/*
66%{_mandir}/man3/Proc::Background.*
67%{_mandir}/man3/Proc::Background::Unix*
184a1bea 68#%%{_mandir}/man3/Proc::Background::Win32*
This page took 0.105246 seconds and 4 git commands to generate.