File perl-Proc-Fork.spec of Package perl-Proc-Fork

#
# spec file for package perl-Proc-Fork (Version 0.61)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Proc-Fork
Version:        0.61
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Other uncritical OpenSource License
Url:            http://search.cpan.org/~aristotle/Proc-Fork-0.61/lib/Proc/Fork.pm
Summary:        A Perl Module Proc::Fork - Simple, intuitive interface to the fork() system call
Source:         Proc-Fork-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module provides an intuitive, Perl-ish way to write forking
programs by letting you use blocks to illustrate which code section
executes in which fork. The code for the parent, child, retry handler
and error handler are grouped together in a "fork block". The clauses
may appear in any order, but they must be consecutive (without any
other statements in between).



Authors:
--------
     Aristotle Pagaltzis, <pagaltzis@gmx.de>

%prep
%setup -n Proc-Fork-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%doc %{_mandir}/man?/*
/var/adm/perl-modules/%{name}
%{perl_vendorlib}/Proc/Fork.pm
%{perl_vendorlib}/Proc/
%{perl_vendorarch}/auto/Proc/Fork
%{perl_vendorarch}/auto/Proc/

%changelog
* Mon Feb 26 2007 pkirsch@suse.de
- initial package
openSUSE Build Service is sponsored by