Author: arekm                        Date: Fri Aug  8 23:19:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   perl-Test-WWW-Mechanize.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Test-WWW-Mechanize.spec
diff -u /dev/null SPECS/perl-Test-WWW-Mechanize.spec:1.1
--- /dev/null   Sat Aug  9 01:19:23 2008
+++ SPECS/perl-Test-WWW-Mechanize.spec  Sat Aug  9 01:19:17 2008
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+#Conditional build:
+%bcond_without tests   # perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Test
+%define                pnam    WWW-Mechanize
+Summary:       Test::WWW-Mechanize - Testing-specific WWW::Mechanize subclass
+Name:          perl-Test-WWW-Mechanize
+Version:       1.20
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: d385060891a9cfec5898c7ea95108aad
+URL:           http://search.cpan.org/dist/Test-WWW-Mechanize/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Carp-Assert-More
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Test::WWW::Mechanize is a subclass of WWW::Mechanize that incorporates 
features for web application testing.
+
+%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
+%{perl_vendorlib}/Test/WWW/Mechanize.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  2008/08/08 23:19:17  arekm
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to