SPECS: perl-HTTP-Request-Params.spec (NEW) - New spec.

japhy japhy at pld-linux.org
Sat Feb 4 13:28:26 CET 2006


Author: japhy                        Date: Sat Feb  4 12:28:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- New spec.

---- Files affected:
SPECS:
   perl-HTTP-Request-Params.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-HTTP-Request-Params.spec
diff -u /dev/null SPECS/perl-HTTP-Request-Params.spec:1.1
--- /dev/null	Sat Feb  4 13:28:26 2006
+++ SPECS/perl-HTTP-Request-Params.spec	Sat Feb  4 13:28:21 2006
@@ -0,0 +1,75 @@
+# $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	Request-Params
+Summary:	Retrieve GET/POST Parameters from HTTP Requests
+Summary(pl):	Odczytuje parametry GET/POST z zapytań HTTP
+Name:		perl-%{pdir}-%{pnam}
+Version:	1.01
+Release:	1
+License:	same as Perl
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	fccd255a2992c77b5c40cb5e1e75b256
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires:	perl-Class-Accessor
+BuildRequires:	perl-Email-MIME
+BuildRequires:	perl-Email-MIME-ContentType
+BuildRequires:	perl-Email-MIME-Modifier >= 1.42
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+This software does all the dirty work of parsing HTTP Requests to find
+incoming query parameters.
+
+%description -l pl
+Biblioteka wykonująca brudną robotę z parsowaniem zapytań HTTP w celu
+znalezienia parametrów.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+# Don't use pipes here: they generally don't work. Apply a patch.
+%{__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}/*
+%{_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  2006/02/04 12:28:21  japhy
+- New spec.
+
================================================================


More information about the pld-cvs-commit mailing list