]> git.pld-linux.org Git - packages/perl-POE-Component-Server-HTTP.git/blame - 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
CommitLineData
28756381 1#
2# Conditional build:
24c080e2 3%bcond_without tests # do not perform "make test"
a282c7fb 4
16214377 5%define pdir POE
6%define pnam Component-Server-HTTP
86e3e1fd 7Summary: POE::Component::Server::HTTP - foundation of a POE HTTP Daemon
6bde3ebf 8Summary(pl.UTF-8): POE::Component::Server::HTTP - podstawa demona HTTP dla POE
28756381 9Name: perl-POE-Component-Server-HTTP
3a1b936f 10Version: 0.09
cd23a65d 11Release: 1
e0f8af93 12# same as [perl-]POE (same as perl)
13License: GPL v1+ or Artistic
28756381 14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3a1b936f 16# Source0-md5: d20963ebc65bebea4c863813861b9985
a282c7fb 17URL: http://search.cpan.org/dist/POE-Component-Server-HTTP/
f15e29e2 18BuildRequires: perl-devel >= 1:5.8.0
28756381 19BuildRequires: rpm-perlprov >= 4.1-13
24c080e2 20%if %{with tests}
04f12806 21BuildRequires: perl-POE >= 1:0.3007
703f8218 22BuildRequires: perl-POE-API-Peek
28756381 23BuildRequires: perl-libwww
24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29POE::Component::Server::HTTP (PoCo::HTTPD) is a framework for building
e947bb17
JB
30custom HTTP servers based on POE. It is loosely modeled on the ideas
31of apache and the mod_perl/Apache module.
28756381 32
5410a1a1 33%description -l pl.UTF-8
e947bb17 34POE::Component::Server::HTTP (PoCo::HTTPD) to szkielet do tworzenia
5410a1a1
JR
35własnych serwerów HTTP opartych na POE. Jest swobodnie ukształtowany
36na ideach Apache'a i modułu mod_perl.
28756381 37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44%{__make}
45
24c080e2 46%{?with_tests:%{__make} test}
28756381 47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -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.104755 seconds and 4 git commands to generate.