3 %bcond_without tests # do not perform "make test"
7 Summary: LWP::Online - Does your process have access to the web
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/LWP/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 20e25b3af8b84a493c730249c2a9c50d
16 URL: http://search.cpan.org/dist/LWP-Online/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-URI >= 1.35
21 BuildRequires: perl-libwww >= 5.805
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module attempts to answer, as accurately as it can, one of the
28 nastiest technical questions there is.
32 The answer is useful in a wide range of decisions. For example...
34 Should my test scripts run the online portion of the tests or just
37 Do I try to fetch fresh data from the server?
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
52 %{__make} pure_install \
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{perl_vendorlib}/LWP/Online.pm
62 %{_mandir}/man3/LWP::Online.3pm*