[perl-HTTP-ProxyAutoConfig] Initial import (#784047)
Petr Šabata
psabata at fedoraproject.org
Thu Jan 26 13:12:34 UTC 2012
commit 6ee91b23c5810168201a132d3d3686df4cb2a886
Author: Petr Šabata <contyk at redhat.com>
Date: Thu Jan 26 14:09:12 2012 +0100
Initial import (#784047)
.gitignore | 1 +
LICENSE.correspondence | 24 ++++++++++++++++++
perl-HTTP-ProxyAutoConfig.spec | 53 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..71ba0de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTTP-ProxyAutoConfig-0.3.tar.gz
diff --git a/LICENSE.correspondence b/LICENSE.correspondence
new file mode 100644
index 0000000..131002b
--- /dev/null
+++ b/LICENSE.correspondence
@@ -0,0 +1,24 @@
+Hello Petr,
+
+My intent was (a). Looks like I put the wrong link in the README.
+
+Sorry,
+Craig MacKenna
+
+On Jan 25, 2012, at 1:55 AM, Petr Šabata wrote:
+
+> Hello Craig,
+>
+> I'm packaging HTTP-ProxyAutoConfig Perl module for Fedora Linux
+> and I'm unsure what license I should use. CPAN says it's "The
+> Perl 5 License (Artistic 1 & GPL 1)". The package README file
+> confirms it but links to GPL 2 instead.
+>
+> Could you please clarify which one is correct?
+>
+> (a) "GPL+ or Artistic" aka Perl 5 license
+> (b) "GPL2+ or Artistic"
+>
+> Thank you in advance,
+> -Petr
+
diff --git a/perl-HTTP-ProxyAutoConfig.spec b/perl-HTTP-ProxyAutoConfig.spec
new file mode 100644
index 0000000..f165225
--- /dev/null
+++ b/perl-HTTP-ProxyAutoConfig.spec
@@ -0,0 +1,53 @@
+Name: perl-HTTP-ProxyAutoConfig
+Version: 0.3
+Release: 1%{?dist}
+Summary: Use a .pac or wpad.dat file to get proxy information
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/HTTP-ProxyAutoConfig/
+Source0: http://www.cpan.org/authors/id/M/MA/MACKENNA/HTTP-ProxyAutoConfig-%{version}.tar.gz
+Source1: LICENSE.correspondence
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.56
+%{?_with_network_tests:
+BuildRequires: perl(Carp)
+BuildRequires: perl(IO::Socket)
+BuildRequires: perl(LWP::UserAgent) >= 5.834
+BuildRequires: perl(Test::More)
+}
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+HTTP::ProxyAutoConfig allows perl scripts that need to access the Internet
+to determine whether to do so via a proxy server. To do this, it uses proxy
+settings provided by an IT department, either on the Web or in a browser's
+.pac file on disk.
+
+%prep
+%setup -q -n HTTP-ProxyAutoConfig-%{version}
+cp %{SOURCE1} .
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
+
+%check
+# tests require network access, disabled by default
+%{?_with_network_tests: make test}
+
+%files
+%doc Changes examples README LICENSE.correspondence
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jan 23 2012 Petr Šabata <contyk at redhat.com> 0.3-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..81dcf26 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bea3a3360b157d01f907e77c85b8e528 HTTP-ProxyAutoConfig-0.3.tar.gz
More information about the scm-commits
mailing list