SPECS: perl-HTTP-Proxy.spec (NEW) - New spec (rel 0.1) - Some incl...

japhy japhy at pld-linux.org
Sat Feb 4 15:03:49 CET 2006


Author: japhy                        Date: Sat Feb  4 14:03:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- New spec (rel 0.1)
- Some included tests don't pass, have no time to figure out why

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

---- Diffs:

================================================================
Index: SPECS/perl-HTTP-Proxy.spec
diff -u /dev/null SPECS/perl-HTTP-Proxy.spec:1.1
--- /dev/null	Sat Feb  4 15:03:49 2006
+++ SPECS/perl-HTTP-Proxy.spec	Sat Feb  4 15:03:43 2006
@@ -0,0 +1,71 @@
+# $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	Proxy
+Summary:	A pure Perl HTTP proxy.
+Summary(pl):	Proxy HTTP zaimplementowany w czystym Perlu
+Name:		perl-%{pdir}-%{pnam}
+Version:	0.17
+Release:	0.1
+# note if it is "same as perl"
+License:	same as Perl
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	5f8dee810951840408092c07faccfa1a
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+# BuildRequires:	perl-
+# BuildRequires:	perl-
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+
+%description -l pl
+
+%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 14:03:43  japhy
+- New spec (rel 0.1)
+- Some included tests don't pass, have no time to figure out why
+
================================================================


More information about the pld-cvs-commit mailing list