Pascal Bleser
2012-04-24 21:54:45 +00:00
committed by Git OBS Bridge
commit 3f7a8c345a
5 changed files with 135 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5fe788d7a9d1e24398e89d7f5cbcd9c467ad7a34b33dd585a48ea2ab79c623b
size 10872

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Apr 24 21:52:26 CET 2012 - pascal.bleser@opensuse.org
- initial version (0.06)

103
perl-HTTP-Recorder.spec Normal file
View File

@@ -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 <pascal.bleser@opensuse.org>
#
# 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