rpms/perl-Proc-Daemon/devel perl-Proc-Daemon.spec,NONE,1.1
Remi Collet (remi)
fedora-extras-commits at redhat.com
Mon Feb 12 19:20:07 UTC 2007
Author: remi
Update of /cvs/extras/rpms/perl-Proc-Daemon/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19540
Added Files:
perl-Proc-Daemon.spec
Log Message:
missing spec file
--- NEW FILE perl-Proc-Daemon.spec ---
%define perlname Proc-Daemon
Name: perl-Proc-Daemon
Version: 0.03
Release: 1%{?dist}
Summary: Run Perl program as a daemon process
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Proc-Daemon/
Source: http://search.cpan.org/CPAN/authors/id/E/EH/EHOOD/%{perlname}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This is version %{version} of Proc::Daemon
This module contains the routine Init which can be called by a Perl
program to initialize itself as a daemon. A daemon is a process that
runs in the background with no controlling terminal. Generally servers
(like FTP and HTTP servers) run as daemon processes.
%prep
%setup -q -n %{perlname}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -print
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -print
chmod -R u+rwX,go+rX,go-w %{buildroot}/*
%clean
rm -rf %{buildroot}
%check
make test
%files
%defattr(-, root, root, -)
%doc Changes README
%{_mandir}/man3/Proc*
%{perl_vendorlib}/Proc
%changelog
* Sun Feb 11 2006 Remi Collet <Fedora at famillecollet.com> 0.03-1
- initial spec for Extras
More information about the scm-commits
mailing list