From 2e73bea30c0307dd07a95c4158f8e76b5e3165f4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:07:40 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.07-4mamba;Sat Nov 10 2012] --- README.md | 4 +++ perl-HTTP-GHTTP.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 perl-HTTP-GHTTP.spec diff --git a/README.md b/README.md index 0f60878..6c18e9c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-HTTP-GHTTP +This is a fairly low level interface to the Gnome project's libghttp, which allows you to process HTTP requests to HTTP servers. +There also exists a slightly higher level interface - a simple get() function which takes a URI as a parameter. +This is not exported by default, you have to ask for it explicitly. + diff --git a/perl-HTTP-GHTTP.spec b/perl-HTTP-GHTTP.spec new file mode 100644 index 0000000..13846ee --- /dev/null +++ b/perl-HTTP-GHTTP.spec @@ -0,0 +1,68 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-HTTP-GHTTP +Version: 1.07 +Release: 4mamba +Summary: HTTP::GHTTP - Perl interface to the gnome ghttp library +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/HTTP-GHTTP-%{version}.tar.gz +License: Artistic, GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libghttp-devel +BuildRequires: perl-devel +BuildRequires: libghttp-devel +BuildRequires: libghttp-devel +## AUTOBUILDREQ-END +BuildRequires: libgdbm-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This is a fairly low level interface to the Gnome project's libghttp, which allows you to process HTTP requests to HTTP servers. +There also exists a slightly higher level interface - a simple get() function which takes a URI as a parameter. +This is not exported by default, you have to ask for it explicitly. + +%prep +%setup -q -n HTTP-GHTTP-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sat Nov 10 2012 Silvan Calarco 1.07-4mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 1.07-3mamba +- automatic rebuild by autodist + +* Sat Jul 26 2008 Silvan Calarco 1.07-2mamba +- specfile updated + +* Tue Jun 06 2006 Stefano Cotta Ramusino 1.07-1qilnx +- package created by autospec