SPECS: perl-FCGI-Engine.spec (NEW) - new
glen
glen at pld-linux.org
Mon Oct 20 18:33:20 CEST 2008
Author: glen Date: Mon Oct 20 16:33:20 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-FCGI-Engine.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-FCGI-Engine.spec
diff -u /dev/null SPECS/perl-FCGI-Engine.spec:1.1
--- /dev/null Mon Oct 20 18:33:20 2008
+++ SPECS/perl-FCGI-Engine.spec Mon Oct 20 18:33:15 2008
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir FCGI
+%define pnam Engine
+Summary: FCGI::Engine - A flexible engine for running FCGI-based applications
+Name: perl-FCGI-Engine
+Version: 0.05
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/FCGI/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ec002415ba2e48c3c6d01a8bf6463df0
+URL: http://search.cpan.org/dist/FCGI-Engine/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-CGI-Simple
+BuildRequires: perl-Config::Any
+BuildRequires: perl-Declare::Constraints-Simple
+BuildRequires: perl-FCGI
+BuildRequires: perl-Moose >= 0.32
+BuildRequires: perl-MooseX-AttributeHelpers >= 0.06
+BuildRequires: perl-MooseX-Daemonize >= 0.06
+BuildRequires: perl-MooseX-Getopt >= 0.14
+BuildRequires: perl-MooseX-Params::Validate >= 0.04
+BuildRequires: perl-MooseX-Types-Path-Class
+BuildRequires: perl-Test-Exception
+BuildRequires: perl-Test-WWW-Mechanize
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module helps manage FCGI based web applications by providing a
+wrapper which handles most of the low-level FCGI details for you. It
+can run FCGI programs as simple scripts or as full standalone socket
+based servers who are managed by FCGI::Engine::ProcManager.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/FCGI/*.pm
+%{perl_vendorlib}/FCGI/Engine
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/10/20 16:33:15 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list