3 %bcond_without tests # do not perform "make test"
6 %define pnam Test-CookieEmulator
7 Summary: Test::Apache::CookieEmulator - test tool for cookies without httpd
8 Summary(pl.UTF-8): Test::Apache::CookieEmulator - narzędzie testowe do ciasteczek bez httpd
9 Name: perl-Apache-Test-CookieEmulator
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: d78fe181f0874d0bc55cc50607a39f03
16 URL: http://search.cpan.org/dist/Apache-Test-CookieEmulator/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 3.0.3-26
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module assists authors of Apache::* modules write test suites
24 that would use Apache::Cookie without actually having to run and query
25 a server to test the cookie methods.
27 %description -l pl.UTF-8
28 Ten moduł pomaga autorom modułów Apache::* pisać własne zestawy testów
29 używające Apache::Cookie bez potrzeby posiadania uruchomionego serwera
30 i odpytywania go, aby przetestować działanie ciasteczek.
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %dir %{perl_vendorlib}/Apache/Test
55 %{perl_vendorlib}/Apache/Test/*.pm