Author: qboosh                       Date: Sat Mar 12 20:30:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-HTTP-Daemon:
   perl-HTTP-Daemon.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-HTTP-Daemon/perl-HTTP-Daemon.spec
diff -u /dev/null packages/perl-HTTP-Daemon/perl-HTTP-Daemon.spec:1.1
--- /dev/null   Sat Mar 12 21:30:13 2011
+++ packages/perl-HTTP-Daemon/perl-HTTP-Daemon.spec     Sat Mar 12 21:30:08 2011
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%define                pdir    HTTP
+%define                pnam    Daemon
+%include       /usr/lib/rpm/macros.perl
+Summary:       HTTP::Daemon - a simple HTTP server class
+Summary(pl.UTF-8):     HTTP::Daemon - klasa prostego serwera HTTP
+Name:          perl-HTTP-Daemon
+Version:       6.00
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/HTTP/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 36c8048775b8b53a6fb7c9d781658926
+URL:           http://search.cpan.org/dist/HTTP-Daemon/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-HTTP-Date >= 6
+BuildRequires: perl-HTTP-Message >= 6
+#BuildRequires:        perl(LWP::MediaTypes) >= 6
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Instances of the HTTP::Daemon class are HTTP/1.1 servers that
+listen on a socket for incoming requests. The HTTP::Daemon is a
+subclass of IO::Socket::INET, so you can perform socket operations
+directly on it too.
+
+%description -l pl.UTF-8
+Instancje klasy HTTP::Daemon są serwerami HTTP/1.1 nasłuchującymi
+na gnieździe. HTTP::Daemon to podklasa IO::Socket::INET, więc można
+na niej wykonywać bezpośrednio także operacje typowe dla gniazd.
+
+%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} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/HTTP/Daemon.pm
+%{_mandir}/man3/HTTP::Daemon.3pm*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/03/12 20:30:08  qboosh
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to