]> git.pld-linux.org Git - packages/perl-POE-Component-Server-HTTP.git/blob - perl-POE-Component-Server-HTTP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-POE-Component-Server-HTTP.git] / perl-POE-Component-Server-HTTP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    POE
6 %define         pnam    Component-Server-HTTP
7 Summary:        POE::Component::Server::HTTP - foundation of a POE HTTP Daemon
8 Summary(pl.UTF-8):      POE::Component::Server::HTTP - podstawa demona HTTP dla POE
9 Name:           perl-POE-Component-Server-HTTP
10 Version:        0.09
11 Release:        1
12 # same as [perl-]POE (same as perl)
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  d20963ebc65bebea4c863813861b9985
17 URL:            http://search.cpan.org/dist/POE-Component-Server-HTTP/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-POE >= 1:0.3007
22 BuildRequires:  perl-POE-API-Peek
23 BuildRequires:  perl-libwww
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 POE::Component::Server::HTTP (PoCo::HTTPD) is a framework for building
30 custom HTTP servers based on POE. It is loosely modeled on the ideas
31 of apache and the mod_perl/Apache module.
32
33 %description -l pl.UTF-8
34 POE::Component::Server::HTTP (PoCo::HTTPD) to szkielet do tworzenia
35 własnych serwerów HTTP opartych na POE. Jest swobodnie ukształtowany
36 na ideach Apache'a i modułu mod_perl.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/%{pdir}/*/*/*
61 %{_mandir}/man3/*
This page took 0.069627 seconds and 4 git commands to generate.