SPECS: perl-HTTP-Recorder.spec (NEW) - New spec.
japhy
japhy at pld-linux.org
Sat Feb 4 15:04:26 CET 2006
Author: japhy Date: Sat Feb 4 14:04:26 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- New spec.
---- Files affected:
SPECS:
perl-HTTP-Recorder.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-HTTP-Recorder.spec
diff -u /dev/null SPECS/perl-HTTP-Recorder.spec:1.1
--- /dev/null Sat Feb 4 15:04:26 2006
+++ SPECS/perl-HTTP-Recorder.spec Sat Feb 4 15:04:21 2006
@@ -0,0 +1,76 @@
+# $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 Recorder
+Summary: Proxy HTTP request and save it to Web::Mechanize scripts
+Summary(pl): Pośredniczy w dialogu HTTP i zapisuje go jako skrypt Web::Mechanize
+Name: perl-%{pdir}-%{pnam}
+Version: 0.05
+Release: 0.1
+License: GPL
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: a2c167d06509620921e4d417ce9354a7
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+# BuildRequires: -
+%if %{with autodeps} || %{with tests}
+BuildRequires: perl-HTML-Parser
+BuildRequires: perl-libwww
+BuildRequires: perl-URI
+%endif
+Requires: perl-HTTP-Proxy
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _noautoreq 'perl(anything_fake_or_conditional)'
+
+%description
+This is a browser-independent recorder for recording interactions with
+web sites.
+
+%description -l pl
+Niezależne od przeglądarki narzędzie do zapisywania dialogu ze
+stronami WWW.
+
+%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:04:21 japhy
+- New spec.
+
================================================================
More information about the pld-cvs-commit
mailing list