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