packages: perl-Net-HTTP/perl-Net-HTTP.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Sun Mar 13 07:59:49 CET 2011
Author: qboosh Date: Sun Mar 13 06:59:49 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Net-HTTP:
perl-Net-HTTP.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Net-HTTP/perl-Net-HTTP.spec
diff -u /dev/null packages/perl-Net-HTTP/perl-Net-HTTP.spec:1.1
--- /dev/null Sun Mar 13 07:59:49 2011
+++ packages/perl-Net-HTTP/perl-Net-HTTP.spec Sun Mar 13 07:59:44 2011
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with tests # perform "make test" (uses network)
+#
+%define pdir Net
+%define pnam HTTP
+%include /usr/lib/rpm/macros.perl
+Summary: Net::HTTP - Low-level HTTP connection (client)
+Summary(pl.UTF-8): Net::HTTP - nieskopoziomowe połączenie HTTP (klient)
+Name: perl-Net-HTTP
+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/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 936891e74e8e4b26ade1a2db8b57d2c3
+URL: http://search.cpan.org/dist/Net-HTTP/
+BuildRequires: perl-devel >= 1:5.8.8
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-IO-Compress
+%endif
+Suggests: perl-IO-Socket-SSL >= 1.38
+Conflicts: perl-libwww < 6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Net::HTTP class is a low-level HTTP client. An instance of the
+Net::HTTP class represents a connection to an HTTP server. The HTTP
+protocol is described in RFC 2616. The Net::HTTP class supports
+HTTP/1.0 and HTTP/1.1.
+
+%description -l pl.UTF-8
+Klasa Net::HTTP jest niskopoziomowym klientem HTTP. Instancja tej
+klasy reprezentuje połączenie z serwerem HTTP. Protokół HTTP jest
+opisany w RFC 2616. Klasa Net::HTTP obsługuje HTTP/1.0 i HTTP/1.1.
+
+%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}/Net/HTTP.pm
+%{perl_vendorlib}/Net/HTTPS.pm
+%{perl_vendorlib}/Net/HTTP
+%{_mandir}/man3/Net::HTTP*.3pm*
+
+%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.1 2011/03/13 06:59:44 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list