SPECS: perl-POE-Component-Server-HTTPServer.spec (NEW) - builds he...

agaran agaran at pld-linux.org
Mon Mar 26 14:22:45 CEST 2007


Author: agaran                       Date: Mon Mar 26 12:22:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds here, rel 0.1 (on Ac)

---- Files affected:
SPECS:
   perl-POE-Component-Server-HTTPServer.spec (1.1 -> 1.2)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-POE-Component-Server-HTTPServer.spec
diff -u /dev/null SPECS/perl-POE-Component-Server-HTTPServer.spec:1.2
--- /dev/null	Mon Mar 26 14:22:45 2007
+++ SPECS/perl-POE-Component-Server-HTTPServer.spec	Mon Mar 26 14:22:40 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	POE
+%define	pnam	Component-Server-HTTPServer
+Summary:	POE::Component::Server::HTTPServer - serve HTTP requests
+#Summary(pl):	
+Name:		perl-POE-Component-Server-HTTPServer
+Version:	0.9.2
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	766c06301099868fca4bbc8bd5cb358d
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(HTTP::Message) >= 1.3
+BuildRequires:	perl(HTTP::Status)
+BuildRequires:	perl(MIME::Types) >= 1.06
+BuildRequires:	perl(POE)
+BuildRequires:	perl(URI::Escape)
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_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 TODO
+%{perl_vendorlib}/POE/Component/Server/*.pm
+%{perl_vendorlib}/POE/Component/Server/HTTPServer
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.2  2007/03/26 12:22:40  agaran
+- builds here, rel 0.1 (on Ac)
+
================================================================


More information about the pld-cvs-commit mailing list