]> git.pld-linux.org Git - SPECS.git/blob - perl-Apache-Test-CookieEmulator.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Apache-Test-CookieEmulator.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Apache
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
10 Version:        0.05
11 Release:        4
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
26
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.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Change*
54 %dir %{perl_vendorlib}/Apache/Test
55 %{perl_vendorlib}/Apache/Test/*.pm
56 %{_mandir}/man3/*
This page took 0.149951 seconds and 3 git commands to generate.