SPECS: perl-WWW-Form.spec (NEW) - added
twittner
twittner at pld-linux.org
Wed Jul 13 20:23:08 CEST 2005
Author: twittner Date: Wed Jul 13 18:23:08 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
perl-WWW-Form.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-WWW-Form.spec
diff -u /dev/null SPECS/perl-WWW-Form.spec:1.1
--- /dev/null Wed Jul 13 20:23:08 2005
+++ SPECS/perl-WWW-Form.spec Wed Jul 13 20:23:03 2005
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir WWW
+%define pnam Form
+Summary: Object-oriented module for HTML form input validation and display
+Name: perl-WWW-Form
+Version: 1.16
+Release: 0.1
+License: same as perl
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: e3b468c752893f64b282f23759358723
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Object-oriented module for HTML form input validation and display.
+
+%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} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/%{pdir}/*
+%{_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 2005/07/13 18:23:03 twittner
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list