3 %bcond_without tests # do not perform "make test"
7 Summary: REST::Client - A simple client for interacting with RESTful http/https resources
8 Summary(pl.UTF-8): REST::Client - prosty klient do interakcji z zasobami RESTful http/https
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/M/MC/MCRAWFOR/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 143ca1bff9b53bd9b888455328e41eb2
17 URL: http://search.cpan.org/dist/REST-Client/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 REST::Client provides a simple way to interact with HTTP RESTful
27 %description -l pl.UTF-8
28 REST::Client dostarcza prosty sposów na interakcję z zasobami HTTP
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
44 %{__make} pure_install \
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %dir %{perl_vendorlib}/REST
54 %{perl_vendorlib}/REST/*.pm