Author: glen                         Date: Sun Jan  8 01:03:19 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, created with pldcpan

---- Files affected:
packages/perl-WWW-Mechanize-CGI:
   perl-WWW-Mechanize-CGI.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-WWW-Mechanize-CGI/perl-WWW-Mechanize-CGI.spec
diff -u /dev/null 
packages/perl-WWW-Mechanize-CGI/perl-WWW-Mechanize-CGI.spec:1.1
--- /dev/null   Sun Jan  8 02:03:19 2012
+++ packages/perl-WWW-Mechanize-CGI/perl-WWW-Mechanize-CGI.spec Sun Jan  8 
02:03:14 2012
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+
+%define                pdir    WWW
+%define                pnam    Mechanize-CGI
+%include       /usr/lib/rpm/macros.perl
+Summary:       WWW::Mechanize::CGI - Use WWW::Mechanize with CGI applications
+Name:          perl-WWW-Mechanize-CGI
+Version:       0.3
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 67576d3b49654bce6657f0b3e5eb78d3
+URL:           http://search.cpan.org/dist/WWW-Mechanize-CGI/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-HTTP-Request-AsCGI >= 0.2
+BuildRequires: perl-WWW-Mechanize
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides a convenient way of using CGI applications with
+WWW::Mechanize.
+
+%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}/WWW/Mechanize/CGI.pm
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/01/08 01:03:14  glen
+- new, created with pldcpan
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to