3 %bcond_without tests # do not perform "make test"
7 Summary: Proc::Simple Perl module - launch and control background processes
8 Summary(pl.UTF-8): Moduł Perla Proc::Simple - uruchamianie i sterowanie procesami w tle
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Proc/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: c53e2201fb2e2afcdee1a0e493a2066f
17 Patch0: %{name}-paths.patch
18 URL: http://search.cpan.org/dist/Proc-Simple/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Proc::Simple is the module to launch and control background processes.
26 It provides objects mimicing real-life processes from a user's point
29 %description -l pl.UTF-8
30 Proc::Simple to moduł umożliwiający uruchamianie i kontrolowanie
31 procesów w tle. Dostarcza obiekty naśladujące prawdziwe procesy z
32 punktu widzenia użytkownika.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 DESTDIR=$RPM_BUILD_ROOT
51 cp -f eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Proc/Simple.pm
60 %dir %{perl_vendorlib}/auto/Proc
61 %dir %{perl_vendorlib}/auto/Proc/Simple
62 %{perl_vendorlib}/auto/Proc/Simple/autosplit.ix
64 %dir %{_examplesdir}/%{name}-%{version}
65 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*