commit 3f7a8c345a21354d34d30c7f4c9fdc97d91a55a6e3309abc9f15b30712a26fb0 Author: Pascal Bleser Date: Tue Apr 24 21:54:45 2012 +0000 0.06 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Recorder?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/HTTP-Recorder-0.06.tar.gz b/HTTP-Recorder-0.06.tar.gz new file mode 100644 index 0000000..036cda8 --- /dev/null +++ b/HTTP-Recorder-0.06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5fe788d7a9d1e24398e89d7f5cbcd9c467ad7a34b33dd585a48ea2ab79c623b +size 10872 diff --git a/perl-HTTP-Recorder.changes b/perl-HTTP-Recorder.changes new file mode 100644 index 0000000..974bc41 --- /dev/null +++ b/perl-HTTP-Recorder.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Apr 24 21:52:26 CET 2012 - pascal.bleser@opensuse.org + +- initial version (0.06) + diff --git a/perl-HTTP-Recorder.spec b/perl-HTTP-Recorder.spec new file mode 100644 index 0000000..7538872 --- /dev/null +++ b/perl-HTTP-Recorder.spec @@ -0,0 +1,103 @@ +# vim: set sw=4 ts=4 et nu: +# +# spec file for package perl-HTTP-Recorder +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + +Name: perl-HTTP-Recorder +Version: 0.06 +Release: 0 +Summary: Record interaction with websites +License: GPL-2.0+ or Artistic-1.0 +Group: Development/Libraries/Perl +Source: http://search.cpan.org/CPAN/authors/id/S/SE/SEMUELF/HTTP-Recorder-%{version}.tar.gz +Url: http://search.cpan.org/dist/HTTP-Recorder +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} +BuildRequires: make +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(HTML::Parser) +BuildRequires: perl(HTML::TokeParser) +BuildRequires: perl(HTTP::Proxy) +BuildRequires: perl(HTTP::Request::Params) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(Pod::Usage) +BuildRequires: perl(URI::Escape) +BuildRequires: perl(URI::QueryParam) +Requires: perl(Getopt::Long) +Requires: perl(HTML::Parser) +Requires: perl(HTML::TokeParser) +Requires: perl(HTTP::Proxy) +Requires: perl(HTTP::Request::Params) +Requires: perl(LWP::UserAgent) +Requires: perl(Pod::Usage) +Requires: perl(URI::Escape) +Requires: perl(URI::QueryParam) +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif + +%description +Perl module to record interaction with websites, including a proxy. + +%package -n httprecorder +Summary: Proxy to record HTTP Interaction with Websites +Group: Productivity/Networking/Web/Proxy +Requires: %{name} = %{version} + +%description -n httprecorder +Quick script for using HTTP::Recorder module. + +%prep +%setup -q -n "HTTP-Recorder-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL +find . -type f -exec %__chmod 0644 {} \; +find . -type f -name '*.pm' -exec %__sed -i 's/\r$//' {} \; +%__sed -i 's/\r$//' CHANGES bin/httprecorder + +%build +%__perl Makefile.PL PREFIX="%{_prefix}" +%__make %{?_smp_flags} + +%install +%perl_make_install +%perl_process_packlist + +%check +%__make test + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc CHANGES README +%dir %{perl_vendorlib}/HTTP +%{perl_vendorlib}/HTTP/Recorder.pm +%{perl_vendorlib}/HTTP/Recorder +%doc %{perl_man3dir}/HTTP::Recorder.%{perl_man3ext}%{ext_man} + +%files -n httprecorder +%defattr(-,root,root) +%{_bindir}/httprecorder +%doc %{_mandir}/man1/httprecorder.1* + +%changelog