SPECS: perl-HTTP-Response-Encoding.spec (NEW) - new
arekm
arekm at pld-linux.org
Mon Dec 1 18:41:59 CET 2008
Author: arekm Date: Mon Dec 1 17:41:59 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-HTTP-Response-Encoding.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-HTTP-Response-Encoding.spec
diff -u /dev/null SPECS/perl-HTTP-Response-Encoding.spec:1.1
--- /dev/null Mon Dec 1 18:41:59 2008
+++ SPECS/perl-HTTP-Response-Encoding.spec Mon Dec 1 18:41:54 2008
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir HTTP
+%define pnam Response-Encoding
+Summary: HTTP::Response::Encoding - Adds encoding() to HTTP::Response
+Name: perl-HTTP-Response-Encoding
+Version: 0.05
+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: bb5880687bfb8b1e220c5c3c2b7d1408
+URL: http://search.cpan.org/dist/HTTP-Response-Encoding/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module adds the following methods to HTTP::Response objects.
+
+%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
+%dir %{perl_vendorlib}/HTTP/Response
+%{perl_vendorlib}/HTTP/Response/Encoding.pm
+%{_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.1 2008/12/01 17:41:54 arekm
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list