File perl-Proc-Daemon-Mandriva_2006.spec of Package perl-Proc-Daemon

# $Id: perl-Proc-Daemon.spec 5675 2007-08-02 18:51:24Z dries $
# Authority: dries
# Upstream: Earl Hood <ehood$cpan,org>

%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

%define real_name Proc-Daemon

Summary: Run a perl program as a daemon process
Name: perl-Proc-Daemon
Version: 0.03
%define releasesuffix mandriva2006
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN

Packager: Dries Verachtert <>
Vendor: Dries RPM Repository
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl, perl(ExtUtils::MakeMaker)

Proc::Daemon provides the capability for a Perl program to run
as a Unix daemon process.

%setup -n %{real_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}" 
%{__make} %{?_smp_mflags}

%{__rm} -rf %{buildroot}
%{__make} install

### Clean up buildroot
%{__rm} -rf %{buildroot}%{perl_archlib} \

%{__rm} -rf %{buildroot}

%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/*
%dir %{perl_vendorlib}/Proc/

* Wed Mar 22 2006 Dries Verachtert <> - 0.03-1.2
- Rebuild for Fedora Core 5.

* Mon Dec 06 2004 Dries Verachtert <> - 0.03-1
- Initial package.