SPECS: perl-CGI-Application-Dispatch.spec (NEW) - initial release

trojan trojan at pld-linux.org
Wed Oct 11 10:04:05 CEST 2006


Author: trojan                       Date: Wed Oct 11 08:04:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   perl-CGI-Application-Dispatch.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-CGI-Application-Dispatch.spec
diff -u /dev/null SPECS/perl-CGI-Application-Dispatch.spec:1.1
--- /dev/null	Wed Oct 11 10:04:05 2006
+++ SPECS/perl-CGI-Application-Dispatch.spec	Wed Oct 11 10:03:59 2006
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+%bcond_with	tests	# do perform "make test"
+
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	CGI
+%define		pnam	Application-Dispatch
+Summary:	CGI::Application::Dispatch - dispatch requests to CGI::Application based objects
+Name:		perl-CGI-Application-Dispatch
+Version:	2.03
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	3776f7577f6aac0782afe8b87aef484c
+URL:		http://search.cpan.org/dist/CGI-Application-Dispatch/
+BuildRequires:	perl-CGI-Application
+BuildRequires:	perl-Exception-Class
+BuildRequires:	perl-Exception-Class-TryCatch
+BuildRequires:	perl-Module-Build >= 0.20
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-build >= 4.3-0.20030515.6
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CGI::Application::Dispatch - dispatch requests to CGI::Application
+based objects
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL Makefile.PL \
+	installdirs=vendor \
+	destdir=$RPM_BUILD_ROOT
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/CGI/Application/*.pm
+%{perl_vendorlib}/CGI/Application/Dispatch
+%{_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  2006/10/11 08:03:59  trojan
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list