commit 4e9c90b7b1341b0b30b18b46047b67e5f86e2132 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Mon Mar 17 17:51:04 2014 +0100 Initial import. .gitignore | 1 + perl-Hijk.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 76 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..e3f024b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Hijk-0.12.tar.gz diff --git a/perl-Hijk.spec b/perl-Hijk.spec new file mode 100644 index 0000000..68d6be8 --- /dev/null +++ b/perl-Hijk.spec @@ -0,0 +1,74 @@ +Name: perl-Hijk +Version: 0.12 +Release: 3%{?dist} +Summary: Specialized HTTP client +License: MIT + +URL: http://search.cpan.org/dist/Hijk/ +Source0: http://www.cpan.org/authors/id/A/AV/AVAR/Hijk-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(Plack::Runner) +BuildRequires: perl(POSIX) +BuildRequires: perl(Socket) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(URI::Escape) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Hijk is a specialized HTTP Client that does nothing but transport the +response body back. It does not feature as a "user agent", but as a dumb +client. It is suitable for connecting to data servers transporting via HTTP +rather then web servers. + +%prep +%setup -q -n Hijk-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Mar 15 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.12-3 +- Really add perl as a BuildRequires + +* Fri Mar 14 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.12-2 +- Take into account review (#1074268) + +* Sun Mar 09 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.12-1 +- Specfile autogenerated by cpanspec 1.78, with changes. diff --git a/sources b/sources index e69de29..ad27109 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fa4028b0465e083f28a8224ca643560f Hijk-0.12.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel