SPECS: perl-NCGI.spec (NEW) - new (for parselog)
glen
glen at pld-linux.org
Sun Feb 19 18:37:38 CET 2006
Author: glen Date: Sun Feb 19 17:37:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new (for parselog)
---- Files affected:
SPECS:
perl-NCGI.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-NCGI.spec
diff -u /dev/null SPECS/perl-NCGI.spec:1.1
--- /dev/null Sun Feb 19 18:37:38 2006
+++ SPECS/perl-NCGI.spec Sun Feb 19 18:37:32 2006
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir NCGI
+Summary: NCGI - A Common Gateway Interface (CGI) Class
+Name: perl-NCGI
+Version: 0.05
+Release: 0.1
+License: GPL v2
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
+# Source0-md5: b2eba415d26650d10efb33b40d20c82c
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Log::Delta) >= 0.02
+BuildRequires: perl(XML::API) >= 0.07
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NCGI is an aide for authors writing CGI scripts. It has the same basic
+function as the well known CGI module although with a completely
+different interface.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/*.pm
+%{perl_vendorlib}/NCGI
+%{_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/02/19 17:37:32 glen
+- new (for parselog)
+
================================================================
More information about the pld-cvs-commit
mailing list