]> git.pld-linux.org Git - packages/perl-POE-Component-Server-HTTP.git/commitdiff
- new
authorradek <radek@pld-linux.org>
Tue, 19 Aug 2003 16:19:23 +0000 (16:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-POE-Component-Server-HTTP.spec -> 1.1

perl-POE-Component-Server-HTTP.spec [new file with mode: 0644]

diff --git a/perl-POE-Component-Server-HTTP.spec b/perl-POE-Component-Server-HTTP.spec
new file mode 100644 (file)
index 0000000..461a806
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    POE
+%define        pnam    Component-Server-HTTP
+Summary:       POE::Component::Server::HTTP - Foundation of a POE HTTP Daemon
+#Summary(pl):  
+Name:          perl-POE-Component-Server-HTTP
+Version:       0.03
+Release:       1
+License:       Released under the same terms as POE
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{!?_without_tests:1}0
+BuildRequires: perl-POE
+BuildRequires: perl-libwww
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+POE::Component::Server::HTTP (PoCo::HTTPD) is a framework for building
+custom HTTP servers based on POE. It is loosely modeled on the ideas of
+apache and the mod_perl/Apache module.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/%{pdir}/*/*/*
+%{_mandir}/man3/*
This page took 0.050522 seconds and 4 git commands to generate.